From 7a5d447e9fbd9a69ecaba0ede5c0d85f5ca03344 Mon Sep 17 00:00:00 2001 From: Ilya Churaev Date: Fri, 5 Jun 2020 11:22:24 +0300 Subject: [PATCH] [SAMPLES] Use defined constant instead of string (#788) --- inference-engine/samples/hello_reshape_ssd/reshape_ssd_extension.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference-engine/samples/hello_reshape_ssd/reshape_ssd_extension.hpp b/inference-engine/samples/hello_reshape_ssd/reshape_ssd_extension.hpp index ce27793..edabbfc 100644 --- a/inference-engine/samples/hello_reshape_ssd/reshape_ssd_extension.hpp +++ b/inference-engine/samples/hello_reshape_ssd/reshape_ssd_extension.hpp @@ -127,7 +127,7 @@ constexpr ngraph::NodeTypeInfo CustomReluOp::type_info; class InPlaceExtension : public InferenceEngine::IExtension { public: InPlaceExtension() { - impls["CustomReLU"] = [](const std::shared_ptr& node) -> InferenceEngine::ILayerImpl::Ptr { + impls[CUSTOM_RELU_TYPE] = [](const std::shared_ptr& node) -> InferenceEngine::ILayerImpl::Ptr { return std::make_shared(node); }; } -- 2.7.4