diff --git a/src/tests/functional/plugin/conformance/test_runner/op_conformance_runner/src/op_impl_check/single_op_graph.cpp b/src/tests/functional/plugin/conformance/test_runner/op_conformance_runner/src/op_impl_check/single_op_graph.cpp index 02036fdb934..7dad25bbab8 100644 --- a/src/tests/functional/plugin/conformance/test_runner/op_conformance_runner/src/op_impl_check/single_op_graph.cpp +++ b/src/tests/functional/plugin/conformance/test_runner/op_conformance_runner/src/op_impl_check/single_op_graph.cpp @@ -379,7 +379,7 @@ std::shared_ptr generate(const std::shared_ptr generate(const std::shared_ptr &node) { - const auto rows = ngraph::builder::makeConstant(ov::element::i64, {1}, {3}); + const auto rows = std::make_shared(ov::element::i64, ov::Shape{1}); const auto cols = ngraph::builder::makeConstant(ov::element::i64, {1}, {4}); const auto diag = ngraph::builder::makeConstant(ov::element::i64, {1}, {0}); const auto batch = ngraph::builder::makeConstant(ov::element::i64, {3}, {2, 2, 2}); @@ -388,9 +388,8 @@ std::shared_ptr generate(const std::shared_ptr &node diag, batch, ov::element::f32); - ov::pass::disable_constant_folding(eye); ov::ResultVector results{std::make_shared(eye)}; - return std::make_shared(results, ngraph::ParameterVector{}, "Eye"); + return std::make_shared(results, ngraph::ParameterVector{rows}, "Eye"); } std::shared_ptr generate(const std::shared_ptr &node) {