Skip to content

Commit

Permalink
Move ConvertConvertPromoteTypes transformation from Common to MOC (#2…
Browse files Browse the repository at this point in the history
…3630)

### Details:
Move ConvertConvertPromoteTypes transformation from Common to MOC

### Tickets:
 N/A
  • Loading branch information
itikhono authored Mar 25, 2024
1 parent b8b2bd9 commit 4e6bfe8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
#include "transformations/op_conversions/convert_bitwise_to_logical_bool.hpp"
#include "transformations/op_conversions/convert_broadcast_to_tiles.hpp"
#include "transformations/op_conversions/convert_convertlike.hpp"
#include "transformations/op_conversions/convert_convertpromotetypes.hpp"
#include "transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp"
#include "transformations/op_conversions/convert_depth_to_space.hpp"
#include "transformations/op_conversions/convert_divide.hpp"
Expand Down Expand Up @@ -174,7 +173,6 @@ bool ov::pass::CommonOptimizations::run_on_model(const std::shared_ptr<ov::Model
ADD_MATCHER(decomp, ConvertDivide)
ADD_MATCHER(decomp, ConvertDepthToSpace)
ADD_MATCHER(decomp, ConvertSpaceToDepth)
ADD_MATCHER(decomp, ConvertConvertPromoteTypes)
ADD_MATCHER(decomp, ConvertConvertLike)
ADD_MATCHER(decomp, BatchNormDecomposition)
ADD_MATCHER(decomp, GroupNormalizationDecomposition)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
#include "transformations/init_node_info.hpp"
#include "transformations/low_precision/mark_dequantization_subgraph.hpp"
#include "transformations/op_conversions/batch_norm_decomposition.hpp"
#include "transformations/op_conversions/convert_convertpromotetypes.hpp"
#include "transformations/op_conversions/convert_divide.hpp"
#include "transformations/op_conversions/convert_negative.hpp"
#include "transformations/op_conversions/convert_scatter_elements_to_scatter.hpp"
Expand Down Expand Up @@ -238,7 +239,7 @@ bool ov::pass::MOCTransformations::run_on_model(const std::shared_ptr<ov::Model>
ADD_MATCHER(decomp, ConvertDivideWithConstant)
ADD_MATCHER(decomp, ConvertSubtractWithConstant)
ADD_MATCHER(decomp, ConvertNegative)

ADD_MATCHER(decomp, ConvertConvertPromoteTypes)
manager.register_pass<ov::pass::LinOpSequenceFusion>();

auto multiply_fusions = manager.register_pass<ov::pass::GraphRewrite>();
Expand Down

0 comments on commit 4e6bfe8

Please sign in to comment.