From be4d90cd11e255b619605f473fe852dc0d17b3da Mon Sep 17 00:00:00 2001 From: vurusovs Date: Fri, 8 Dec 2023 13:54:55 +0400 Subject: [PATCH] openvino `tests/ov_helpers` leftovers --- .../single_layer_tests/interpolate.cpp | 9 +++++---- .../shared_tests_instances/single_layer_tests/range.cpp | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/interpolate.cpp b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/interpolate.cpp index b10847b79..16238fbcb 100644 --- a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/interpolate.cpp +++ b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/interpolate.cpp @@ -10,13 +10,14 @@ #include "benchmark.hpp" #include "common_test_utils/test_constants.hpp" #include "unsymmetrical_comparer.hpp" +#include "openvino/op/interpolate.hpp" using namespace LayerTestsDefinitions; -using InterpolateMode = ngraph::op::v4::Interpolate::InterpolateMode; -using ShapeCalcMode = ngraph::op::v4::Interpolate::ShapeCalcMode; -using CoordinateTransformMode = ngraph::op::v4::Interpolate::CoordinateTransformMode; -using NearestMode = ngraph::op::v4::Interpolate::NearestMode; +using InterpolateMode = ov::op::v4::Interpolate::InterpolateMode; +using ShapeCalcMode = ov::op::v4::Interpolate::ShapeCalcMode; +using CoordinateTransformMode = ov::op::v4::Interpolate::CoordinateTransformMode; +using NearestMode = ov::op::v4::Interpolate::NearestMode; namespace { diff --git a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/range.cpp b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/range.cpp index aee55e896..a074f124d 100644 --- a/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/range.cpp +++ b/modules/nvidia_plugin/tests/functional/shared_tests_instances/single_layer_tests/range.cpp @@ -226,7 +226,7 @@ struct CudaRangeLayerTest : public testing::WithParamInterface, params[0]->set_friendly_name("start"); params[1]->set_friendly_name("stop"); params[2]->set_friendly_name("step"); - auto node = std::make_shared(params[0], params[1], params[2], Type(out_type)); + auto node = std::make_shared(params[0], params[1], params[2], Type(out_type)); auto& registry = ov::nvidia_gpu::OperationRegistry::getInstance(); assert(registry.hasOperation(node)); auto op = registry.createOperation(ov::nvidia_gpu::CreationContext{device, optimizeOption},