From 71c8b8585394b732b4b26896582c59f784f896a8 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Fri, 20 Dec 2024 07:04:34 +0100 Subject: [PATCH] [RTTI] Apply OPENVINO_MATCHER_PASS_RTTI in transformations/op_convertions (#28150) ### Details: - Applied OPENVINO_MATCHER_PASS_RTTI helper macro in transformations/op_convertions. ### Tickets: - CVS-159567 --------- Signed-off-by: Tomasz Jankowski --- .../op_conversions/batch_norm_decomposition.hpp | 2 +- .../bidirectional_sequences_decomposition.hpp | 6 +++--- .../op_conversions/convert_avgpool_downgrade.hpp | 2 +- .../op_conversions/convert_batch_to_space.hpp | 2 +- .../convert_bitwise_to_logical_bool.hpp | 8 ++++---- .../op_conversions/convert_broadcast3.hpp | 2 +- .../op_conversions/convert_broadcast_to_tiles.hpp | 2 +- .../op_conversions/convert_convertlike.hpp | 2 +- .../op_conversions/convert_convertpromotetypes.hpp | 2 +- .../convert_deformable_conv_v8_to_v1.hpp | 2 +- .../op_conversions/convert_depth_to_space.hpp | 2 +- .../op_conversions/convert_divide.hpp | 4 ++-- .../convert_embedding_bag_offsets15_downgrade.hpp | 2 +- .../convert_embedding_bag_packed15_downgrade.hpp | 2 +- .../op_conversions/convert_fc_to_compressed.hpp | 3 ++- .../convert_fc_to_quantized_legacy.hpp | 2 +- .../op_conversions/convert_gather_0d.hpp | 2 +- .../op_conversions/convert_gather_downgrade.hpp | 4 ++-- .../convert_gather_to_compressed.hpp | 4 ++-- .../op_conversions/convert_gather_upgrade.hpp | 4 ++-- .../op_conversions/convert_gelu.hpp | 2 +- .../convert_gp9_to_gp_ie_internal.hpp | 2 +- .../convert_interpolate11_downgrade.hpp | 2 +- .../convert_interpolate1_to_interpolate4.hpp | 2 +- .../convert_matrix_nms_to_matrix_nms_ie.hpp | 2 +- .../op_conversions/convert_maxpool_downgrade.hpp | 4 ++-- .../op_conversions/convert_maxpool_upgrade.hpp | 2 +- .../convert_minimum_to_power_and_max.hpp | 2 +- .../transformations/op_conversions/convert_mod.hpp | 2 +- ...convert_multiclass_nms_to_multiclass_nms_ie.hpp | 2 +- .../convert_multiclass_nms_upgrade.hpp | 2 +- .../op_conversions/convert_mvn1_to_mvn6.hpp | 2 +- .../op_conversions/convert_negative.hpp | 2 +- .../convert_nms9_to_nms_ie_internal.hpp | 2 +- .../convert_nms_rotated_to_nms_ie_internal.hpp | 2 +- .../convert_nms_to_nms_ie_internal.hpp | 2 +- .../op_conversions/convert_pad12_downgrade.hpp | 2 +- .../op_conversions/convert_pad_to_group_conv.hpp | 2 +- .../convert_previous_nms_to_nms_5.hpp | 6 +++--- .../convert_previous_nms_to_nms_9.hpp | 8 ++++---- .../op_conversions/convert_prior_box_v8_to_v0.hpp | 2 +- .../op_conversions/convert_reduce_to_pooling.hpp | 2 ++ .../op_conversions/convert_reduce_to_reshape.hpp | 2 ++ .../op_conversions/convert_roi_align_v3_to_v9.hpp | 2 +- .../op_conversions/convert_roi_align_v9_to_v3.hpp | 2 +- .../convert_scatter_elements_to_scatter.hpp | 2 +- ...convert_scatter_elements_update12_downgrade.hpp | 2 +- .../convert_scatter_nd_update15_downgrade.hpp | 2 +- .../convert_sequences_to_tensor_iterator.hpp | 6 +++--- .../op_conversions/convert_shapeof3.hpp | 2 +- .../op_conversions/convert_shuffle_channels3.hpp | 2 +- .../convert_slice_to_strided_slice.hpp | 2 +- .../op_conversions/convert_slicescatter.hpp | 2 +- .../op_conversions/convert_softmax_downgrade.hpp | 2 +- .../op_conversions/convert_softmax_upgrade.hpp | 2 +- .../op_conversions/convert_space_to_batch.hpp | 2 +- .../op_conversions/convert_space_to_depth.hpp | 2 +- .../op_conversions/convert_squeeze15_downgrade.hpp | 2 +- .../op_conversions/convert_subtract.hpp | 4 ++-- .../op_conversions/convert_ti_to_sequences.hpp | 14 +++++++------- .../op_conversions/convert_topk11_downgrade.hpp | 2 +- .../op_conversions/convert_topk3.hpp | 2 +- .../op_conversions/convert_xor_to_logical_xor.hpp | 2 +- .../op_conversions/detection_output_downgrade.hpp | 2 +- .../op_conversions/detection_output_upgrade.hpp | 2 +- .../op_conversions/einsum_decomposition.hpp | 2 +- .../op_conversions/eye_decomposition.hpp | 2 +- .../op_conversions/fq_decomposition.hpp | 2 +- .../op_conversions/gelu7_downgrade.hpp | 2 +- .../group_normalization_decomposition.hpp | 2 +- .../op_conversions/gru_cell_decomposition.hpp | 2 +- .../op_conversions/hard_sigmoid_decomposition.hpp | 2 +- .../op_conversions/hsigmoid_decomposition.hpp | 2 +- .../op_conversions/hswish_decomposition.hpp | 2 +- .../op_conversions/log_softmax_decomposition.hpp | 2 +- .../op_conversions/lstm_cell_decomposition.hpp | 2 +- .../op_conversions/mvn6_decomposition.hpp | 2 +- .../op_conversions/normalize_l2_decomposition.hpp | 2 +- .../op_conversions/reduce_l1_decomposition.hpp | 2 +- .../op_conversions/reduce_l2_decomposition.hpp | 2 +- .../op_conversions/rnn_cell_decomposition.hpp | 2 +- .../scaled_dot_product_attention_decomposition.hpp | 2 +- .../simplify_ctc_greedy_decoder_seq_len.hpp | 2 +- .../op_conversions/softmax_decomposition.hpp | 2 +- .../op_conversions/softplus_decomposition.hpp | 2 +- .../op_conversions/softsign_decomposition.hpp | 2 +- .../op_conversions/unique_decomposition.hpp | 2 +- 87 files changed, 114 insertions(+), 109 deletions(-) diff --git a/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp index 9f4399804c50ff..362b946554e17d 100644 --- a/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/batch_norm_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API BatchNormDecomposition; class ov::pass::BatchNormDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BatchNormDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("BatchNormDecomposition"); BatchNormDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/bidirectional_sequences_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/bidirectional_sequences_decomposition.hpp index 2a1234ef7c041e..f74f08a9b8c061 100644 --- a/src/common/transformations/include/transformations/op_conversions/bidirectional_sequences_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/bidirectional_sequences_decomposition.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API BidirectionalRNNSequenceDecomposition; class ov::pass::BidirectionalLSTMSequenceDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BidirectionalLSTMSequenceDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("BidirectionalLSTMSequenceDecomposition"); BidirectionalLSTMSequenceDecomposition(); }; @@ -43,7 +43,7 @@ class ov::pass::BidirectionalLSTMSequenceDecomposition : public ov::pass::Matche class ov::pass::BidirectionalGRUSequenceDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BidirectionalGRUSequenceDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("BidirectionalGRUSequenceDecomposition"); BidirectionalGRUSequenceDecomposition(); }; @@ -55,7 +55,7 @@ class ov::pass::BidirectionalGRUSequenceDecomposition : public ov::pass::Matcher class ov::pass::BidirectionalRNNSequenceDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BidirectionalRNNSequenceDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("BidirectionalRNNSequenceDecomposition"); BidirectionalRNNSequenceDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp index 40f4e32b60af7e..1db9706fb8c776 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_avgpool_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertAvgPool14ToAvgPool1 : public MatcherPass { public: - OPENVINO_RTTI("ConvertAvgPool14ToAvgPool1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertAvgPool14ToAvgPool1"); ConvertAvgPool14ToAvgPool1(); }; } // namespace pass diff --git a/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp b/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp index f2792b467a96e0..2ecc2b8f9ced75 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_batch_to_space.hpp @@ -33,7 +33,7 @@ class TRANSFORMATIONS_API ConvertBatchToSpace; class ov::pass::ConvertBatchToSpace : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBatchToSpace", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBatchToSpace"); explicit ConvertBatchToSpace(bool convert_by_elements = true) : MatcherPass() { if (convert_by_elements) convert_batch_to_space_by_elements(); diff --git a/src/common/transformations/include/transformations/op_conversions/convert_bitwise_to_logical_bool.hpp b/src/common/transformations/include/transformations/op_conversions/convert_bitwise_to_logical_bool.hpp index 897bf9ea70fac0..a5e130e2389af2 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_bitwise_to_logical_bool.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_bitwise_to_logical_bool.hpp @@ -18,22 +18,22 @@ class TRANSFORMATIONS_API ConvertBitwiseXorToLogicalXor; class ov::pass::ConvertBitwiseAndToLogicalAnd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseAndToLogicalAnd", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseAndToLogicalAnd"); ConvertBitwiseAndToLogicalAnd(); }; class ov::pass::ConvertBitwiseNotToLogicalNot : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseNotToLogicalNot", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseNotToLogicalNot"); ConvertBitwiseNotToLogicalNot(); }; class ov::pass::ConvertBitwiseOrToLogicalOr : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseOrToLogicalOr", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseOrToLogicalOr"); ConvertBitwiseOrToLogicalOr(); }; class ov::pass::ConvertBitwiseXorToLogicalXor : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseXorToLogicalXor", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseXorToLogicalXor"); ConvertBitwiseXorToLogicalXor(); }; /** diff --git a/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp index 06687b9e07ba01..7518f26f5d0cbc 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_broadcast3.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertBroadcast3; class ov::pass::ConvertBroadcast3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBroadcast3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBroadcast3"); ConvertBroadcast3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp b/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp index 5d5934b33e8216..5c1f374bcb724c 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_broadcast_to_tiles.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertBroadcastToTiles; class ov::pass::ConvertBroadcastToTiles : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBroadcastToTiles", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertBroadcastToTiles"); ConvertBroadcastToTiles(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp b/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp index dfe5e5e7424d90..5952fc114b76fd 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_convertlike.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertConvertLike; class ov::pass::ConvertConvertLike : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertConvertLike", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertConvertLike"); ConvertConvertLike(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp b/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp index c4d95f1211bea5..bb6a593b588ffc 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_convertpromotetypes.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API ConvertConvertPromoteTypes; /// element type. class ov::pass::ConvertConvertPromoteTypes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertConvertPromoteTypes", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertConvertPromoteTypes"); ConvertConvertPromoteTypes(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp b/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp index 7db239e18d265a..37cf1935d85fbe 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_deformable_conv_v8_to_v1.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertDeformableConv8To1; */ class ov::pass::ConvertDeformableConv8To1 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDeformableConv8To1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDeformableConv8To1"); ConvertDeformableConv8To1(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp b/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp index 481006b7a05822..dc6124c4f6be2e 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_depth_to_space.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertDepthToSpace; class ov::pass::ConvertDepthToSpace : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDepthToSpace", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDepthToSpace"); ConvertDepthToSpace(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp b/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp index 66442bbdc123da..e0526bfd815745 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_divide.hpp @@ -21,12 +21,12 @@ class TRANSFORMATIONS_API ConvertDivideWithConstant; class ov::pass::ConvertDivide : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDivide", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDivide"); ConvertDivide(); }; class ov::pass::ConvertDivideWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDivideWithConstant", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDivideWithConstant"); ConvertDivideWithConstant(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp index 6ddbff4b7991b6..cbe39419438c52 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_offsets15_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertEmbeddingBagOffsets15ToEmbeddingBagOffsetsSum3 : public MatcherPass { public: - OPENVINO_RTTI("ConvertEmbeddingBagOffsets15ToEmbeddingBagOffsetsSum3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertEmbeddingBagOffsets15ToEmbeddingBagOffsetsSum3"); ConvertEmbeddingBagOffsets15ToEmbeddingBagOffsetsSum3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp index a925928a28a3d8..eb8b5ddf93435c 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_embedding_bag_packed15_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3 : public MatcherPass { public: - OPENVINO_RTTI("ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3"); ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_fc_to_compressed.hpp b/src/common/transformations/include/transformations/op_conversions/convert_fc_to_compressed.hpp index 1b6fcfb2bb3684..388de0610ce4fa 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_fc_to_compressed.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_fc_to_compressed.hpp @@ -18,10 +18,11 @@ class TRANSFORMATIONS_API ConvertFullyConnectedToFullyConnectedCompressed; class ov::pass::ConvertFullyConnectedToFullyConnectedCompressed : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("ConvertFullyConnectedToFullyConnectedCompressed"); + using SupportsPredicate = std::function&, size_t, size_t, size_t)>; - OPENVINO_RTTI("ConvertFullyConnectedToFullyConnectedCompressed", "0"); ConvertFullyConnectedToFullyConnectedCompressed(const std::vector& supported_activation_types, const std::vector& supported_weights_types, SupportsPredicate supports_config = nullptr, diff --git a/src/common/transformations/include/transformations/op_conversions/convert_fc_to_quantized_legacy.hpp b/src/common/transformations/include/transformations/op_conversions/convert_fc_to_quantized_legacy.hpp index 88990f92cb573c..b0f86055a4da17 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_fc_to_quantized_legacy.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_fc_to_quantized_legacy.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertFCToFCQuantizedLegacy; class ov::pass::ConvertFCToFCQuantizedLegacy : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertFullyConnectedToFullyConnectedQuantized", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertFCToFCQuantizedLegacy"); ConvertFCToFCQuantizedLegacy(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp index 75f9dd967d48c8..9a1798e4319fe1 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_0d.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ConvertGather0D; */ class ov::pass::ConvertGather0D : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGather0D", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGather0D"); ConvertGather0D(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp index dfdbed915679b2..966175079ad30d 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_downgrade.hpp @@ -22,7 +22,7 @@ class TRANSFORMATIONS_API ConvertGather8ToGather7; */ class ov::pass::ConvertGather7ToGather1 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGather7ToGather1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGather7ToGather1"); ConvertGather7ToGather1(); }; @@ -32,6 +32,6 @@ class ov::pass::ConvertGather7ToGather1 : public ov::pass::MatcherPass { */ class ov::pass::ConvertGather8ToGather7 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGather8ToGather7", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGather8ToGather7"); ConvertGather8ToGather7(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp index a916e9a4b91a44..edfdd3d5a07146 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_to_compressed.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertGatherToGatherCompressed; class ov::pass::ConvertGatherToGatherCompressed : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGatherToGatherCompressed", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGatherToGatherCompressed"); ConvertGatherToGatherCompressed(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp index ec8f8be61c3015..1c04190f4d7d0f 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gather_upgrade.hpp @@ -23,7 +23,7 @@ class TRANSFORMATIONS_API ConvertGather7ToGather8; */ class ov::pass::ConvertGather1ToGather7 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGather1ToGather7", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGather1ToGather7"); ConvertGather1ToGather7(); }; @@ -33,6 +33,6 @@ class ov::pass::ConvertGather1ToGather7 : public ov::pass::MatcherPass { */ class ov::pass::ConvertGather7ToGather8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGather7ToGather8", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGather7ToGather8"); ConvertGather7ToGather8(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp index 498872814f9cbb..dd9334381b3d8e 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gelu.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertGELU; class ov::pass::ConvertGELU : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGELU", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGELU"); ConvertGELU(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp index 9fe62aad7fbd8c..a2c82137387172 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_gp9_to_gp_ie_internal.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertGP9ToGPIEInternal; class ov::pass::ConvertGP9ToGPIEInternal : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGP9ToGPIEInternal", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGP9ToGPIEInternal"); ConvertGP9ToGPIEInternal(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp index 8c136aa918f5f0..edca5bee3f215b 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_interpolate11_downgrade.hpp @@ -16,7 +16,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertInterpolate11ToInterpolate4 : public MatcherPass { public: - OPENVINO_RTTI("ConvertInterpolate11ToInterpolate4", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertInterpolate11ToInterpolate4"); ConvertInterpolate11ToInterpolate4(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp b/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp index f3b07c36962ccd..48822472ecbfd9 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_interpolate1_to_interpolate4.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ConvertInterpolate1ToInterpolate4; */ class ov::pass::ConvertInterpolate1ToInterpolate4 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertInterpolate1ToInterpolate4", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertInterpolate1ToInterpolate4"); ConvertInterpolate1ToInterpolate4(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp b/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp index 6d414139ad6f57..ea52625c9df1ae 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_matrix_nms_to_matrix_nms_ie.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertMatrixNmsToMatrixNmsIE; class ov::pass::ConvertMatrixNmsToMatrixNmsIE : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMatrixNmsToMatrixNmsIE", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMatrixNmsToMatrixNmsIE"); ConvertMatrixNmsToMatrixNmsIE(bool force_i32_output_type = true); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp index 953cbab8a801a7..fc778773825c5c 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_downgrade.hpp @@ -22,7 +22,7 @@ class TRANSFORMATIONS_API ConvertMaxPool14ToMaxPool8; */ class ov::pass::ConvertMaxPool8ToMaxPool1 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMaxPool8ToMaxPool1"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMaxPool8ToMaxPool1"); ConvertMaxPool8ToMaxPool1(); }; @@ -32,6 +32,6 @@ class ov::pass::ConvertMaxPool8ToMaxPool1 : public ov::pass::MatcherPass { */ class ov::pass::ConvertMaxPool14ToMaxPool8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMaxPool14ToMaxPool8", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMaxPool14ToMaxPool8"); ConvertMaxPool14ToMaxPool8(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp index 6e7eed21342584..538b04bc9e254c 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_maxpool_upgrade.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConvertMaxPool1ToMaxPool8; class ov::pass::ConvertMaxPool1ToMaxPool8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMaxPool1ToMaxPool8"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMaxPool1ToMaxPool8"); ConvertMaxPool1ToMaxPool8(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp b/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp index d092ffec29d8c4..95e9a8e4f171db 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_minimum_to_power_and_max.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertMinimum; class ov::pass::ConvertMinimum : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMinimum", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMinimum"); ConvertMinimum(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp b/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp index 0fbd3bba723ecb..8c6cedbd67d635 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_mod.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertMod; class ov::pass::ConvertMod : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMod", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMod"); ConvertMod(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp index 361d2352928b7e..8f003a05f874dd 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_to_multiclass_nms_ie.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertMulticlassNmsToMulticlassNmsIE; class ov::pass::ConvertMulticlassNmsToMulticlassNmsIE : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("public", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMulticlassNmsToMulticlassNmsIE"); ConvertMulticlassNmsToMulticlassNmsIE(bool force_i32_output_type = true); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp index 1f3e9e9b5caf08..425ec26e78ccad 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_multiclass_nms_upgrade.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertMulticlassNms8ToMulticlassNms9; class ov::pass::ConvertMulticlassNms8ToMulticlassNms9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMulticlassNms8ToMulticlassNms9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMulticlassNms8ToMulticlassNms9"); ConvertMulticlassNms8ToMulticlassNms9(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp b/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp index d958d166f7270d..9af05fa1f05891 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_mvn1_to_mvn6.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertMVN1ToMVN6; */ class ov::pass::ConvertMVN1ToMVN6 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMVN1ToMVN6", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertMVN1ToMVN6"); ConvertMVN1ToMVN6(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp b/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp index b985f4bfe7f639..71df6767812c35 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_negative.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertNegative; class ov::pass::ConvertNegative : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNegative", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNegative"); ConvertNegative(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp index fee970b6b44bfc..5bfd769e122e6b 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_nms9_to_nms_ie_internal.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertNMS9ToNMSIEInternal; class ov::pass::ConvertNMS9ToNMSIEInternal : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS9ToNMSIEInternal", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS9ToNMSIEInternal"); ConvertNMS9ToNMSIEInternal(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp index dcee03e513b38e..bf06c81e08e197 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_nms_rotated_to_nms_ie_internal.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertNMSRotatedToNMSIEInternal; class ov::pass::ConvertNMSRotatedToNMSIEInternal : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMSRotatedToNMSIEInternal", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMSRotatedToNMSIEInternal"); ConvertNMSRotatedToNMSIEInternal(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp b/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp index ca205fe9078f7a..e8e34ce249d241 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_nms_to_nms_ie_internal.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertNMSToNMSIEInternal; class ov::pass::ConvertNMSToNMSIEInternal : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMSToNMSIEInternal", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMSToNMSIEInternal"); ConvertNMSToNMSIEInternal(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp index 36ca9112b07829..263c71fb83dc76 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_pad12_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertPad12ToPad1 : public MatcherPass { public: - OPENVINO_RTTI("ConvertPad12ToPad1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertPad12ToPad1"); ConvertPad12ToPad1(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp b/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp index a89386bd7048cb..7c3f44a439ee6e 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_pad_to_group_conv.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API ConvertPadToGroupConvolution; class ov::pass::ConvertPadToGroupConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertPadToGroupConvolution", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertPadToGroupConvolution"); ConvertPadToGroupConvolution(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp index 8a4c0ee3110c1b..bc0d79220a5474 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_5.hpp @@ -22,18 +22,18 @@ class TRANSFORMATIONS_API ConvertNMS4ToNMS5; class ov::pass::ConvertNMS1ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS1ToNMS5", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS1ToNMS5"); ConvertNMS1ToNMS5(); }; class ov::pass::ConvertNMS3ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS5", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS3ToNMS5"); ConvertNMS3ToNMS5(); }; class ov::pass::ConvertNMS4ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS5", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS4ToNMS5"); ConvertNMS4ToNMS5(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp index f77db7a03f8606..feff6577d6cb07 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_previous_nms_to_nms_9.hpp @@ -23,24 +23,24 @@ class TRANSFORMATIONS_API ConvertNMS5ToNMS9; class ov::pass::ConvertNMS1ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS1ToNMS9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS1ToNMS9"); ConvertNMS1ToNMS9(); }; class ov::pass::ConvertNMS3ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS3ToNMS9"); ConvertNMS3ToNMS9(); }; class ov::pass::ConvertNMS4ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS4ToNMS9"); ConvertNMS4ToNMS9(); }; class ov::pass::ConvertNMS5ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS5ToNMS9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS5ToNMS9"); ConvertNMS5ToNMS9(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp b/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp index 2725d789a83a70..435a96b8e1cbc7 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_prior_box_v8_to_v0.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertPriorBox8To0; */ class ov::pass::ConvertPriorBox8To0 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertPriorBox8To0", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertPriorBox8To0"); ConvertPriorBox8To0(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_pooling.hpp b/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_pooling.hpp index 662660b926aa52..36d2b052243382 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_pooling.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_pooling.hpp @@ -35,6 +35,8 @@ class TRANSFORMATIONS_API ConvertReduceSumToPooling; class ConvertReduceBase : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("ConvertReduceBase"); + template ov::matcher_pass_callback convert_reduce_to_pooling(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_reshape.hpp b/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_reshape.hpp index 15e303f0c26493..f020e768be2feb 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_reshape.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_reduce_to_reshape.hpp @@ -32,6 +32,8 @@ class TRANSFORMATIONS_API ConvertReduceLogicalOrToReshape; class CvtReduceBase : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("CvtReduceBase"); + template ov::matcher_pass_callback convert_reduce_to_reshape(); diff --git a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp index 71f6becff0ba26..77c99e37b66533 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v3_to_v9.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertROIAlign3To9; */ class ov::pass::ConvertROIAlign3To9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertROIAlign3To9", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertROIAlign3To9"); ConvertROIAlign3To9(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp index d06dc424ff436e..11b9567e78eb3e 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_roi_align_v9_to_v3.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertROIAlign9To3; */ class ov::pass::ConvertROIAlign9To3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertROIAlign9To3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertROIAlign9To3"); ConvertROIAlign9To3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp index d0a738c14fab9c..f8a2eb828e97b9 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_to_scatter.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API ConvertScatterElementsToScatter; */ class ov::pass::ConvertScatterElementsToScatter : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertScatterElementsToScatter", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertScatterElementsToScatter"); ConvertScatterElementsToScatter(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp index 4af4e18c706e93..7e6d4613f109a8 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_elements_update12_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertScatterElementsUpdate12ToScatterElementsUpdate3 : public MatcherPass { public: - OPENVINO_RTTI("ConvertScatterElementsUpdate12ToScatterElementsUpdate3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertScatterElementsUpdate12ToScatterElementsUpdate3"); ConvertScatterElementsUpdate12ToScatterElementsUpdate3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp index dfaab66e22501c..4af9172e6351cb 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_scatter_nd_update15_downgrade.hpp @@ -16,7 +16,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertScatterNDUpdate15ToScatterNDUpdate3 : public MatcherPass { public: - OPENVINO_RTTI("ConvertScatterNDUpdate15ToScatterNDUpdate3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertScatterNDUpdate15ToScatterNDUpdate3"); ConvertScatterNDUpdate15ToScatterNDUpdate3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_sequences_to_tensor_iterator.hpp b/src/common/transformations/include/transformations/op_conversions/convert_sequences_to_tensor_iterator.hpp index 44502b42174de6..46a7e8ff0317e9 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_sequences_to_tensor_iterator.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_sequences_to_tensor_iterator.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API ConvertSequenceToTensorIterator; class ov::pass::ConvertRNNSequenceToTensorIterator : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertRNNSequenceToTensorIterator", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertRNNSequenceToTensorIterator"); ConvertRNNSequenceToTensorIterator(); }; @@ -41,7 +41,7 @@ class ov::pass::ConvertRNNSequenceToTensorIterator : public ov::pass::MatcherPas class ov::pass::ConvertGRUSequenceToTensorIterator : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGRUSequenceToTensorIterator", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertGRUSequenceToTensorIterator"); ConvertGRUSequenceToTensorIterator(); }; @@ -53,7 +53,7 @@ class ov::pass::ConvertGRUSequenceToTensorIterator : public ov::pass::MatcherPas class ov::pass::ConvertLSTMSequenceToTensorIterator : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLSTMSequenceToTensorIterator", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertLSTMSequenceToTensorIterator"); ConvertLSTMSequenceToTensorIterator(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp index 0aceb9e99614fb..831ba981cb16d6 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_shapeof3.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertShapeOf3; class ov::pass::ConvertShapeOf3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertShapeOf3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertShapeOf3"); ConvertShapeOf3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp index 05b2d2607464b8..ac03068aa78298 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_shuffle_channels3.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertShuffleChannels3; class ov::pass::ConvertShuffleChannels3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertShuffleChannels3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertShuffleChannels3"); ConvertShuffleChannels3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp b/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp index 8d396bca6ccd1e..b32c277b1a2b23 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_slice_to_strided_slice.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API SliceToStridedSlice; */ class ov::pass::SliceToStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SliceToStridedSlice", "0"); + OPENVINO_MATCHER_PASS_RTTI("SliceToStridedSlice"); SliceToStridedSlice(bool use_shapes); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_slicescatter.hpp b/src/common/transformations/include/transformations/op_conversions/convert_slicescatter.hpp index 020b4e236fcac5..58dd6dbc39ac49 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_slicescatter.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_slicescatter.hpp @@ -17,6 +17,6 @@ class TRANSFORMATIONS_API ConvertSliceScatter; class ov::pass::ConvertSliceScatter : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSliceScatter", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSliceScatter"); ConvertSliceScatter(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp index 701f2cb94e9857..b8cd2907f82cdd 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_softmax_downgrade.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertSoftMax8ToSoftMax1; */ class ov::pass::ConvertSoftMax8ToSoftMax1 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSoftMax8ToSoftMax1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSoftMax8ToSoftMax1"); ConvertSoftMax8ToSoftMax1(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp index 2164eac6052384..a7a0ef5b01aee1 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_softmax_upgrade.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConvertSoftMax1ToSoftMax8; class ov::pass::ConvertSoftMax1ToSoftMax8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSoftMax1ToSoftMax8", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSoftMax1ToSoftMax8"); ConvertSoftMax1ToSoftMax8(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp b/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp index 97bda0273c522f..235a56b728876a 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_space_to_batch.hpp @@ -33,7 +33,7 @@ class TRANSFORMATIONS_API ConvertSpaceToBatch; class ov::pass::ConvertSpaceToBatch : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSpaceToBatch", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSpaceToBatch"); explicit ConvertSpaceToBatch(bool convert_by_elements = true) : MatcherPass() { if (convert_by_elements) convert_space_to_batch_by_elements(); diff --git a/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp b/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp index da97add26411a8..6edf57f4c254fe 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_space_to_depth.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertSpaceToDepth; class ov::pass::ConvertSpaceToDepth : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSpaceToDepth", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSpaceToDepth"); ConvertSpaceToDepth(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_squeeze15_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_squeeze15_downgrade.hpp index c2ebfbc0f3138b..d35858ce10b3f4 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_squeeze15_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_squeeze15_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertSqueeze15ToSqueeze0 : public MatcherPass { public: - OPENVINO_RTTI("ConvertSqueeze15ToSqueeze0", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSqueeze15ToSqueeze0"); ConvertSqueeze15ToSqueeze0(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp b/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp index 5b2a5d0c36abdf..c6baf673efe95c 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_subtract.hpp @@ -21,12 +21,12 @@ class TRANSFORMATIONS_API ConvertSubtractWithConstant; class ov::pass::ConvertSubtract : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtract", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSubtract"); ConvertSubtract(); }; class ov::pass::ConvertSubtractWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtractWithConstant", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertSubtractWithConstant"); ConvertSubtractWithConstant(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_ti_to_sequences.hpp b/src/common/transformations/include/transformations/op_conversions/convert_ti_to_sequences.hpp index e729d735c652d1..fb53cc81743ec4 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_ti_to_sequences.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_ti_to_sequences.hpp @@ -36,7 +36,7 @@ class TRANSFORMATIONS_API FuseLSTMSequencesToBidirectionalLSTMSequence; class ov::pass::ConvertTensorIteratorToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTensorIteratorToLSTMSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTensorIteratorToLSTMSequence"); ConvertTensorIteratorToLSTMSequence(); }; @@ -48,7 +48,7 @@ class ov::pass::ConvertTensorIteratorToLSTMSequence : public ov::pass::MatcherPa class ov::pass::ConvertTensorIteratorToRNNSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTensorIteratorToRNNSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTensorIteratorToRNNSequence"); ConvertTensorIteratorToRNNSequence(); }; @@ -60,7 +60,7 @@ class ov::pass::ConvertTensorIteratorToRNNSequence : public ov::pass::MatcherPas class ov::pass::ConvertTensorIteratorToGRUSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTensorIteratorToGRUSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTensorIteratorToGRUSequence"); ConvertTensorIteratorToGRUSequence(); }; @@ -72,13 +72,13 @@ class ov::pass::ConvertTensorIteratorToSequence : public GraphRewrite { class ov::pass::ConvertLoopWithSlicedInputConcatOutputToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLoopWithSlicedInputConcatOutputToLSTMSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertLoopWithSlicedInputConcatOutputToLSTMSequence"); ConvertLoopWithSlicedInputConcatOutputToLSTMSequence(); }; class ov::pass::ConvertLoopWithScatterUpdateToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLoopWithScatterUpdateToLSTMSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertLoopWithScatterUpdateToLSTMSequence"); ConvertLoopWithScatterUpdateToLSTMSequence(); }; @@ -101,7 +101,7 @@ class ov::pass::ConvertLoopToLSTMSequence : public ov::pass::GraphRewrite { */ class ov::pass::FuseReverseLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseReverseLSTMSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("FuseReverseLSTMSequence"); FuseReverseLSTMSequence(); }; @@ -111,6 +111,6 @@ class ov::pass::FuseReverseLSTMSequence : public ov::pass::MatcherPass { */ class ov::pass::FuseLSTMSequencesToBidirectionalLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseLSTMSequencesToBidirectionalLSTMSequence", "0"); + OPENVINO_MATCHER_PASS_RTTI("FuseLSTMSequencesToBidirectionalLSTMSequence"); FuseLSTMSequencesToBidirectionalLSTMSequence(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp index e6e8340e45df94..fd5be9a10c10ef 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_topk11_downgrade.hpp @@ -15,7 +15,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvertTopK11ToTopK3 : public MatcherPass { public: - OPENVINO_RTTI("ConvertTopK11ToTopK3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTopK11ToTopK3"); ConvertTopK11ToTopK3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp b/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp index 0b61bf85bff28f..0f3f6ea160f825 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_topk3.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API ConvertTopK3; class ov::pass::ConvertTopK3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTopK3", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertTopK3"); ConvertTopK3(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp b/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp index ee7bf0f55615bd..0940f5f1a67b51 100644 --- a/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp +++ b/src/common/transformations/include/transformations/op_conversions/convert_xor_to_logical_xor.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertXorToLogicalXor; */ class ov::pass::ConvertXorToLogicalXor : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertXorToLogicalXor", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertXorToLogicalXor"); ConvertXorToLogicalXor(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp index 8f4e6ad237a6b0..b730f78b2291e8 100644 --- a/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/detection_output_downgrade.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConvertDetectionOutput8ToDetectionOutput1; */ class ov::pass::ConvertDetectionOutput8ToDetectionOutput1 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDetectionOutput8ToDetectionOutput1", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDetectionOutput8ToDetectionOutput1"); ConvertDetectionOutput8ToDetectionOutput1(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp b/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp index 8693fb206ed2cd..de92f382af92b3 100644 --- a/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/detection_output_upgrade.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConvertDetectionOutput1ToDetectionOutput8; */ class ov::pass::ConvertDetectionOutput1ToDetectionOutput8 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDetectionOutput1ToDetectionOutput8", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertDetectionOutput1ToDetectionOutput8"); ConvertDetectionOutput1ToDetectionOutput8(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp index 78accf3f0b4877..e67367a2e93bab 100644 --- a/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/einsum_decomposition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API EinsumDecomposition; */ class ov::pass::EinsumDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EinsumDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("EinsumDecomposition"); EinsumDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp index 15c53bc9cf6f30..29913d429b8462 100644 --- a/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/eye_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API EyeDecomposition; */ class ov::pass::EyeDecomposition : public MatcherPass { public: - OPENVINO_RTTI("EyeDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("EyeDecomposition"); EyeDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp index d938a9b70687e2..d099c268d2d7b0 100644 --- a/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/fq_decomposition.hpp @@ -44,6 +44,6 @@ class TRANSFORMATIONS_API FakeQuantizeDecomposition; class ov::pass::FakeQuantizeDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("FakeQuantizeDecomposition"); FakeQuantizeDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp b/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp index d08c3877de26a1..be26ea4c14625c 100644 --- a/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp +++ b/src/common/transformations/include/transformations/op_conversions/gelu7_downgrade.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API Gelu7Downgrade; */ class ov::pass::Gelu7Downgrade : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Gelu7Downgrade", "0"); + OPENVINO_MATCHER_PASS_RTTI("Gelu7Downgrade"); Gelu7Downgrade(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp index 8df9c220a9de75..47c908eb8ac6f5 100644 --- a/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/group_normalization_decomposition.hpp @@ -18,6 +18,6 @@ class TRANSFORMATIONS_API GroupNormalizationDecomposition; // This transformation expresses GroupNormalization with a sub-graph of OpenVINO operations class ov::pass::GroupNormalizationDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupNormalizationDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("GroupNormalizationDecomposition"); GroupNormalizationDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp index ce4387293f97ad..1060d266b7fd0a 100644 --- a/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/gru_cell_decomposition.hpp @@ -36,6 +36,6 @@ class TRANSFORMATIONS_API GRUCellDecomposition; class ov::pass::GRUCellDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GRUCellDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("GRUCellDecomposition"); GRUCellDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp index b635a08350922b..b7636aeb5d6d68 100644 --- a/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/hard_sigmoid_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API HardSigmoidDecomposition; */ class ov::pass::HardSigmoidDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HardSigmoidDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("HardSigmoidDecomposition"); HardSigmoidDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp index 5a455c37253afe..e597bc75f8600d 100644 --- a/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/hsigmoid_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API HSigmoidDecomposition; */ class ov::pass::HSigmoidDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidDecomposition"); HSigmoidDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp index e6168109d3c89b..8d05edc3afa650 100644 --- a/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/hswish_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API HSwishDecomposition; */ class ov::pass::HSwishDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("HSwishDecomposition"); HSwishDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp index f972a0cdd8fa76..84e444c12fccec 100644 --- a/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/log_softmax_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API LogSoftmaxDecomposition; */ class ov::pass::LogSoftmaxDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LogSoftmaxDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("LogSoftmaxDecomposition"); LogSoftmaxDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp index 08b109533738cf..94077e21b472cb 100644 --- a/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/lstm_cell_decomposition.hpp @@ -37,6 +37,6 @@ class TRANSFORMATIONS_API LSTMCellDecomposition; class ov::pass::LSTMCellDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("LSTMCellDecomposition"); LSTMCellDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp index f8335f5f4546f2..abacd721fa23a7 100644 --- a/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/mvn6_decomposition.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API MVN6Decomposition; */ class ov::pass::MVN6Decomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVN6Decomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("MVN6Decomposition"); MVN6Decomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp index ae058a3e8cba2f..18f071f8f6fb03 100644 --- a/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/normalize_l2_decomposition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API NormalizeL2Decomposition; */ class ov::pass::NormalizeL2Decomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NormalizeL2Decomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("NormalizeL2Decomposition"); NormalizeL2Decomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp index 506853e003e33a..1d8cc22089a93d 100644 --- a/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/reduce_l1_decomposition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API ReduceL1Decomposition; */ class ov::pass::ReduceL1Decomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceL1Decomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReduceL1Decomposition"); ReduceL1Decomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp index dab02ff58f2f5c..8bf9955d523593 100644 --- a/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/reduce_l2_decomposition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API ReduceL2Decomposition; */ class ov::pass::ReduceL2Decomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceL2Decomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("ReduceL2Decomposition"); ReduceL2Decomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp index ce651a47510577..475f2bf1cdf73e 100644 --- a/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/rnn_cell_decomposition.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API RNNCellDecomposition; class ov::pass::RNNCellDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RNNCellDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("RNNCellDecomposition"); RNNCellDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp index e52c6ba46838b9..f86175c617c0fc 100644 --- a/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/scaled_dot_product_attention_decomposition.hpp @@ -18,7 +18,7 @@ class TRANSFORMATIONS_API ScaledDotProductAttentionDecomposition; class ov::pass::ScaledDotProductAttentionDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ScaledDotProductAttentionDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("ScaledDotProductAttentionDecomposition"); ScaledDotProductAttentionDecomposition(); std::shared_ptr decompose(std::shared_ptr node); }; diff --git a/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp b/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp index 70cd9bbe0162c5..e900f3c3d213f7 100644 --- a/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp +++ b/src/common/transformations/include/transformations/op_conversions/simplify_ctc_greedy_decoder_seq_len.hpp @@ -37,6 +37,6 @@ class TRANSFORMATIONS_API SimplifyCTCGreedyDecoderSeqLen; */ class ov::pass::SimplifyCTCGreedyDecoderSeqLen : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifyCTCGreedyDecoderSeqLen", "0"); + OPENVINO_MATCHER_PASS_RTTI("SimplifyCTCGreedyDecoderSeqLen"); SimplifyCTCGreedyDecoderSeqLen(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp index a1ab4be69fdc62..0e13fd516b13e7 100644 --- a/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/softmax_decomposition.hpp @@ -69,6 +69,6 @@ class TRANSFORMATIONS_API SoftmaxDecomposition; class ov::pass::SoftmaxDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftmaxDecomposition"); SoftmaxDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp index 3a7cca9ff5c8b1..ef52b8ab922d3b 100644 --- a/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/softplus_decomposition.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusDecomposition; */ class ov::pass::SoftPlusDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftPlusDecomposition"); SoftPlusDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp index bfd026f21eb111..300761470b73ce 100644 --- a/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/softsign_decomposition.hpp @@ -40,6 +40,6 @@ class TRANSFORMATIONS_API SoftSignDecomposition; class ov::pass::SoftSignDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftSignDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("SoftSignDecomposition"); SoftSignDecomposition(); }; diff --git a/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp b/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp index 02f889e7d3122a..6169a0a512e4f3 100644 --- a/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp +++ b/src/common/transformations/include/transformations/op_conversions/unique_decomposition.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API UniqueDecomposition; // This transformation expresses Unique with a sub-graph of OpenVINO operations class ov::pass::UniqueDecomposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UniqueDecomposition", "0"); + OPENVINO_MATCHER_PASS_RTTI("UniqueDecomposition"); UniqueDecomposition(); };