1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #25987 from AvenSun:fix-namespace

fix compilation errors caused by namespace
This commit is contained in:
Alexander Smorkalov
2024-08-05 10:45:11 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
@@ -932,7 +932,7 @@ struct GeluFunctor : public BaseFunctor {
#endif
#ifdef HAVE_DNN_NGRAPH
std::shared_ptr<ngraph::Node> initNgraphAPI(const ngraph::Output<ngraph::Node>& node)
std::shared_ptr<ov::Node> initNgraphAPI(const ov::Output<ov::Node>& node)
{
return std::make_shared<ov::op::v0::Gelu>(node);
}
@@ -1006,7 +1006,7 @@ public:
// In case only one input
if (inputs.size() == 1) {
auto &ieInpNode = nodes[0].dynamicCast<InfEngineNgraphNode>()->node;
ngraph::OutputVector inp{ieInpNode};
ov::OutputVector inp{ieInpNode};
auto blank = std::make_shared<ov::op::v0::Concat>(inp, 0);
return Ptr<BackendNode>(new InfEngineNgraphNode(blank));
}