提交 c15218e3 编写于 作者: A Alexander Alekhin

gapi: fix build with MSVS2015 (with IE)

上级 97c6ec6d
......@@ -2865,11 +2865,11 @@ TEST(Infer, ModelWith2DInputs)
// NB: Define model with 2D inputs.
auto in1 = std::make_shared<ngraph::op::Parameter>(
ngraph::element::Type_t::u8,
ngraph::Shape(std::vector<size_t>{{H, W}})
ngraph::Shape(std::vector<size_t>{(size_t)H, (size_t)W})
);
auto in2 = std::make_shared<ngraph::op::Parameter>(
ngraph::element::Type_t::u8,
ngraph::Shape(std::vector<size_t>{{H, W}})
ngraph::Shape(std::vector<size_t>{(size_t)H, (size_t)W})
);
auto result = std::make_shared<ngraph::op::v1::Add>(in1, in2);
auto func = std::make_shared<ngraph::Function>(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册