Skip to content

Commit 2bdb25a

Browse files
authored
Delete ConvertMinimum transformation (#30188)
### Details: It looks like the ConvertMinimum transformation was introduced when plugins had no support for Minimum operation. I hope now we have support this Minimum op in all our plugins directly. ConvertMinimum blocks this PR #29921 ### Tickets: CVS-166426
1 parent bf53823 commit 2bdb25a

File tree

4 files changed

+0
-85
lines changed

4 files changed

+0
-85
lines changed

src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp

-25
This file was deleted.

src/common/transformations/src/transformations/common_optimizations/common_optimizations.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
#include "transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp"
8383
#include "transformations/op_conversions/convert_maxpool_downgrade.hpp"
8484
#include "transformations/op_conversions/convert_maxpool_upgrade.hpp"
85-
#include "transformations/op_conversions/convert_minimum_to_power_and_max.hpp"
8685
#include "transformations/op_conversions/convert_mod.hpp"
8786
#include "transformations/op_conversions/convert_multiclass_nms_upgrade.hpp"
8887
#include "transformations/op_conversions/convert_pad12_downgrade.hpp"
@@ -170,7 +169,6 @@ bool ov::pass::CommonOptimizations::run_on_model(const std::shared_ptr<ov::Model
170169
ADD_MATCHER(decomp, ConvertBroadcastToTiles)
171170
ADD_MATCHER(decomp, ConvertMod)
172171
ADD_MATCHER(decomp, ConvertGELU)
173-
ADD_MATCHER(decomp, ConvertMinimum)
174172
ADD_MATCHER(decomp, ConvertSubtract)
175173
ADD_MATCHER(decomp, ConvertDivide)
176174
ADD_MATCHER(decomp, ConvertDepthToSpace)

src/common/transformations/src/transformations/op_conversions/convert_minimum_to_power_and_max.cpp

-56
This file was deleted.

src/plugins/intel_cpu/src/transformations/transformation_pipeline.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@
6262
#include "transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp"
6363
#include "transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp"
6464
#include "transformations/op_conversions/convert_maxpool_downgrade.hpp"
65-
#include "transformations/op_conversions/convert_minimum_to_power_and_max.hpp"
6665
#include "transformations/op_conversions/convert_mod.hpp"
6766
#include "transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp"
6867
#include "transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp"
@@ -732,7 +731,6 @@ void Transformations::PreLpt(const std::vector<ov::element::Type>& defaultPrecis
732731
CPU_DISABLE_PASS_COMMON(manager, ov::pass::SimplifyCTCGreedyDecoderSeqLen);
733732
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertGather7ToGather1);
734733
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertGather8ToGather7);
735-
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertMinimum);
736734
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertBroadcastToTiles);
737735
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertReduceMeanToPooling);
738736
CPU_DISABLE_PASS_COMMON(manager, ov::pass::ConvertReduceMaxToPooling);

0 commit comments

Comments
 (0)