[SAMPLES] Use defined constant instead of string (#788)
This commit is contained in:
parent
f80bd537bf
commit
7a5d447e9f
@ -127,7 +127,7 @@ constexpr ngraph::NodeTypeInfo CustomReluOp::type_info;
|
||||
class InPlaceExtension : public InferenceEngine::IExtension {
|
||||
public:
|
||||
InPlaceExtension() {
|
||||
impls["CustomReLU"] = [](const std::shared_ptr<ngraph::Node>& node) -> InferenceEngine::ILayerImpl::Ptr {
|
||||
impls[CUSTOM_RELU_TYPE] = [](const std::shared_ptr<ngraph::Node>& node) -> InferenceEngine::ILayerImpl::Ptr {
|
||||
return std::make_shared<CustomReLUImpl>(node);
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user