Skip to content

Commit eb24575

Browse files
committed
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: openvinotoolkit/openvino#2767 Signed-off-by: Roman Kazantsev <roman.kazantsev@intel.com>
1 parent 7459613 commit eb24575

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

modules/dnn/src/layers/prior_box_layer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class PriorBoxLayerImpl CV_FINAL : public PriorBoxLayer
607607

608608
auto priorBox = std::make_shared<ngraph::op::PriorBoxClustered>(slice_layer, slice_image, attrs);
609609
auto axis = std::make_shared<ngraph::op::Constant>(ngraph::element::i64, ngraph::Shape{1}, std::vector<int64_t>{0});
610-
auto unsqueeze = std::make_shared<ngraph::op::Unsqueeze>(priorBox, axis);
610+
auto unsqueeze = std::make_shared<ngraph::op::v0::Unsqueeze>(priorBox, axis);
611611
return Ptr<BackendNode>(new InfEngineNgraphNode(unsqueeze));
612612
}
613613
else
@@ -628,7 +628,7 @@ class PriorBoxLayerImpl CV_FINAL : public PriorBoxLayer
628628

629629
auto priorBox = std::make_shared<ngraph::op::PriorBox>(slice_layer, slice_image, attrs);
630630
auto axis = std::make_shared<ngraph::op::Constant>(ngraph::element::i64, ngraph::Shape{1}, std::vector<int64_t>{0});
631-
auto unsqueeze = std::make_shared<ngraph::op::Unsqueeze>(priorBox, axis);
631+
auto unsqueeze = std::make_shared<ngraph::op::v0::Unsqueeze>(priorBox, axis);
632632
return Ptr<BackendNode>(new InfEngineNgraphNode(unsqueeze));
633633
}
634634
}

0 commit comments

Comments
 (0)