Skip to content

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

[TF FE] Remove unused vars for DepthwiseConv2d operation (#27519)

Roman Kazantsev6aca1f6aa490
diff --git a/src/frontends/tensorflow_common/src/op/depthwise_conv_2d.cpp b/src/frontends/tensorflow_common/src/op/depthwise_conv_2d.cpp
index 09eb606f41c..c2fdee9c0cd 100644
--- a/src/frontends/tensorflow_common/src/op/depthwise_conv_2d.cpp
+++ b/src/frontends/tensorflow_common/src/op/depthwise_conv_2d.cpp
@@ -43,10 +43,6 @@ OutputVector translate_depthwise_conv_2d_native_op(const NodeContext& node) {
Strides dilations(2);
convert_nhwc_to_hw(is_nhwc, tf_strides, strides);
convert_nhwc_to_hw(is_nhwc, tf_dilations, dilations);
-
- Shape ng_image_shape(2);
- Shape ng_kernel_shape(2);
-
convert_nhwc_to_nchw(is_nhwc, input, ov::Rank(4));
// prepare filter to have a number of groups equal to CIN