From 390eb59ab18d60bad08b062ef199d7a4d9663e6c Mon Sep 17 00:00:00 2001 From: Vladislav Golubev Date: Wed, 15 Jan 2025 22:33:59 +0100 Subject: [PATCH] [REFERENCE] Fix Interpolate ref implementation & reenable LPT tests --- .../reference/include/openvino/reference/interpolate.hpp | 6 +++++- .../functional/shared_tests_instances/skip_tests_config.cpp | 2 -- .../functional/shared_tests_instances/skip_tests_config.cpp | 2 -- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/core/reference/include/openvino/reference/interpolate.hpp b/src/core/reference/include/openvino/reference/interpolate.hpp index 90c29f1883137e..5696fc16e172ea 100644 --- a/src/core/reference/include/openvino/reference/interpolate.hpp +++ b/src/core/reference/include/openvino/reference/interpolate.hpp @@ -711,9 +711,13 @@ inline PartialShape get_padded_input_shape(const PartialShape& input_shape, PartialShape padded_input_shape = input_shape; + auto pads_begin = attrs.pads_begin; + auto pads_end = attrs.pads_end; + pads_begin.resize(input_rank); + pads_end.resize(input_rank); for (int64_t i = 0; i < input_rank; ++i) { if (input_shape[i].is_static()) { - auto new_length = attrs.pads_begin[i] + attrs.pads_end[i] + input_shape[i].get_length(); + auto new_length = pads_begin[i] + pads_end[i] + input_shape[i].get_length(); padded_input_shape[i] = Dimension(new_length); } } diff --git a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp index 14cd143aefa757..44bf87a9a37b82 100644 --- a/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp +++ b/src/plugins/intel_cpu/tests/functional/shared_tests_instances/skip_tests_config.cpp @@ -185,8 +185,6 @@ std::vector disabledTestPatterns() { R"(^smoke_Multinomial(?:Static|Dynamic)+(?:Log)*.*seed_g=0_seed_o=0.*device=CPU.*)", // Issue: 129025 R"(.*smoke_CpuExecNetworkCheck.*StreamsHasHigherPriorityThanLatencyHint.*)", - // Issue: 119648 - R"(.*smoke_LPT/InterpolateTransformation.*)", // Issue: 129931 R"(smoke_LPT/ConvolutionTransformation.CompareWithRefImpl/f32_\[.*,3,16,16\]_CPU_f32_rank=4D_fq_on_data=\{level=256_shape=\[1\]_input_low=\{ 0 \}_input_high=\{ 255 \}_output_low=\{ .*18.7 \}_output_high\{ 18.8 \}_precision=\}_fq_on_weights=\{_255_\[6,1,1,1\]_\{ .*1.52806e.*39, .*0.2, .*0.3, .*0.3, .*0.2, .*0.1 \}_\{ 1.52806e.*39, 0.2, 0.3, 0.3, 0.2, 0.1 \}\})", // TODO: 141068 diff --git a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp index 67caa08318212a..1b914f20d75d94 100644 --- a/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp +++ b/src/plugins/intel_gpu/tests/functional/shared_tests_instances/skip_tests_config.cpp @@ -58,8 +58,6 @@ std::vector disabledTestPatterns() { R"(smoke_MemoryTestV3.*)", // Issue: 90539 R"(.*CachingSupportCase.*LoadNetworkCacheTestBase.*CompareWithRefImpl.*)", - // Issue: 119648 - R"(.*smoke_LPT/InterpolateTransformation.*)", R"(.*CachingSupportCase.*GPU.*CompileModelCacheTestBase.*CompareWithRefImpl.*)", // Issue: 111437 R"(.*smoke_Deconv_2D_Dynamic_.*FP32/DeconvolutionLayerGPUTest.Inference.*)",