From eb24575e2ce6ae56613fe4b9709ea55b4d8a228e Mon Sep 17 00:00:00 2001 From: Roman Kazantsev Date: Fri, 6 Nov 2020 09:51:40 +0300 Subject: [PATCH] Use explicit opset of Unsqueeze from nGraph The change is needed due to removing default opset namespace for Unsqueeze in the scope of this refactoring activity: https://github.com/openvinotoolkit/openvino/pull/2767 Signed-off-by: Roman Kazantsev --- modules/dnn/src/layers/prior_box_layer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/dnn/src/layers/prior_box_layer.cpp b/modules/dnn/src/layers/prior_box_layer.cpp index dc1364a06b..f7340b1e67 100644 --- a/modules/dnn/src/layers/prior_box_layer.cpp +++ b/modules/dnn/src/layers/prior_box_layer.cpp @@ -607,7 +607,7 @@ public: auto priorBox = std::make_shared(slice_layer, slice_image, attrs); auto axis = std::make_shared(ngraph::element::i64, ngraph::Shape{1}, std::vector{0}); - auto unsqueeze = std::make_shared(priorBox, axis); + auto unsqueeze = std::make_shared(priorBox, axis); return Ptr(new InfEngineNgraphNode(unsqueeze)); } else @@ -628,7 +628,7 @@ public: auto priorBox = std::make_shared(slice_layer, slice_image, attrs); auto axis = std::make_shared(ngraph::element::i64, ngraph::Shape{1}, std::vector{0}); - auto unsqueeze = std::make_shared(priorBox, axis); + auto unsqueeze = std::make_shared(priorBox, axis); return Ptr(new InfEngineNgraphNode(unsqueeze)); } }