Merge pull request #17390 from l-bat:fix_ngraph_multiply

This commit is contained in:
Alexander Alekhin 2020-05-26 16:33:12 +00:00
commit 9e09828cc3

View File

@ -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