mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Merge pull request #17390 from l-bat:fix_ngraph_multiply
This commit is contained in:
commit
9e09828cc3
@ -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