Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

[GPU] Added support fsv16/32 depthwise shape agnostic convolution (#26402)

Roman Lyamin1a6c1b6e9373
diff --git a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/convolution_gpu_b_fs_yx_fsv_16_32_imad_dw.cl b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/convolution_gpu_b_fs_yx_fsv_16_32_imad_dw.cl
index b81ac2d5329..f39518ad2cd 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/convolution_gpu_b_fs_yx_fsv_16_32_imad_dw.cl
+++ b/src/plugins/intel_gpu/src/kernel_selector/cl_kernels/convolution_gpu_b_fs_yx_fsv_16_32_imad_dw.cl
@@ -151,6 +151,7 @@
REQD_SUB_GROUP_SIZE(SIMD)
__attribute__((reqd_work_group_size(LWS0, LWS1, SIMD)))
KERNEL(convolution)(
+ OPTIONAL_SHAPE_INFO_ARG
const __global INPUT0_TYPE *input,
__global OUTPUT_TYPE *output,
const __global FILTER_TYPE *weights
diff --git a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.cpp b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.cpp
index c614b5b6aa7..c3b0944a9f2 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.cpp
+++ b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.cpp
@@ -64,6 +64,7 @@ ParamsKey kernel_selector::ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetSuppo
k.EnableQuantization(QuantizationType::ASYMMETRIC_DATA_AND_WEIGHTS);
k.EnableGroupedConvolution();
k.EnableDilation();
+ k.EnableDynamicShapesSupport();
return k;
}
@@ -83,9 +84,16 @@ bool ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::Validate(const Params& params)
if (conv_params.inputs[0].GetLayout() != conv_params.outputs[0].GetLayout())
return false;
+ if (conv_params.inputs[0].Feature().is_dynamic || conv_params.outputs[0].Feature().is_dynamic)
+ return false;
+
if (conv_params.groups != conv_params.outputs[0].Feature().v || conv_params.groups != conv_params.inputs[0].Feature().v)
return false;
+ // Incorrect choose of TILE_X leads to accuracy issue
+ if (conv_params.outputs[0].X().is_dynamic)
+ return false;
+
// For asymmetric data, kernel needs compensation optimization
if (conv_params.compensation.empty() &&
(conv_params.quantization == QuantizationType::ASYMMETRIC_DATA ||
@@ -136,18 +144,25 @@ ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetAutoTuneParams(const convolution
bool stride_1x1 = params.stride.x == 1 && params.stride.y == 1;
bool stride_2x2 = params.stride.x == 2 && params.stride.y == 2;
// Filter 3x3 with stride 1x1
- if (fsv == 16 && filter_3x3 && stride_1x1 && dilation_1x1 && output.X().v == 75 && output.Y().v == 75)
+ if (fsv == 16 && filter_3x3 && stride_1x1 && dilation_1x1 &&
+ !output.X().is_dynamic && output.X().v == 75 &&
+ !output.Y().is_dynamic && output.Y().v == 75) {
try_to_select(16, 15, 1, 4, true, EXE_MODE_DEFAULT);
+ }
// Filter 3x3 with stride 2x2
- if (fsv == 16 && filter_3x3 && stride_2x2 && dilation_1x1 && output.X().v == 75 && output.Y().v == 75)
+ if (fsv == 16 && filter_3x3 && stride_2x2 && dilation_1x1 &&
+ !output.X().is_dynamic && output.X().v == 75 &&
+ !output.Y().is_dynamic && output.Y().v == 75) {
try_to_select(16, 15, 1, 16, true, EXE_MODE_DEFAULT);
+ }
// Check if SLM can provide data reuse for current parameters
bool use_slm_x = (params.filterSize.x - 1) * params.dilation.x + 1 >= params.stride.x;
bool use_slm_y = (params.filterSize.y - 1) * params.dilation.y + 1 >= params.stride.y;
// Small spatials are inefficent with SLM due to additional overhead
- bool use_slm_size = output.X().v >= default_tile_x && output.Y().v >= default_tile_x;
+ bool use_slm_size = !output.X().is_dynamic && output.X().v >= default_tile_x &&
+ !output.Y().is_dynamic && output.Y().v >= default_tile_x;
if (!selected && use_slm_y && use_slm_x && use_slm_size) {
size_t tile_x = default_tile_x / 2;
@@ -194,10 +209,14 @@ ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetAutoTuneParams(const convolution
if (!selected) {
// Falback to non SLM path
tune_params.simd = 16;
- tune_params.tile_x = std::min(default_tile_x, output.X().v);
+ tune_params.tile_x = 1;
+
+ if (!output.X().is_dynamic) {
+ tune_params.tile_x = std::min(default_tile_x, output.X().v);
- if (output.X().v < 3 * tune_params.tile_x && output.X().v % tune_params.tile_x != 0) {
- tune_params.tile_x = tune_params.tile_x / 2;
+ if (output.X().v < 3 * tune_params.tile_x && output.X().v % tune_params.tile_x != 0) {
+ tune_params.tile_x = tune_params.tile_x / 2;
+ }
}
tune_params.lws0 = 1;
@@ -227,10 +246,14 @@ bool ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::ValidateAutoTuneParams(const c
auto total_slm = tparams.preload_input_slm ? slm_preload_tile_x * slm_preload_tile_y * fsv : 0;
valid_tune_params &= total_slm <= params.engineInfo.maxLocalMemSize;
- valid_tune_params &= tparams.tile_x <= params.outputs[0].X().v;
// Check that tune params don't use needlesly many work-groups in x/y
- valid_tune_params &= tparams.lws1 <= Align(params.outputs[0].Y().v, 2);
- valid_tune_params &= tparams.tile_x * tparams.lws0 <= Align(params.outputs[0].X().v, 2);
+ if (!params.outputs[0].X().is_dynamic) {
+ valid_tune_params &= tparams.tile_x <= params.outputs[0].X().v;
+ valid_tune_params &= tparams.tile_x * tparams.lws0 <= Align(params.outputs[0].X().v, 2);
+ }
+ if (!params.outputs[0].Y().is_dynamic) {
+ valid_tune_params &= tparams.lws1 <= Align(params.outputs[0].Y().v, 2);
+ }
// Filter out combinations that are known to be sub-optimal in order to reduce search space
valid_tune_params &= tparams.exeMode == EXE_MODE_DEFAULT;
@@ -276,6 +299,12 @@ KernelsPriority ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetKernelsPriority(
}
bool ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::HasPaddedInput(const convolution_params& params) const {
+ if (params.outputs[0].X().is_dynamic ||
+ params.outputs[0].Y().is_dynamic ||
+ params.outputs[0].Z().is_dynamic) {
+ return false;
+ }
+
const auto inputLimitX = (params.outputs[0].X().v - 1) * params.stride.x
+ (params.filterSize.x - 1) * params.dilation.x + 1;
const auto inputLimitY = (params.outputs[0].Y().v - 1) * params.stride.y
@@ -295,6 +324,12 @@ bool ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::HasPaddedInput(const convoluti
}
bool ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::ParamsHavePadding(const convolution_params& params) const {
+ if (params.outputs[0].X().is_dynamic ||
+ params.outputs[0].Y().is_dynamic ||
+ params.outputs[0].Z().is_dynamic) {
+ return true;
+ }
+
const auto inputLimitX = (params.outputs[0].X().v - 1) * params.stride.x
+ (params.filterSize.x - 1) * params.dilation.x + 1;
const auto inputLimitY = (params.outputs[0].Y().v - 1) * params.stride.y
@@ -387,4 +422,8 @@ KernelsData ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetKernelsDataForAutoTu
return res;
}
+void ConvolutionKernel_b_fs_yx_fsv_16_32_imad_dw::GetUpdateDispatchDataFunc(KernelData& kd) const {
+ Parent::GetUpdateDispatchDataFunc(kd);
+}
+
} // namespace kernel_selector
diff --git a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.hpp b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.hpp
index fc9563a2490..752a88739d6 100644
--- a/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.hpp
+++ b/src/plugins/intel_gpu/src/kernel_selector/kernels/convolution/convolution_kernel_b_fs_yx_fsv_16_32_imad_dw.hpp
@@ -36,6 +36,7 @@ protected:
bool ParamsHavePadding(const convolution_params& params) const;
JitConstants GetJitConstants(const convolution_params& params, const DispatchData& dispatchData) const override;
DispatchData SetDefault(const convolution_params& params, int autoTuneIndex = -1) const override;
+ void GetUpdateDispatchDataFunc(KernelData& kd) const override;
struct AutoTuneParams {
size_t simd;
diff --git a/src/plugins/intel_gpu/tests/unit/test_cases/convolution_gpu_test.cpp b/src/plugins/intel_gpu/tests/unit/test_cases/convolution_gpu_test.cpp
index 5d7ff14bd17..ce07bffe366 100644
--- a/src/plugins/intel_gpu/tests/unit/test_cases/convolution_gpu_test.cpp
+++ b/src/plugins/intel_gpu/tests/unit/test_cases/convolution_gpu_test.cpp
@@ -10414,6 +10414,7 @@ struct conv_dyn_test_params {
ov::Strides dilation;
ov::CoordinateDiff pad_begin;
ov::CoordinateDiff pad_end;
+ uint32_t groups;
};
class conv_dyn_test : public testing::TestWithParam<conv_dyn_test_params> {};
@@ -10421,16 +10422,13 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv16_no_bias) {
auto& engine = get_test_engine();
auto p = GetParam();
- auto is_grouped = p.wei_shape.size() == 5;
- auto groups_num = is_grouped ? static_cast<uint32_t>(p.wei_shape[0]) : 1;
-
auto calculate_ref = [&](memory::ptr input, memory::ptr weights, ExecutionConfig config) {
auto in_layout = input->get_layout();
topology topology_ref(
input_layout("input", in_layout),
data("weights", weights),
- convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, is_grouped));
+ convolution("conv", input_info("input"), "weights", no_bias, p.groups, p.stride, p.dilation, p.pad_begin, p.pad_end, p.groups > 1));
network network_ref(engine, topology_ref, config);
network_ref.set_input_data("input", input);
@@ -10440,9 +10438,15 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv16_no_bias) {
return outputs_ref.at("conv").get_memory();
};
- auto in_layout = layout{ov::PartialShape{ov::Dimension(), ov::Dimension(p.in_shape[1]), ov::Dimension(), ov::Dimension()}, data_types::f32, format::bfyx};
+ ov::PartialShape dyn_input_pshape;
+ for (size_t i = 0; i < p.in_shape.size(); ++i) {
+ dyn_input_pshape.emplace_back(ov::Dimension());
+ }
+ dyn_input_pshape[1] = p.in_shape[1];
+
+ auto in_layout = layout{dyn_input_pshape, data_types::f32, format::bfyx};
auto input = engine.allocate_memory({ p.in_shape, data_types::f32, format::bfyx });
- auto weights = engine.allocate_memory({p.wei_shape, data_types::f32, is_grouped ? format::bfzyx : format::bfyx});
+ auto weights = engine.allocate_memory({p.wei_shape, data_types::f32, p.groups > 1 ? format::bfzyx : format::bfyx});
tests::random_generator rg(GET_SUITE_NAME);
VF<float> input_rnd = rg.generate_random_1d<float>(ov::shape_size(p.in_shape), -10, 10);
@@ -10454,7 +10458,7 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv16_no_bias) {
topology topology(
input_layout("input", in_layout),
data("weights", weights),
- convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, is_grouped));
+ convolution("conv", input_info("input"), "weights", no_bias, p.groups, p.stride, p.dilation, p.pad_begin, p.pad_end, p.groups > 1));
ExecutionConfig config = get_test_default_config(engine);
ov::intel_gpu::ImplementationDesc conv_impl = { format::bfyx, "convolution_gpu_bfyx_os_iyx_osv16", impl_types::ocl };
@@ -10489,7 +10493,10 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv16_no_bias) {
// Change original shape for the second run
auto new_shape = p.in_shape;
new_shape[2] += 4;
- new_shape[3] += 8;
+
+ if (new_shape.size() > 3) {
+ new_shape[3] += 8;
+ }
auto input = engine.allocate_memory({ new_shape, data_types::f32, format::bfyx });
@@ -10516,9 +10523,7 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv32_no_bias) {
auto& engine = get_test_engine();
auto p = GetParam();
- auto is_grouped = p.wei_shape.size() == 5;
-
- if (is_grouped) {
+ if (p.groups > 1) {
std::cout << "[ SKIPPED ] The test is skipped (group convolution is not supported)." << std::endl;
ASSERT_EQ(1, 1);
return;
@@ -10532,7 +10537,7 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv32_no_bias) {
topology topology_ref(
input_layout("input", in_layout),
data("weights", weights),
- convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, is_grouped));
+ convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, false));
network network_ref(engine, topology_ref, config);
network_ref.set_input_data("input", input);
@@ -10544,7 +10549,7 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv32_no_bias) {
auto in_layout = layout{ov::PartialShape{ov::Dimension(), ov::Dimension(p.in_shape[1]), ov::Dimension(), ov::Dimension()}, data_types::f16, format::bfyx};
auto input = engine.allocate_memory({ p.in_shape, data_types::f16, format::bfyx });
- auto weights = engine.allocate_memory({p.wei_shape, data_types::f16, is_grouped ? format::bfzyx : format::bfyx});
+ auto weights = engine.allocate_memory({p.wei_shape, data_types::f16, format::bfyx});
tests::random_generator rg(GET_SUITE_NAME);
VF<ov::float16> input_rnd = rg.generate_random_1d<ov::float16>(ov::shape_size(p.in_shape), -10, 10);
@@ -10556,7 +10561,7 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv32_no_bias) {
topology topology(
input_layout("input", in_layout),
data("weights", weights),
- convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, is_grouped));
+ convolution("conv", input_info("input"), "weights", no_bias, groups_num, p.stride, p.dilation, p.pad_begin, p.pad_end, false));
ExecutionConfig config = get_test_default_config(engine);
ov::intel_gpu::ImplementationDesc conv_impl = { format::bfyx, "convolution_gpu_bfyx_os_iyx_osv32", impl_types::ocl };
@@ -10589,7 +10594,10 @@ TEST_P(conv_dyn_test, convolution_gpu_bfyx_os_iyx_osv32_no_bias) {
// Change original shape for the second run
auto new_shape = p.in_shape;
new_shape[2] += 4;
- new_shape[3] += 8;
+
+ if (new_shape.size() > 3) {
+ new_shape[3] += 8;
+ }
auto input = engine.allocate_memory({ new_shape, data_types::f16, format::bfyx });
@@ -10734,29 +10742,168 @@ TEST_P(conv_dyn_test, convolution_gpu_fsv16_1x1_no_bias) {
}
}
+TEST_P(conv_dyn_test, convolution_gpu_fsv16_depthwise_quantized) {
+ auto& engine = get_test_engine();
+ auto p = GetParam();
+ auto is_depthwise = p.in_shape[1] == p.groups;
+
+ if (!is_depthwise) {
+ std::cout << "[ SKIPPED ] The test is skipped (convolution is not depthwise)." << std::endl;
+ ASSERT_EQ(1, 1);
+ return;
+ }
+
+ auto is_valid_output = p.wei_shape[0] % 16 == 0;
+ auto is_valid_strid = all_ones(p.stride);
+ auto is_valid_padding = all_zeroes(p.pad_begin) && all_zeroes(p.pad_end);
+ auto is_valid_ranks = p.in_shape.size() == p.wei_shape.size() - 1;
+ if (!is_valid_output || !is_valid_strid || !is_valid_padding || !is_valid_ranks) {
+ std::cout << "[ SKIPPED ] The test is skipped (is_valid_output: " << is_valid_output
+ << ", is_valid_strid: " << is_valid_strid
+ << ", is_valid_padding: " << is_valid_padding
+ << ", is_valid_ranks: " << is_valid_ranks << std::endl;
+ ASSERT_EQ(1, 1);
+ return;
+ }
+
+ auto calculate_ref = [&](memory::ptr input, memory::ptr weights,
+ memory::ptr a_zp, memory::ptr compensation, ExecutionConfig config) {
+ auto in_layout = input->get_layout();
+
+ topology topology_ref(
+ input_layout("input", in_layout),
+ data("weights", weights),
+ data("a_zp", a_zp),
+ data("compensation", compensation),
+ convolution("conv", input_info("input"), "weights", no_bias, "", "a_zp", "compensation",
+ p.groups, p.stride, p.dilation, p.pad_begin, p.pad_end, true, data_types::f32));
+
+ network network_ref(engine, topology_ref, config);
+ network_ref.set_input_data("input", input);
+
+ auto outputs_ref = network_ref.execute();
+
+ return outputs_ref.at("conv").get_memory();
+ };
+
+ ov::PartialShape dyn_input_pshape;
+ for (size_t i = 0; i < p.in_shape.size(); ++i) {
+ dyn_input_pshape.emplace_back(ov::Dimension());
+ }
+ dyn_input_pshape[1] = p.in_shape[1];
+
+ if (p.in_shape.size() > 3) {
+ dyn_input_pshape[p.in_shape.size() - 1] = p.in_shape.back();
+ }
+
+ auto in_layout = layout{dyn_input_pshape, data_types::u8, format::b_fs_yx_fsv16};
+ auto input = engine.allocate_memory({ p.in_shape, data_types::u8, format::b_fs_yx_fsv16 });
+ auto weights = engine.allocate_memory({p.wei_shape, data_types::i8, format::goiyx});
+
+ auto a_zp_shape = ov::Shape(p.in_shape.size(), 1);
+ a_zp_shape[1] = p.in_shape[1];
+ auto a_zp = engine.allocate_memory({ a_zp_shape, data_types::u8, format::bfyx });
+
+ auto compensation = engine.allocate_memory({ a_zp_shape, data_types::f32, format::bfyx });
+
+ tests::random_generator rg(GET_SUITE_NAME);
+ VF<uint8_t> input_rnd = rg.generate_random_1d<uint8_t>(ov::shape_size(p.in_shape), 0, 10);
+ VF<int8_t> weights_rnd = rg.generate_random_1d<int8_t>(ov::shape_size(p.wei_shape), -5, 5);
+ VF<uint8_t> a_zp_rnd = rg.generate_random_1d<uint8_t>(ov::shape_size(a_zp_shape), 1, 5);
+ VF<float> compensation_rnd = rg.generate_random_1d<float>(ov::shape_size(a_zp_shape), -5, 5);
+
+ set_values(input, input_rnd);
+ set_values(weights, weights_rnd);
+ set_values(a_zp, a_zp_rnd);
+ set_values(compensation, compensation_rnd);
+
+ topology topology(
+ input_layout("input", in_layout),
+ data("weights", weights),
+ data("a_zp", a_zp),
+ data("compensation", compensation),
+ convolution("conv", input_info("input"), "weights", no_bias, "", "a_zp", "compensation",
+ p.groups, p.stride, p.dilation, p.pad_begin, p.pad_end, true, data_types::f32));
+
+ ExecutionConfig config = get_test_default_config(engine);
+ ov::intel_gpu::ImplementationDesc conv_impl = { format::b_fs_yx_fsv16, "convolution_gpu_b_fs_yx_fsv_16_32_imad_dw", impl_types::ocl };
+ config.set_property(ov::intel_gpu::force_implementations(ov::intel_gpu::ImplForcingMap{ { "conv", conv_impl } }));
+ config.set_property(ov::intel_gpu::allow_new_shape_infer(true));
+ config.set_property(ov::enable_profiling(true));
+
+ network network(engine, topology, config);
+ network.set_input_data("input", input);
+
+ auto inst = network.get_primitive("conv");
+ auto impl = inst->get_impl();
+ ASSERT_TRUE(impl != nullptr);
+ ASSERT_TRUE(impl->is_dynamic());
+
+ auto outputs = network.execute();
+
+ auto output_memory = outputs.at("conv").get_memory();
+
+ auto output_memory_ref = calculate_ref(input, weights, a_zp, compensation, config);
+
+ cldnn::mem_lock<float> output_ptr(output_memory, get_test_stream());
+ cldnn::mem_lock<float> output_ptr_ref(output_memory_ref, get_test_stream());
+
+ ASSERT_EQ(outputs.at("conv").get_layout(), output_memory_ref->get_layout());
+ for (size_t i = 0; i < output_ptr.size(); i++) {
+ ASSERT_EQ(output_ptr[i], output_ptr_ref[i]);
+ }
+
+ {
+ // Change original shape for the second run
+ auto new_shape = p.in_shape;
+ new_shape[2] += 4;
+
+ auto input = engine.allocate_memory({ new_shape, data_types::u8, format::b_fs_yx_fsv16 });
+
+ VF<uint8_t> input_rnd = rg.generate_random_1d<uint8_t>(ov::shape_size(p.in_shape), 0, 10);
+ set_values(input, input_rnd);
+
+ network.set_input_data("input", input);
+ auto outputs = network.execute();
+
+ auto output_memory = outputs.at("conv").get_memory();
+ auto output_memory_ref = calculate_ref(input, weights, a_zp, compensation, config);
+
+ cldnn::mem_lock<float> output_ptr(output_memory, get_test_stream());
+ cldnn::mem_lock<float> output_ptr_ref(output_memory_ref, get_test_stream());
+
+ ASSERT_EQ(outputs.at("conv").get_layout(), output_memory_ref->get_layout());
+ for (size_t i = 0; i < output_ptr.size(); i++) {
+ ASSERT_EQ(output_ptr[i], output_ptr_ref[i]);
+ }
+ }
+}
+
INSTANTIATE_TEST_SUITE_P(smoke, conv_dyn_test,
testing::ValuesIn(std::vector<conv_dyn_test_params>{
- { ov::Shape{1, 8, 14, 14}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 8, 32, 32}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 8, 60, 60}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 8, 64, 64}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 5, 5}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{2, 640, 32, 32}, ov::Shape{640, 640, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 32, 16, 16}, ov::Shape{32, 32, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{2, 32, 16, 16}, ov::Shape{32, 32, 3, 3}, ov::Strides{2, 2}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 32, 32, 32}, ov::Shape{64, 32, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 4, 32, 32}, ov::Shape{32, 4, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 4, 64, 64}, ov::Shape{4, 4, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 32, 28, 28}, ov::Shape{32, 1, 1, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 48, 16, 16}, ov::Shape{48, 48, 4, 4}, ov::Strides{4, 4}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 16, 28, 28}, ov::Shape{32, 16, 2, 2}, ov::Strides{2, 2}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 3, 32, 32}, ov::Shape{96, 3, 4, 4}, ov::Strides{4, 4}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 768, 7, 7}, ov::Shape{768, 1, 1, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1} },
- { ov::Shape{1, 48, 56, 56}, ov::Shape{48, 48, 8, 8}, ov::Strides{8, 8}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 4, 16, 16}, ov::Shape{16, 4, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 16, 15, 17}, ov::Shape{16, 16, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 16, 17, 18}, ov::Shape{16, 16, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
- { ov::Shape{1, 32, 64, 64}, ov::Shape{32, 32, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0} },
+ { ov::Shape{1, 8, 14, 14}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 8, 32, 32}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 8, 60, 60}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 8, 64, 64}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{1, 8, 110, 111}, ov::Shape{16, 8, 5, 5}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{2, 640, 32, 32}, ov::Shape{640, 640, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{1, 32, 16, 16}, ov::Shape{32, 32, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{2, 32, 16, 16}, ov::Shape{32, 32, 3, 3}, ov::Strides{2, 2}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{1, 32, 32, 32}, ov::Shape{64, 32, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 4, 32, 32}, ov::Shape{32, 4, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 1 },
+ { ov::Shape{1, 4, 64, 64}, ov::Shape{4, 4, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 32, 28, 28}, ov::Shape{32, 1, 1, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 32 },
+ { ov::Shape{1, 48, 16, 16}, ov::Shape{48, 48, 4, 4}, ov::Strides{4, 4}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 16, 28, 28}, ov::Shape{32, 16, 2, 2}, ov::Strides{2, 2}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 3, 32, 32}, ov::Shape{96, 3, 4, 4}, ov::Strides{4, 4}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 768, 7, 7}, ov::Shape{768, 1, 1, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{1, 1}, ov::CoordinateDiff{1, 1}, 768 },
+ { ov::Shape{1, 48, 56, 56}, ov::Shape{48, 48, 8, 8}, ov::Strides{8, 8}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 4, 16, 16}, ov::Shape{16, 4, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 16, 15, 17}, ov::Shape{16, 16, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 16, 17, 18}, ov::Shape{16, 16, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 32, 64, 64}, ov::Shape{32, 32, 1, 1}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 1 },
+ { ov::Shape{1, 32, 91}, ov::Shape{32, 1, 1, 11}, ov::Strides{1}, ov::Strides{1}, ov::CoordinateDiff{0}, ov::CoordinateDiff{0}, 32 },
+ { ov::Shape{1, 64, 16, 16}, ov::Shape{64, 1, 1, 3, 3}, ov::Strides{1, 1}, ov::Strides{1, 1}, ov::CoordinateDiff{0, 0}, ov::CoordinateDiff{0, 0}, 64 },
}));