mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #21134 from alalek:gapi_fix_build_ie_msvs2015
This commit is contained in:
commit
d470cfe86e
@ -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>(
|
||||
|
Loading…
Reference in New Issue
Block a user