mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 20:42:53 +08:00
Switch ngraph::op::v1::Multiply to v0
This commit is contained in:
parent
1bec7ca540
commit
b236f10792
@ -345,7 +345,7 @@ public:
|
|||||||
weight = std::make_shared<ngraph::op::Constant>(
|
weight = std::make_shared<ngraph::op::Constant>(
|
||||||
ngraph::element::f32, ngraph::Shape(shape), blobs[0].data);
|
ngraph::element::f32, ngraph::Shape(shape), blobs[0].data);
|
||||||
}
|
}
|
||||||
auto mul = std::make_shared<ngraph::op::v1::Multiply>(norm, weight, ngraph::op::AutoBroadcastType::NUMPY);
|
auto mul = std::make_shared<ngraph::op::v0::Multiply>(norm, weight, ngraph::op::AutoBroadcastType::NUMPY);
|
||||||
return Ptr<BackendNode>(new InfEngineNgraphNode(mul));
|
return Ptr<BackendNode>(new InfEngineNgraphNode(mul));
|
||||||
}
|
}
|
||||||
#endif // HAVE_DNN_NGRAPH
|
#endif // HAVE_DNN_NGRAPH
|
||||||
|
Loading…
Reference in New Issue
Block a user