Skip to content

Commit db89f3b

Browse files
authored
Do not use deprecated ov::Model ctr (#1021)
1 parent 48a71c3 commit db89f3b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/nvidia_plugin/tests/unit/op_buffers_extractor_test.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class OperationBufferExtractorTest : public testing::Test {
7373
auto reshape = std::make_shared<ov::op::v1::Reshape>(add_1, reshape_pattern, true);
7474

7575
ov::ParameterVector inputs{input};
76-
ov::NodeVector outputs{reshape};
76+
ov::OutputVector outputs{reshape};
7777
model_ = std::make_unique<ov::Model>(outputs, inputs, "SimpleGraph");
7878

7979
exec_sequence_ = model_->get_ordered_ops();
@@ -346,7 +346,7 @@ class OperationBufferExtractorConcatOptimizedTest : public testing::Test {
346346
auto reshape = std::make_shared<ov::op::v1::Reshape>(add_1, reshape_pattern, true);
347347

348348
ov::ParameterVector inputs{input};
349-
ov::NodeVector outputs{reshape};
349+
ov::OutputVector outputs{reshape};
350350
model_ = std::make_unique<ov::Model>(outputs, inputs, "ConcatOptimizedGraph");
351351

352352
exec_sequence_ = model_->get_ordered_ops();
@@ -482,7 +482,7 @@ class OperationBufferExtractorConcatOptimizedV2Test : public testing::Test {
482482
auto reshape1 = std::make_shared<ov::op::v1::Reshape>(add_1, reshape_pattern, true);
483483

484484
ov::ParameterVector inputs{input};
485-
ov::NodeVector outputs{reshape1};
485+
ov::OutputVector outputs{reshape1};
486486
model_ = std::make_unique<ov::Model>(outputs, inputs, "ConcatOptimizedGraph");
487487

488488
exec_sequence_ = model_->get_ordered_ops();

0 commit comments

Comments
 (0)