From 87f0fdd7b5b829bc9c0096c29e4bf2216f56d13c Mon Sep 17 00:00:00 2001 From: Cathy Bao Date: Mon, 28 Oct 2024 18:53:16 -0700 Subject: [PATCH 01/16] Additional RTTI Fix Fix RTTI declaration Co-authored-by: Venkat R --- .../src/assign_and_read_value.cpp | 2 +- .../src/low_precision.cpp | 2 +- .../src/markup_can_be_quantized.cpp | 8 ++--- .../src/pruning/init_const_mask.cpp | 2 +- .../src/pruning/init_masks.cpp | 4 +-- .../src/pruning/propagate_masks.cpp | 10 +++--- .../src/pruning/shrink_weights.cpp | 4 +-- .../include/snippets/pass/validate.hpp | 2 +- .../include/ov_ops/gather_compressed.hpp | 2 +- .../ov_ops/generate_proposals_ie_internal.hpp | 2 +- .../include/ov_ops/nms_ie_internal.hpp | 2 +- .../transformations/include/ov_ops/rms.hpp | 2 +- .../adaptive_pool_to_reduce.hpp | 2 +- .../add_fake_quantize_fusion.hpp | 2 +- .../align_eltwise_input_ranks.hpp | 2 +- .../augru_cell_fusion.hpp | 2 +- .../batch_to_space_fusion.hpp | 2 +- .../common_optimizations/binarize_weights.hpp | 2 +- .../broadcast_elementwise_fusion.hpp | 2 +- .../broadcast_transition.hpp | 2 +- .../change_placeholder_types.hpp | 2 +- .../common_optimizations/clamp_fusion.hpp | 2 +- .../common_optimizations.hpp | 2 +- .../compress_float_constants.hpp | 4 +-- .../common_optimizations/concat_fusion.hpp | 2 +- .../concat_reduce_fusion.hpp | 6 ++-- .../concat_to_broadcast.hpp | 2 +- .../common_optimizations/conv_mul_fusion.hpp | 8 ++--- .../conv_to_binary_conv.hpp | 2 +- .../convert_nms_gather_path_to_unsigned.hpp | 2 +- .../convert_quantize_dequantize.hpp | 2 +- ...onvert_u4_weights_zero_point_to_scalar.hpp | 2 +- ...onvolution_to_group_convolution_fusion.hpp | 2 +- .../depth_to_space_fusion.hpp | 2 +- .../dilated_convolution_converter.hpp | 2 +- .../dimension_tracking.hpp | 2 +- ...isable_random_uniform_constant_folding.hpp | 2 +- .../disable_shapeof_constant_folding.hpp | 2 +- .../common_optimizations/divide_fusion.hpp | 2 +- .../dropout_with_random_uniform_replacer.hpp | 2 +- .../eliminate_duplicate_ti_inputs.hpp | 2 +- .../eliminate_loop_inputs_outputs.hpp | 2 +- .../eliminate_unsqueeze_gather.hpp | 4 +-- .../enable_shapeof_constant_folding.hpp | 2 +- .../fold_subgraph_empty_inputs.hpp | 4 +-- .../common_optimizations/fq_mul_fusion.hpp | 2 +- .../fq_reshape_fusion.hpp | 2 +- .../fused_names_cleanup.hpp | 2 +- .../common_optimizations/gelu_fusion.hpp | 14 ++++---- .../common_optimizations/gru_cell_fusion.hpp | 2 +- .../common_optimizations/hsigmoid_fusion.hpp | 12 +++---- .../common_optimizations/hswish_fusion.hpp | 10 +++--- .../interpolate_sequence_fusion.hpp | 2 +- .../leaky_relu_fusion.hpp | 2 +- .../lin_op_sequence_fusion.hpp | 8 ++--- .../common_optimizations/lstm_cell_fusion.hpp | 6 ++-- ..._precision_sensitive_shapeof_subgraphs.hpp | 8 ++--- ..._rope_input_to_keep_in_mixed_precision.hpp | 2 +- .../matmul_const_transposes_extraction.hpp | 2 +- .../matmul_multiply_fusion.hpp | 2 +- .../common_optimizations/mish_fusion.hpp | 2 +- .../moc_legacy_transformations.hpp | 2 +- .../move_eltwise_up_data_movement.hpp | 6 ++-- .../common_optimizations/mul_conv_fusion.hpp | 8 ++--- .../mul_fake_quantize_fusion.hpp | 2 +- .../common_optimizations/mvn_fusion.hpp | 6 ++-- .../nearest_neighbor_upsampling_fusion.hpp | 2 +- .../nonzero_horizontal_fusion.hpp | 2 +- .../common_optimizations/nop_elimination.hpp | 36 +++++++++---------- .../normalize_l2_fusion.hpp | 2 +- .../optimize_strided_slice.hpp | 8 ++--- .../common_optimizations/pad_fusion.hpp | 12 +++---- .../common_optimizations/prelu_fusion.hpp | 14 ++++---- .../pull_through_reduce.hpp | 6 ++-- .../pull_transpose_through_fq.hpp | 2 +- .../push_constant_to_subgraph.hpp | 2 +- .../random_uniform_fusion.hpp | 2 +- .../common_optimizations/reduce_merge.hpp | 2 +- .../reduce_reshape_fusion.hpp | 2 +- .../relu_fake_quantize_fusion.hpp | 2 +- .../remove_concat_zero_dim_input.hpp | 4 +-- .../remove_filtering_boxes_by_size.hpp | 4 +-- ...move_multi_subgraph_op_dangling_params.hpp | 2 +- .../common_optimizations/reshape_prelu.hpp | 2 +- .../reshape_sequence_fusion.hpp | 2 +- .../reverse_shape_and_type_infer.hpp | 2 +- .../common_optimizations/ric_fusion.hpp | 2 +- .../common_optimizations/rms_fusion.hpp | 2 +- .../select_with_one_value_condition.hpp | 2 +- .../common_optimizations/sequence_fusion.hpp | 2 +- .../shared_ops_optimization.hpp | 2 +- .../shuffle_channels_fusion.hpp | 2 +- .../simplify_shape_of_sub_graph.hpp | 12 +++---- ...ip_gather_before_transpose_and_reshape.hpp | 2 +- .../common_optimizations/softmax_fusion.hpp | 2 +- .../common_optimizations/softplus_fusion.hpp | 2 +- .../softplus_to_mish_fusion.hpp | 2 +- .../space_to_batch_fusion.hpp | 2 +- ...plit_concat_pair_to_interpolate_fusion.hpp | 2 +- .../split_squeeze_concat_fusion.hpp | 2 +- .../strides_optimization.hpp | 8 ++--- .../common_optimizations/subtract_fusion.hpp | 2 +- .../common_optimizations/swish_fusion.hpp | 10 +++--- ...anspose_reshape_elimination_for_matmul.hpp | 2 +- .../transpose_sinking.hpp | 12 +++---- .../transpose_to_reshape.hpp | 2 +- .../weights_dequantize_to_fake_quantize.hpp | 2 +- .../wrap_interpolate_into_transposes.hpp | 2 +- .../control_flow/unroll_if.hpp | 2 +- .../control_flow/unroll_tensor_iterator.hpp | 2 +- .../transformations/convert_precision.hpp | 2 +- .../flush_fp32_subnormals_to_zero.hpp | 2 +- .../align_mixed_fp32_fp16_types.hpp | 2 +- .../convert_compression_only_to_legacy.hpp | 2 +- ...decompression_convert_constant_folding.hpp | 10 +++--- ...k_subgraphs_to_keep_in_mixed_precision.hpp | 2 +- .../include/transformations/hash.hpp | 2 +- .../transformations/init_node_info.hpp | 2 +- .../mark_dequantization_subgraph.hpp | 2 +- .../batch_norm_decomposition.hpp | 2 +- .../bidirectional_sequences_decomposition.hpp | 8 ++--- .../convert_avgpool_downgrade.hpp | 2 +- .../op_conversions/convert_batch_to_space.hpp | 2 +- .../convert_bitwise_to_logical_bool.hpp | 10 +++--- .../op_conversions/convert_broadcast3.hpp | 2 +- .../convert_broadcast_to_tiles.hpp | 2 +- .../op_conversions/convert_convertlike.hpp | 2 +- .../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 +-- ...vert_embedding_bag_offsets15_downgrade.hpp | 2 +- ...nvert_embedding_bag_packed15_downgrade.hpp | 2 +- .../op_conversions/convert_gather_0d.hpp | 2 +- .../convert_gather_downgrade.hpp | 4 +-- .../convert_gather_to_compressed.hpp | 2 +- .../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 +- .../convert_maxpool_downgrade.hpp | 4 +-- .../convert_maxpool_upgrade.hpp | 2 +- .../convert_minimum_to_power_and_max.hpp | 2 +- .../op_conversions/convert_mod.hpp | 2 +- ...rt_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 +- .../convert_pad12_downgrade.hpp | 2 +- .../convert_pad_to_group_conv.hpp | 2 +- .../convert_previous_nms_to_nms_5.hpp | 6 ++-- .../convert_previous_nms_to_nms_9.hpp | 8 ++--- .../convert_prior_box_v8_to_v0.hpp | 2 +- .../convert_reduce_to_pooling.hpp | 8 ++--- .../convert_reduce_to_reshape.hpp | 16 ++++----- .../convert_roi_align_v3_to_v9.hpp | 2 +- .../convert_roi_align_v9_to_v3.hpp | 2 +- .../convert_scatter_elements_to_scatter.hpp | 2 +- ...rt_scatter_elements_update12_downgrade.hpp | 2 +- .../convert_scatter_nd_update15_downgrade.hpp | 2 +- .../convert_sequences_to_tensor_iterator.hpp | 8 ++--- .../op_conversions/convert_shapeof3.hpp | 2 +- .../convert_shuffle_channels3.hpp | 2 +- .../convert_slice_to_strided_slice.hpp | 2 +- .../convert_softmax_downgrade.hpp | 2 +- .../convert_softmax_upgrade.hpp | 2 +- .../op_conversions/convert_space_to_batch.hpp | 2 +- .../op_conversions/convert_space_to_depth.hpp | 2 +- .../op_conversions/convert_subtract.hpp | 4 +-- .../convert_ti_to_sequences.hpp | 18 +++++----- .../convert_topk11_downgrade.hpp | 2 +- .../op_conversions/convert_topk3.hpp | 2 +- .../convert_xor_to_logical_xor.hpp | 2 +- .../detection_output_downgrade.hpp | 2 +- .../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 +- .../hard_sigmoid_decomposition.hpp | 2 +- .../op_conversions/hsigmoid_decomposition.hpp | 2 +- .../op_conversions/hswish_decomposition.hpp | 2 +- .../log_softmax_decomposition.hpp | 2 +- .../lstm_cell_decomposition.hpp | 2 +- .../op_conversions/mvn6_decomposition.hpp | 2 +- .../normalize_l2_decomposition.hpp | 2 +- .../reduce_l1_decomposition.hpp | 2 +- .../reduce_l2_decomposition.hpp | 2 +- .../op_conversions/rnn_cell_decomposition.hpp | 2 +- ...ed_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 +- .../convert_opset2_to_opset1.hpp | 2 +- .../convert_opset3_to_opset2.hpp | 2 +- .../resolve_names_collisions.hpp | 2 +- .../transformations/rt_info/decompression.hpp | 2 +- .../rt_info/dequantization_node.hpp | 2 +- .../rt_info/disable_fp16_compression.hpp | 2 +- .../rt_info/is_shape_subgraph.hpp | 2 +- .../rt_info/keep_const_precision.hpp | 2 +- .../rt_info/nms_selected_indices.hpp | 2 +- .../rt_info/nonconvertible_divide.hpp | 2 +- .../old_api_map_element_type_attribute.hpp | 2 +- .../rt_info/old_api_map_order_attribute.hpp | 2 +- .../rt_info/original_precision_attribute.hpp | 2 +- .../rt_info/preprocessing_attribute.hpp | 2 +- .../rt_info/primitives_priority_attribute.hpp | 2 +- .../rt_info/strides_property.hpp | 2 +- .../rt_info/transpose_sinking_attr.hpp | 2 +- .../position_ids_replacer.hpp | 2 +- .../prev_sequence_length_pattern.hpp | 2 +- .../state_management_pattern.hpp | 2 +- .../total_sequence_length_pattern.hpp | 2 +- .../broadcast_const_range_replacement.hpp | 2 +- .../smart_reshape/lstm_states_broadcast.hpp | 2 +- .../smart_reshape/matmul_sr.hpp | 6 ++-- .../proposal_scales_stridedslice.hpp | 4 +-- .../smart_reshape/reshape_sinking.hpp | 2 +- .../smart_reshape/reshape_to_1D.hpp | 2 +- .../smart_reshape/shape_of_const_folding.hpp | 2 +- .../smart_reshape/smart_reshape.hpp | 2 +- .../smart_reshape/strided_slice_squeeze.hpp | 4 +-- .../chained_maximum.hpp | 2 +- .../dereshape_matmul.hpp | 4 +-- .../nop_broadcast.hpp | 2 +- .../reshape_optimizations.hpp | 2 +- .../symbol_optimization.hpp | 4 +-- .../symbolic_optimizations.hpp | 6 ++-- .../transpose_sinking/ts_base.hpp | 2 +- .../transpose_sinking/ts_binary.hpp | 4 +-- .../transpose_sinking/ts_concat.hpp | 4 +-- .../transpose_sinking/ts_cumsum.hpp | 4 +-- .../transpose_sinking/ts_data_movement.hpp | 4 +-- .../transpose_sinking/ts_fuse.hpp | 2 +- .../transpose_sinking/ts_gather.hpp | 4 +-- .../transpose_sinking/ts_general.hpp | 6 ++-- .../transpose_sinking/ts_interpolate.hpp | 4 +-- .../transpose_sinking/ts_reduction.hpp | 4 +-- .../ts_reset_no_sinking_attribute.hpp | 2 +- .../transpose_sinking/ts_shape_of.hpp | 2 +- .../transpose_sinking/ts_slice.hpp | 4 +-- .../transpose_sinking/ts_split.hpp | 4 +-- .../transpose_sinking/ts_squeeze.hpp | 4 +-- .../transpose_sinking/ts_tile.hpp | 4 +-- .../transpose_sinking/ts_unary.hpp | 4 +-- .../transpose_sinking/ts_unsqueeze.hpp | 4 +-- .../transformations/utils/gen_pattern.hpp | 2 +- .../convert_nms_gather_path_to_unsigned.cpp | 6 ++-- .../eliminate_duplicate_ti_inputs.cpp | 18 +++++----- .../common_optimizations/nop_elimination.cpp | 2 +- .../pull_through_reduce.cpp | 4 +-- .../reduce_reshape_fusion.cpp | 2 +- .../common_optimizations/ric_fusion.cpp | 2 +- ...k_subgraphs_to_keep_in_mixed_precision.cpp | 16 ++++----- .../tests/utils/compare_functions_test.cpp | 2 +- .../include/openvino/op/adaptive_avg_pool.hpp | 2 +- .../include/openvino/op/adaptive_max_pool.hpp | 2 +- src/core/include/openvino/op/batch_norm.hpp | 2 +- src/core/include/openvino/op/concat.hpp | 2 +- src/core/include/openvino/op/constant.hpp | 2 +- src/core/include/openvino/op/convert.hpp | 2 +- .../openvino/op/ctc_greedy_decoder.hpp | 2 +- src/core/include/openvino/op/cum_sum.hpp | 2 +- .../include/openvino/op/depth_to_space.hpp | 2 +- src/core/include/openvino/op/eye.hpp | 2 +- src/core/include/openvino/op/fake_convert.hpp | 2 +- .../include/openvino/op/fake_quantize.hpp | 2 +- .../openvino/op/generate_proposals.hpp | 2 +- src/core/include/openvino/op/grid_sample.hpp | 2 +- .../openvino/op/group_normalization.hpp | 2 +- src/core/include/openvino/op/hard_sigmoid.hpp | 2 +- src/core/include/openvino/op/interpolate.hpp | 2 +- src/core/include/openvino/op/inverse.hpp | 2 +- src/core/include/openvino/op/is_finite.hpp | 2 +- src/core/include/openvino/op/is_inf.hpp | 2 +- src/core/include/openvino/op/is_nan.hpp | 2 +- src/core/include/openvino/op/lrn.hpp | 2 +- src/core/include/openvino/op/matmul.hpp | 2 +- src/core/include/openvino/op/matrix_nms.hpp | 2 +- src/core/include/openvino/op/multinomial.hpp | 2 +- src/core/include/openvino/op/mvn.hpp | 2 +- src/core/include/openvino/op/normalize_l2.hpp | 2 +- src/core/include/openvino/op/parameter.hpp | 2 +- src/core/include/openvino/op/prelu.hpp | 2 +- src/core/include/openvino/op/prior_box.hpp | 4 +-- .../openvino/op/prior_box_clustered.hpp | 2 +- src/core/include/openvino/op/proposal.hpp | 2 +- .../include/openvino/op/psroi_pooling.hpp | 2 +- .../include/openvino/op/random_uniform.hpp | 2 +- src/core/include/openvino/op/range.hpp | 2 +- src/core/include/openvino/op/region_yolo.hpp | 2 +- src/core/include/openvino/op/reorg_yolo.hpp | 2 +- src/core/include/openvino/op/result.hpp | 2 +- .../include/openvino/op/reverse_sequence.hpp | 2 +- src/core/include/openvino/op/roi_pooling.hpp | 2 +- src/core/include/openvino/op/selu.hpp | 2 +- .../include/openvino/op/shuffle_channels.hpp | 2 +- src/core/include/openvino/op/slice.hpp | 2 +- .../include/openvino/op/slice_scatter.hpp | 2 +- src/core/include/openvino/op/softmax.hpp | 2 +- .../include/openvino/op/space_to_depth.hpp | 2 +- src/core/include/openvino/op/tile.hpp | 2 +- src/core/include/openvino/op/unique.hpp | 2 +- src/core/include/openvino/op/unsqueeze.hpp | 2 +- .../openvino/op/util/avg_pool_base.hpp | 2 +- .../op/util/convert_color_nv12_base.hpp | 2 +- .../openvino/op/util/convolution_base.hpp | 2 +- .../op/util/embeddingbag_offsets_base.hpp | 2 +- .../op/util/embeddingbag_packed_base.hpp | 2 +- .../include/openvino/op/util/fft_base.hpp | 2 +- .../include/openvino/op/util/gather_base.hpp | 2 +- .../openvino/op/util/gather_nd_base.hpp | 2 +- .../openvino/op/util/interpolate_base.hpp | 2 +- .../openvino/op/util/max_pool_base.hpp | 2 +- .../openvino/op/util/multiclass_nms_base.hpp | 2 +- .../include/openvino/op/util/pad_base.hpp | 2 +- .../openvino/op/util/read_value_base.hpp | 2 +- .../openvino/op/util/rnn_cell_base.hpp | 2 +- .../openvino/op/util/roi_align_base.hpp | 2 +- .../include/openvino/op/util/scatter_base.hpp | 2 +- .../op/util/scatter_elements_update_base.hpp | 2 +- .../openvino/op/util/scatter_nd_base.hpp | 2 +- .../openvino/op/util/shape_of_base.hpp | 2 +- .../openvino/pass/backward_graph_rewrite.hpp | 2 +- .../openvino/pass/constant_folding.hpp | 4 +-- .../openvino/pass/convert_fp32_to_fp16.hpp | 2 +- .../include/openvino/pass/graph_rewrite.hpp | 2 +- .../include/openvino/pass/low_latency.hpp | 2 +- .../include/openvino/pass/make_stateful.hpp | 2 +- .../include/openvino/pass/pattern/op/any.hpp | 2 +- .../openvino/pass/pattern/op/any_of.hpp | 2 +- .../openvino/pass/pattern/op/any_output.hpp | 2 +- .../openvino/pass/pattern/op/label.hpp | 2 +- .../openvino/pass/pattern/op/optional.hpp | 2 +- .../include/openvino/pass/pattern/op/or.hpp | 2 +- .../openvino/pass/pattern/op/pattern.hpp | 1 + .../include/openvino/pass/pattern/op/true.hpp | 2 +- .../openvino/pass/pattern/op/wrap_type.hpp | 2 +- .../openvino/pass/sdpa_to_paged_attention.hpp | 2 +- src/core/include/openvino/pass/serialize.hpp | 4 +-- .../openvino/pass/stateful_to_stateless.hpp | 2 +- src/core/include/openvino/pass/validate.hpp | 2 +- .../include/openvino/pass/visualize_tree.hpp | 2 +- src/core/reference/src/op/loop.cpp | 6 ++-- src/core/reference/src/op/tensor_iterator.cpp | 2 +- src/core/src/pass/constant_folding.cpp | 2 +- src/core/src/pass/low_latency.cpp | 6 ++-- src/core/src/pass/manager.cpp | 2 +- src/core/src/pass/stateful_to_stateless.cpp | 4 +-- src/core/src/preprocess/preprocess_impls.cpp | 6 ++-- src/core/src/type.cpp | 12 ++++++- src/frontends/ir/src/ir_deserializer.cpp | 6 ++-- .../tensorflow_lite/sparsity_info.hpp | 2 +- .../rfft2d_complex_abs.h | 2 +- .../tflite_quantize_resolver.hpp | 6 ++-- .../emitters/snippets/x64/cpu_generator.cpp | 2 +- .../intel_cpu/src/nodes/adaptive_pooling.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/bin_conv.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/bucketize.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/convert.cpp | 2 +- src/plugins/intel_cpu/src/nodes/cum_sum.cpp | 4 +-- ...erimental_detectron_priorgridgenerator.cpp | 4 +-- ...rimental_detectron_roifeatureextractor.cpp | 4 +-- .../intel_cpu/src/nodes/fake_quantize.cpp | 14 ++++---- src/plugins/intel_cpu/src/nodes/grn.cpp | 4 +-- .../intel_cpu/src/nodes/interpolate.cpp | 2 +- .../intel_cpu/src/nodes/log_softmax.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/matmul.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/one_hot.cpp | 10 +++--- src/plugins/intel_cpu/src/nodes/priorbox.cpp | 4 +-- .../src/nodes/priorbox_clustered.cpp | 4 +-- .../intel_cpu/src/nodes/psroi_pooling.cpp | 8 ++--- src/plugins/intel_cpu/src/nodes/reduce.cpp | 10 +++--- .../intel_cpu/src/nodes/region_yolo.cpp | 4 +-- .../intel_cpu/src/nodes/reorg_yolo.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/reshape.cpp | 12 +++---- .../intel_cpu/src/nodes/reverse_sequence.cpp | 4 +-- src/plugins/intel_cpu/src/nodes/roll.cpp | 2 +- src/plugins/intel_cpu/src/nodes/softmax.cpp | 2 +- .../cpu_opset/arm/pass/convert_group_conv.cpp | 2 +- .../arm/pass/convert_group_conv1d.cpp | 2 +- .../arm/pass/convert_reduce_multi_axis.cpp | 2 +- .../cpu_opset/arm/pass/mish_decomposition.cpp | 2 +- .../pass/causal_mask_preprocess_fusion.cpp | 2 +- .../pass/convert_broadcast_to_tiles.cpp | 6 ++-- .../common/pass/convert_tile_to_seq_tiles.cpp | 4 +-- .../common/pass/convert_to_leaky_relu.cpp | 4 +-- .../common/pass/convert_to_power_static.cpp | 16 ++++----- .../common/pass/convert_to_swish_cpu.cpp | 4 +-- .../common/pass/decompose_integer_divide.cpp | 2 +- .../common/pass/stateful_sdpa_fusion.cpp | 6 ++-- .../cpu_opset/x64/pass/qkv_proj_fusion.cpp | 2 +- .../include/intel_gpu/op/fully_connected.hpp | 2 +- .../op/fully_connected_compressed.hpp | 2 +- .../intel_gpu/include/intel_gpu/op/gemm.hpp | 2 +- .../include/intel_gpu/op/indirect_gemm.hpp | 2 +- .../include/intel_gpu/op/indirect_sdpa.hpp | 2 +- .../include/intel_gpu/op/kv_cache.hpp | 2 +- .../include/intel_gpu/op/placeholder.hpp | 2 +- .../include/intel_gpu/op/read_value.hpp | 2 +- .../intel_gpu/plugin/program_builder.hpp | 2 +- .../plugin/ops/scatter_elements_update.cpp | 2 +- .../bcast_and_pad_zp_buffers.hpp | 2 +- .../transformations/binary_conv_to_conv.hpp | 2 +- .../transformations/clamp_fp16_output.hpp | 2 +- .../transformations/convert_convolution.cpp | 20 +++++------ .../transformations/convert_convolution.hpp | 2 +- .../transformations/convert_matmul_to_fc.hpp | 2 +- .../convert_pooling_to_reduce.hpp | 2 +- .../transformations/convert_shapeof.hpp | 2 +- ...convert_stridedslices_to_variadicsplit.hpp | 2 +- .../decompose_reduce_scalar_output.hpp | 2 +- .../dynamic_quantize_fully_connected.hpp | 2 +- .../transformations/fc_convert_fusion.hpp | 2 +- .../transformations/fc_horizontal_fusion.hpp | 2 +- .../group_norm_composition.hpp | 2 +- .../increase_position_ids_precision.hpp | 2 +- .../transformations/indirect_kv_cache.hpp | 6 ++-- .../transformations/kv_cache_fusion.cpp | 2 +- .../transformations/kv_cache_fusion.hpp | 2 +- .../move_fc_reshape_to_weights.hpp | 2 +- .../print_model_statistics.hpp | 2 +- .../transformations/transpose_fusion.hpp | 8 ++--- ...queeze_broadcast_reshape_matmul_fusion.hpp | 2 +- ...nsqueeze_broadcast_reshape_sdpa_fusion.hpp | 2 +- .../backend/ops/string_tensor_pack.cpp | 2 +- .../backend/ops/string_tensor_unpack.cpp | 2 +- 437 files changed, 707 insertions(+), 696 deletions(-) diff --git a/src/common/low_precision_transformations/src/assign_and_read_value.cpp b/src/common/low_precision_transformations/src/assign_and_read_value.cpp index 6b49f0b21c6675..587f65be3afc87 100644 --- a/src/common/low_precision_transformations/src/assign_and_read_value.cpp +++ b/src/common/low_precision_transformations/src/assign_and_read_value.cpp @@ -109,7 +109,7 @@ bool AssignAndReadValueTransformation::canBeTransformed(const TransformationCont return false; } - const auto readValue = std::dynamic_pointer_cast(op->get_control_dependencies()[0]); + const auto readValue = ov::as_type_ptr(op->get_control_dependencies()[0]); if (!readValue) { return false; } diff --git a/src/common/low_precision_transformations/src/low_precision.cpp b/src/common/low_precision_transformations/src/low_precision.cpp index 52479a5c2dc1fa..4045e409a413eb 100644 --- a/src/common/low_precision_transformations/src/low_precision.cpp +++ b/src/common/low_precision_transformations/src/low_precision.cpp @@ -112,7 +112,7 @@ void make_matcher_type_relaxed(ov::pass::GraphRewrite* transformation) { auto p_node = std::make_shared(element::f32, Shape{}, is_op_type); ov::graph_rewrite_callback callback = [](ov::pass::pattern::Matcher& m) { - auto l_node = std::dynamic_pointer_cast(m.get_match_root()); + auto l_node = ov::as_type_ptr(m.get_match_root()); if (!l_node) { THROW_TRANSFORMATION_EXCEPTION << "unexpected operation type for type relaxed conversion"; } diff --git a/src/common/low_precision_transformations/src/markup_can_be_quantized.cpp b/src/common/low_precision_transformations/src/markup_can_be_quantized.cpp index 6097498ca59ea6..94e5ca396017f5 100644 --- a/src/common/low_precision_transformations/src/markup_can_be_quantized.cpp +++ b/src/common/low_precision_transformations/src/markup_can_be_quantized.cpp @@ -36,25 +36,25 @@ bool ov::pass::low_precision::MarkupCanBeQuantized::run_on_model(const std::shar continue; } - if (const auto convolution = std::dynamic_pointer_cast(node)) { + if (const auto convolution = ov::as_type_ptr(node)) { if (!ConvolutionTransformation::isQuantizedStatic(convolution, defaultPrecisions)) { setEmptyPrecisions(convolution); } continue; } - if (const auto convolutionBackpropData = std::dynamic_pointer_cast(node)) { + if (const auto convolutionBackpropData = ov::as_type_ptr(node)) { if (!ConvolutionBackpropDataTransformation::isQuantizedStatic(convolutionBackpropData, defaultPrecisions)) { setEmptyPrecisions(convolutionBackpropData); } continue; } - if (const auto groupConvolution = std::dynamic_pointer_cast(node)) { + if (const auto groupConvolution = ov::as_type_ptr(node)) { if (!GroupConvolutionTransformation::isQuantizedStatic(groupConvolution, defaultPrecisions)) { setEmptyPrecisions(groupConvolution); } continue; } - if (const auto concat = std::dynamic_pointer_cast(node)) { + if (const auto concat = ov::as_type_ptr(node)) { if (!ConcatTransformation::isQuantizedStatic(concat)) { setEmptyPrecisions(concat); } diff --git a/src/common/offline_transformations/src/pruning/init_const_mask.cpp b/src/common/offline_transformations/src/pruning/init_const_mask.cpp index 5b9b2b42cb098d..b88ebc7420fb50 100644 --- a/src/common/offline_transformations/src/pruning/init_const_mask.cpp +++ b/src/common/offline_transformations/src/pruning/init_const_mask.cpp @@ -18,7 +18,7 @@ ov::pass::InitConstMask::InitConstMask(const ov::AxisSet& dims, pattern::type_matches_any({element::i8, element::u8, element::f16, element::f32, element::f64})); matcher_pass_callback callback = [=](pattern::Matcher& m) { - auto const_node = std::dynamic_pointer_cast(m.get_match_root()); + auto const_node = ov::as_type_ptr(m.get_match_root()); if (!const_node) return false; diff --git a/src/common/offline_transformations/src/pruning/init_masks.cpp b/src/common/offline_transformations/src/pruning/init_masks.cpp index df94bfc59889c8..66927cbfe0b49f 100644 --- a/src/common/offline_transformations/src/pruning/init_masks.cpp +++ b/src/common/offline_transformations/src/pruning/init_masks.cpp @@ -67,7 +67,7 @@ class ov::pass::init_masks::InitMatMulMask : public MatcherPass { ov::matcher_pass_callback callback = [=](ov::pass::pattern::Matcher& m) { const auto& pattern_map = m.get_pattern_value_map(); const auto& matmul = - std::dynamic_pointer_cast(pattern_map.at(matmul_pattern).get_node_shared_ptr()); + ov::as_type_ptr(pattern_map.at(matmul_pattern).get_node_shared_ptr()); if (!matmul) return false; @@ -115,7 +115,7 @@ class ov::pass::init_masks::InitMatMulMask : public MatcherPass { return false; } // 2. Get constant rank to set mask on last dimension - const auto const_op = std::dynamic_pointer_cast(cur_node); + const auto const_op = ov::as_type_ptr(cur_node); const auto shape_rank = const_op->get_shape().size(); const size_t shift = (matmul->get_transpose_b()) ? 2 : 1; if (shape_rank < shift) { diff --git a/src/common/offline_transformations/src/pruning/propagate_masks.cpp b/src/common/offline_transformations/src/pruning/propagate_masks.cpp index 40e5c98a31a30f..01029a4d7f595e 100644 --- a/src/common/offline_transformations/src/pruning/propagate_masks.cpp +++ b/src/common/offline_transformations/src/pruning/propagate_masks.cpp @@ -99,7 +99,7 @@ class ov::pass::mask_propagation::MatMul : public MatcherPass { a_mask_row = a_mask.get(); auto b_mask_row = b_mask.get(); - const auto matmul_op = std::dynamic_pointer_cast(m_matmul.get_node_shared_ptr()); + const auto matmul_op = ov::as_type_ptr(m_matmul.get_node_shared_ptr()); const auto transpose_a = matmul_op->get_transpose_a(); const auto transpose_b = matmul_op->get_transpose_b(); @@ -711,7 +711,7 @@ class ov::pass::mask_propagation::FakeQuantize : public MatcherPass { m_input_high.get_node_shared_ptr(), m_output_low.get_node_shared_ptr(), m_output_high.get_node_shared_ptr()}; - auto fq_node = std::dynamic_pointer_cast(m_output.get_node_shared_ptr()); + auto fq_node = ov::as_type_ptr(m_output.get_node_shared_ptr()); if (!fq_node) return false; size_t idx = 0; @@ -764,7 +764,7 @@ class ov::pass::mask_propagation::Concat : public MatcherPass { ov::matcher_pass_callback callback = [=](ov::pass::pattern::Matcher& m) { const auto& pattern_map = m.get_pattern_value_map(); const auto& m_output = pattern_map.at(concat); - auto concat_ptr = std::dynamic_pointer_cast(m_output.get_node_shared_ptr()); + auto concat_ptr = ov::as_type_ptr(m_output.get_node_shared_ptr()); if (!concat_ptr) { return false; } @@ -921,7 +921,7 @@ class ov::pass::mask_propagation::Reduce : public MatcherPass { // Check reduce operation reduces only dimension without masks if (auto input_mask = getMask(m_input)) { auto output_mask = std::make_shared(m_output.get_partial_shape().rank().get_length()); - const auto constant = std::dynamic_pointer_cast(m_weights.get_node_shared_ptr()); + const auto constant = ov::as_type_ptr(m_weights.get_node_shared_ptr()); OPENVINO_ASSERT(!!constant, "Dynamic cast returned a nullptr"); const auto reduce_dims = constant->cast_vector(); @@ -1134,7 +1134,7 @@ class ov::pass::mask_propagation::Reshape : public MatcherPass { if (is_type(inp.get_node())) return true; - auto constant = std::dynamic_pointer_cast(m_weights.get_node_shared_ptr()); + auto constant = ov::as_type_ptr(m_weights.get_node_shared_ptr()); if (!constant) { constant = ov::util::get_constant_from_source(m_weights.get_node_shared_ptr()); if (!constant) { diff --git a/src/common/offline_transformations/src/pruning/shrink_weights.cpp b/src/common/offline_transformations/src/pruning/shrink_weights.cpp index a476c56195f952..a3e55f7f19b67e 100644 --- a/src/common/offline_transformations/src/pruning/shrink_weights.cpp +++ b/src/common/offline_transformations/src/pruning/shrink_weights.cpp @@ -28,7 +28,7 @@ static bool not_empty_mask(ov::Mask::Ptr mask) { } static bool is_static_reshape_op(std::shared_ptr node) { - auto reshape_node = std::dynamic_pointer_cast(node); + auto reshape_node = ov::as_type_ptr(node); if (!reshape_node) return false; @@ -224,7 +224,7 @@ bool ov::pass::ShrinkWeights::run_on_model(const std::shared_ptr& f) continue; // TODO: constant can be shared across functions so we need to avoid consumers from other function - auto const_node = std::dynamic_pointer_cast(node); + auto const_node = ov::as_type_ptr(node); if (!const_node) continue; diff --git a/src/common/snippets/include/snippets/pass/validate.hpp b/src/common/snippets/include/snippets/pass/validate.hpp index 1fedf8a2ce08d5..d050ec0aa0c40d 100644 --- a/src/common/snippets/include/snippets/pass/validate.hpp +++ b/src/common/snippets/include/snippets/pass/validate.hpp @@ -17,7 +17,7 @@ namespace pass { */ class Validate: public ov::pass::ModelPass { public: - OPENVINO_RTTI("Validate", "0"); + OPENVINO_RTTI("Validate", "0", ov::pass::ModelPass); Validate(const std::shared_ptr& pass_config) : m_pass_config(pass_config) {} bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/transformations/include/ov_ops/gather_compressed.hpp b/src/common/transformations/include/ov_ops/gather_compressed.hpp index 83a3d021b702ca..2eff9e583df041 100644 --- a/src/common/transformations/include/ov_ops/gather_compressed.hpp +++ b/src/common/transformations/include/ov_ops/gather_compressed.hpp @@ -14,7 +14,7 @@ namespace internal { class TRANSFORMATIONS_API GatherCompressed : public ov::op::v8::Gather { public: - OPENVINO_OP("GatherCompressed", "ie_internal_opset"); + OPENVINO_OP("GatherCompressed", "ie_internal_opset", ov::op::v8::Gather); GatherCompressed() = default; diff --git a/src/common/transformations/include/ov_ops/generate_proposals_ie_internal.hpp b/src/common/transformations/include/ov_ops/generate_proposals_ie_internal.hpp index 6d74231cdf3f0d..f422b16ef3d6fc 100644 --- a/src/common/transformations/include/ov_ops/generate_proposals_ie_internal.hpp +++ b/src/common/transformations/include/ov_ops/generate_proposals_ie_internal.hpp @@ -19,7 +19,7 @@ class TRANSFORMATIONS_API GenerateProposalsIEInternal : public op::v9::GenerateP using Base = op::v9::GenerateProposals; public: - OPENVINO_OP("GenerateProposalsIEInternal", "ie_internal_opset"); + OPENVINO_OP("GenerateProposalsIEInternal", "ie_internal_opset", op::v9::GenerateProposals); GenerateProposalsIEInternal() = default; diff --git a/src/common/transformations/include/ov_ops/nms_ie_internal.hpp b/src/common/transformations/include/ov_ops/nms_ie_internal.hpp index 2ca134ce0d8278..9764845a55ff21 100644 --- a/src/common/transformations/include/ov_ops/nms_ie_internal.hpp +++ b/src/common/transformations/include/ov_ops/nms_ie_internal.hpp @@ -17,7 +17,7 @@ namespace internal { class TRANSFORMATIONS_API NonMaxSuppressionIEInternal : public Op { public: - OPENVINO_OP("NonMaxSuppressionIEInternal", "ie_internal_opset"); + OPENVINO_OP("NonMaxSuppressionIEInternal", "ie_internal_opset", Op); NonMaxSuppressionIEInternal() = default; diff --git a/src/common/transformations/include/ov_ops/rms.hpp b/src/common/transformations/include/ov_ops/rms.hpp index 3cebf4caaf8daf..9c2732954b9a12 100644 --- a/src/common/transformations/include/ov_ops/rms.hpp +++ b/src/common/transformations/include/ov_ops/rms.hpp @@ -15,7 +15,7 @@ namespace internal { /// \note Performs re-scaling invariance and regularizes the summed input according to RMS statistics class TRANSFORMATIONS_API RMS : public ov::op::Op { public: - OPENVINO_OP("RMS", "ie_internal_opset"); + OPENVINO_OP("RMS", "ie_internal_opset", ov::op::Op); RMS() = default; /// \brief Constructs an RMS operation. diff --git a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp index 06dde1ff0bbf63..c5c3bec14a01e1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API AdaptivePoolToReduce; class ov::pass::AdaptivePoolToReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AdaptivePoolToReduce", "0"); + OPENVINO_RTTI("AdaptivePoolToReduce", "0", ov::pass::MatcherPass); AdaptivePoolToReduce(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp index f63f00a455a117..f3e4d4ac0bbb06 100644 --- a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API AddFakeQuantizeFusion; */ class ov::pass::AddFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddFakeQuantizeFusion", "0"); + OPENVINO_RTTI("AddFakeQuantizeFusion", "0", ov::pass::MatcherPass); AddFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp index 1a7578d3551903..34817d3592d478 100644 --- a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp @@ -17,7 +17,7 @@ namespace pass { class TRANSFORMATIONS_API AlignEltwiseInputRanks : public MatcherPass { public: - OPENVINO_RTTI("AlignEltwiseInputRanks", "0"); + OPENVINO_RTTI("AlignEltwiseInputRanks", "0", MatcherPass); AlignEltwiseInputRanks(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp index c6773de5ec894f..e3a9e5fc60f8be 100644 --- a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API AUGRUCellFusion; class ov::pass::AUGRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AUGRUCellFusion", "0"); + OPENVINO_RTTI("AUGRUCellFusion", "0", ov::pass::MatcherPass); AUGRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp index 7b05f721f52400..225289077125cf 100644 --- a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API BatchToSpaceFusion; class ov::pass::BatchToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BatchToSpaceFusion", "0"); + OPENVINO_RTTI("BatchToSpaceFusion", "0", ov::pass::MatcherPass); BatchToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp index 3803281478a055..b31ce32ba83e88 100644 --- a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp @@ -76,6 +76,6 @@ class TRANSFORMATIONS_API BinarizeWeights; class ov::pass::BinarizeWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BinarizeWeights", "0"); + OPENVINO_RTTI("BinarizeWeights", "0", ov::pass::MatcherPass); BinarizeWeights(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp index 38ae4799e932a0..80c912a3779ad2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastElementwiseFusion; class ov::pass::BroadcastElementwiseFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastElementwiseFusion", "0"); + OPENVINO_RTTI("BroadcastElementwiseFusion", "0", ov::pass::MatcherPass); BroadcastElementwiseFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp index 089f1472b7c431..79478e7812180a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API BroadcastTransition; */ class ov::pass::BroadcastTransition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastTransition", "0"); + OPENVINO_RTTI("BroadcastTransition", "0", ov::pass::MatcherPass); BroadcastTransition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/change_placeholder_types.hpp b/src/common/transformations/include/transformations/common_optimizations/change_placeholder_types.hpp index d2ff059d5974ef..c79291f5c03f19 100644 --- a/src/common/transformations/include/transformations/common_optimizations/change_placeholder_types.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/change_placeholder_types.hpp @@ -20,7 +20,7 @@ class TRANSFORMATIONS_API ChangePlaceholderTypes; */ class ChangePlaceholderTypes : public ModelPass { public: - OPENVINO_RTTI("ChangePlaceholderTypes", "0"); + OPENVINO_RTTI("ChangePlaceholderTypes", "0", ModelPass); explicit ChangePlaceholderTypes(const std::vector& params_with_custom_types) : m_params_with_custom_types(params_with_custom_types) {} bool run_on_model(const std::shared_ptr& model) override; diff --git a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp index fe966323edbb98..6a94e46ba1260f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API ClampFusion; class ov::pass::ClampFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ClampFusion", "0"); + OPENVINO_RTTI("ClampFusion", "0", ov::pass::MatcherPass); ClampFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp b/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp index 7540275ce74d0f..c5a00ecb461e22 100644 --- a/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/common_optimizations.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API CommonOptimizations; class ov::pass::CommonOptimizations : public ov::pass::ModelPass { public: - OPENVINO_RTTI("CommonOptimizations", "0"); + OPENVINO_RTTI("CommonOptimizations", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp index 77bac5753bd757..c870444ed80ddb 100644 --- a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp @@ -25,7 +25,7 @@ bool TRANSFORMATIONS_API is_model_optimized(const std::shared_ptr& mo */ class ov::pass::CompressFloatConstantsImpl : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CompressFloatConstantsImpl", "0"); + OPENVINO_RTTI("CompressFloatConstantsImpl", "0", ov::pass::MatcherPass); /// @brief Transformation constructor /// @param postponed If true then the transformation won't compress the constants /// keeping them in the original type but still will insert Converts. This is @@ -41,7 +41,7 @@ class ov::pass::CompressFloatConstantsImpl : public ov::pass::MatcherPass { */ class ov::pass::CompressFloatConstants : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("CompressFloatConstants", "0"); + OPENVINO_RTTI("CompressFloatConstants", "0", ov::pass::GraphRewrite); /// @brief Transformation constructor /// @param postponed Postponed compression, see ov::pass::CompressFloatConstantsImpl for details. CompressFloatConstants(bool postponed = false) { diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp index 31b710722bf13f..871cb0da7832ad 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ConcatFusion; class ov::pass::ConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatFusion", "0"); + OPENVINO_RTTI("ConcatFusion", "0", ov::pass::MatcherPass); ConcatFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp index 4aa5391dd42618..8d00b84d224a87 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API ConcatReduceFusion; */ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReplaceConcatReduceByMinOrMax", "0"); + OPENVINO_RTTI("ReplaceConcatReduceByMinOrMax", "0", ov::pass::MatcherPass); ReplaceConcatReduceByMinOrMax(); }; @@ -34,7 +34,7 @@ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { */ class ov::pass::PullSqueezeThroughEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullSqueezeThroughEltwise", "0"); + OPENVINO_RTTI("PullSqueezeThroughEltwise", "0", ov::pass::MatcherPass); PullSqueezeThroughEltwise(); }; @@ -76,6 +76,6 @@ class ov::pass::PullSqueezeThroughEltwise : public ov::pass::MatcherPass { class ov::pass::ConcatReduceFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConcatReduceFusion", "0"); + OPENVINO_RTTI("ConcatReduceFusion", "0", ov::pass::GraphRewrite); ConcatReduceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp index ddb20338c0b01d..da469b2afdf77f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConcatToBroadcast; */ class ov::pass::ConcatToBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatToBroadcast", "0"); + OPENVINO_RTTI("ConcatToBroadcast", "0", ov::pass::MatcherPass); ConcatToBroadcast(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp index 9e2ba5194367ba..68b61076b98d35 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp @@ -23,24 +23,24 @@ class TRANSFORMATIONS_API GroupConvolutionBackpropDataMultiplyFusion; class ov::pass::ConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionMultiplyFusion", "0"); + OPENVINO_RTTI("ConvolutionMultiplyFusion", "0", ov::pass::MatcherPass); ConvolutionMultiplyFusion(); }; class ov::pass::GroupConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionMultiplyFusion", "0"); + OPENVINO_RTTI("GroupConvolutionMultiplyFusion", "0", ov::pass::MatcherPass); GroupConvolutionMultiplyFusion(); }; class ov::pass::ConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionBackpropDataMultiplyFusion", "0"); + OPENVINO_RTTI("ConvolutionBackpropDataMultiplyFusion", "0", ov::pass::MatcherPass); ConvolutionBackpropDataMultiplyFusion(); }; class ov::pass::GroupConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionBackpropDataMultiplyFusion", "0"); + OPENVINO_RTTI("GroupConvolutionBackpropDataMultiplyFusion", "0", ov::pass::MatcherPass); GroupConvolutionBackpropDataMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp index a60a15d37be9e7..f06c9d92efdb09 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp @@ -72,6 +72,6 @@ class TRANSFORMATIONS_API ConvToBinaryConv; */ class ov::pass::ConvToBinaryConv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvToBinaryConv", "0"); + OPENVINO_RTTI("ConvToBinaryConv", "0", ov::pass::MatcherPass); ConvToBinaryConv(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.hpp index d778c255160281..c10621ea3866a5 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API ConvertNmsGatherPathToUnsigned; */ class ov::pass::ConvertNmsGatherPathToUnsigned : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertNmsGatherPathToUnsigned", "0"); + OPENVINO_RTTI("ConvertNmsGatherPathToUnsigned", "0", ov::pass::GraphRewrite); ConvertNmsGatherPathToUnsigned(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp index 7c0b6b5be95d5d..4ce3162dc637e5 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API ConvertQuantizeDequantize; class ov::pass::ConvertQuantizeDequantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertQuantizeDequantize", "0"); + OPENVINO_RTTI("ConvertQuantizeDequantize", "0", ov::pass::MatcherPass); ConvertQuantizeDequantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp index dfd9eef8069665..ae779da6aeff39 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertU4WeightsZeroPointToScalar; */ class ov::pass::ConvertU4WeightsZeroPointToScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertU4WeightsZeroPointToScalar", "0"); + OPENVINO_RTTI("ConvertU4WeightsZeroPointToScalar", "0", ov::pass::MatcherPass); ConvertU4WeightsZeroPointToScalar(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp index a99d4ea801d8ec..b56a9cfa6bf29e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp @@ -24,7 +24,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvolutionToGroupConvolutionFusion : public MatcherPass { public: - OPENVINO_RTTI("ConvolutionToGroupConvolutionFusion", "0"); + OPENVINO_RTTI("ConvolutionToGroupConvolutionFusion", "0", MatcherPass); ConvolutionToGroupConvolutionFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp index 53e6b623d67d5a..ffdbb3958bd6d6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp @@ -42,6 +42,6 @@ class TRANSFORMATIONS_API DepthToSpaceFusion; class ov::pass::DepthToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DepthToSpaceFusion", "0"); + OPENVINO_RTTI("DepthToSpaceFusion", "0", ov::pass::MatcherPass); DepthToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp index 204190cafd305c..b8ce479969b14d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API DilatedConvolutionConverter; class ov::pass::DilatedConvolutionConverter : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DilatedConvolutionConverter", "0"); + OPENVINO_RTTI("DilatedConvolutionConverter", "0", ov::pass::MatcherPass); DilatedConvolutionConverter(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp index d1ec2069b3f621..f67628099fcc3b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp @@ -22,7 +22,7 @@ class TRANSFORMATIONS_API FindBatch; class ov::pass::FindBatch : public ov::pass::ModelPass { public: - OPENVINO_RTTI("FindBatch"); + OPENVINO_RTTI("FindBatch","0", ov::pass::ModelPass); FindBatch(bool detach_detection_output = false, bool track = true) : track(track), detach_do(detach_detection_output) {} diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp index 405e8ff7288e5d..61697ad97c0e48 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DisableRandomUniformConstantFolding; */ class ov::pass::DisableRandomUniformConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableRandomUniformConstantFolding", "0"); + OPENVINO_RTTI("DisableRandomUniformConstantFolding", "0", ov::pass::MatcherPass); DisableRandomUniformConstantFolding(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp index 1526fea966347d..bfc56366bc4069 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API DisableShapeOfConstantFolding; class ov::pass::DisableShapeOfConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableShapeOfConstantFolding", "0"); + OPENVINO_RTTI("DisableShapeOfConstantFolding", "0", ov::pass::MatcherPass); explicit DisableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp index 37a5b1f66a5551..317b4e1f83ce58 100644 --- a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DivideFusion; */ class ov::pass::DivideFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DivideFusion", "0"); + OPENVINO_RTTI("DivideFusion", "0", ov::pass::MatcherPass); DivideFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp index 2ad17f308d46bc..e59b7244bf28e7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp @@ -36,6 +36,6 @@ class TRANSFORMATIONS_API DropoutWithRandomUniformReplacer; */ class ov::pass::DropoutWithRandomUniformReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DropoutWithRandomUniformReplacer", "0"); + OPENVINO_RTTI("DropoutWithRandomUniformReplacer", "0", ov::pass::MatcherPass); DropoutWithRandomUniformReplacer(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp index 058daba182b8a6..707aa555f9179b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API EliminateDuplicateTIInputs; class ov::pass::EliminateDuplicateTIInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateDuplicateTIInputs", "0"); + OPENVINO_RTTI("EliminateDuplicateTIInputs", "0", ov::pass::MatcherPass); EliminateDuplicateTIInputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp index ca58bb504fd811..b811ab5ca015d5 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API EliminateLoopInputsOutputs; class ov::pass::EliminateLoopInputsOutputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateLoopInputsOutputs", "0"); + OPENVINO_RTTI("EliminateLoopInputsOutputs", "0", ov::pass::MatcherPass); EliminateLoopInputsOutputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp index b0ce4581a25569..c2c94fe4e28d25 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API EliminateGatherUnsqueeze; class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueezeGather", "0"); + OPENVINO_RTTI("EliminateUnsqueezeGather", "0", ov::pass::MatcherPass); EliminateUnsqueezeGather(); }; @@ -38,6 +38,6 @@ class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { class ov::pass::EliminateGatherUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateGatherUnsqueeze", "0"); + OPENVINO_RTTI("EliminateGatherUnsqueeze", "0", ov::pass::MatcherPass); EliminateGatherUnsqueeze(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp index ab515ce65ac83b..08b81c3d1020b7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TRANSFORMATIONS_API EnableShapeOfConstantFolding : public MatcherPass { public: - OPENVINO_RTTI("EnableShapeOfConstantFolding", "0"); + OPENVINO_RTTI("EnableShapeOfConstantFolding", "0", MatcherPass); explicit EnableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp index 8775d93644456e..66197030697b18 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp @@ -34,13 +34,13 @@ TRANSFORMATIONS_API bool fold_subgraph_empty_inputs_is_disabled(const std::share class ov::pass::FoldSubgraphEmptyInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FoldSubgraphEmptyInputs", "0"); + OPENVINO_RTTI("FoldSubgraphEmptyInputs", "0", ov::pass::MatcherPass); FoldSubgraphEmptyInputs(); }; class ov::pass::DisableFoldSubgraphEmptyInputs : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("DisableFoldSubgraphEmptyInputs"); + OPENVINO_RTTI("DisableFoldSubgraphEmptyInputs","0", ov::RuntimeAttribute); DisableFoldSubgraphEmptyInputs() = default; bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp index 3b48e9da740269..c8a0be174d64e3 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeMulFusion; class ov::pass::FakeQuantizeMulFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeMulFusion", "0"); + OPENVINO_RTTI("FakeQuantizeMulFusion", "0", ov::pass::MatcherPass); FakeQuantizeMulFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp index e4004d794d8ec7..f6be3a0cf8d8f6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeReshapeFusion; class ov::pass::FakeQuantizeReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeReshapeFusion", "0"); + OPENVINO_RTTI("FakeQuantizeReshapeFusion", "0", ov::pass::MatcherPass); FakeQuantizeReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp b/src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp index 8058a01811d9bc..794ab93d7eda59 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fused_names_cleanup.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API FusedNamesCleanup; */ class ov::pass::FusedNamesCleanup : public ov::pass::ModelPass { public: - OPENVINO_RTTI("FusedNamesCleanup", "0"); + OPENVINO_RTTI("FusedNamesCleanup", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp index c3e50b7c992a53..e62d95b10c3cea 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API GeluFusionWithTanhNoPower; */ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfOne", "0"); + OPENVINO_RTTI("GeluFusionWithErfOne", "0", ov::pass::MatcherPass); GeluFusionWithErfOne(); }; @@ -42,7 +42,7 @@ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfTwo", "0"); + OPENVINO_RTTI("GeluFusionWithErfTwo", "0", ov::pass::MatcherPass); GeluFusionWithErfTwo(); }; @@ -53,7 +53,7 @@ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfThree", "0"); + OPENVINO_RTTI("GeluFusionWithErfThree", "0", ov::pass::MatcherPass); GeluFusionWithErfThree(); }; @@ -64,7 +64,7 @@ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfFour", "0"); + OPENVINO_RTTI("GeluFusionWithErfFour", "0", ov::pass::MatcherPass); GeluFusionWithErfFour(); }; @@ -75,7 +75,7 @@ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanh", "0"); + OPENVINO_RTTI("GeluFusionWithTanh", "0", ov::pass::MatcherPass); GeluFusionWithTanh(); }; @@ -86,7 +86,7 @@ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanhNoPower : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanhNoPower", "0"); + OPENVINO_RTTI("GeluFusionWithTanhNoPower", "0", ov::pass::MatcherPass); GeluFusionWithTanhNoPower(); }; @@ -96,7 +96,7 @@ class ov::pass::GeluFusionWithTanhNoPower : public ov::pass::MatcherPass { */ class ov::pass::GeluFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("GeluFusion", "0"); + OPENVINO_RTTI("GeluFusion", "0", ov::pass::GraphRewrite); GeluFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp index 50bc5ac370a74c..ac47496bd95ba1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API GRUCellFusion; class ov::pass::GRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GRUCellFusion", "0"); + OPENVINO_RTTI("GRUCellFusion", "0", ov::pass::MatcherPass); GRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp index 04841837a5a76b..fb755843b57467 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API HSigmoidFusionWithClampDiv; */ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluDiv", "0"); + OPENVINO_RTTI("HSigmoidFusionWithReluDiv", "0", ov::pass::MatcherPass); HSigmoidFusionWithReluDiv(); }; @@ -39,7 +39,7 @@ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluMul", "0"); + OPENVINO_RTTI("HSigmoidFusionWithReluMul", "0", ov::pass::MatcherPass); HSigmoidFusionWithReluMul(); }; @@ -49,7 +49,7 @@ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithoutRelu", "0"); + OPENVINO_RTTI("HSigmoidFusionWithoutRelu", "0", ov::pass::MatcherPass); HSigmoidFusionWithoutRelu(); }; @@ -59,7 +59,7 @@ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampMul", "0"); + OPENVINO_RTTI("HSigmoidFusionWithClampMul", "0", ov::pass::MatcherPass); HSigmoidFusionWithClampMul(); }; @@ -69,7 +69,7 @@ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampDiv", "0"); + OPENVINO_RTTI("HSigmoidFusionWithClampDiv", "0", ov::pass::MatcherPass); HSigmoidFusionWithClampDiv(); }; @@ -79,7 +79,7 @@ class ov::pass::HSigmoidFusionWithClampDiv : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("HSigmoidFusion", "0"); + OPENVINO_RTTI("HSigmoidFusion", "0", ov::pass::GraphRewrite); HSigmoidFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp index ede2769ec278f1..3e5fbf69eae513 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API HSwishFusionWithClamp; */ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluDiv", "0"); + OPENVINO_RTTI("HSwishFusionWithReluDiv", "0", ov::pass::MatcherPass); HSwishFusionWithReluDiv(); }; @@ -38,7 +38,7 @@ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluMul", "0"); + OPENVINO_RTTI("HSwishFusionWithReluMul", "0", ov::pass::MatcherPass); HSwishFusionWithReluMul(); }; @@ -48,7 +48,7 @@ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithHSigmoid", "0"); + OPENVINO_RTTI("HSwishFusionWithHSigmoid", "0", ov::pass::MatcherPass); HSwishFusionWithHSigmoid(); }; @@ -58,7 +58,7 @@ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithClamp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithClamp", "0"); + OPENVINO_RTTI("HSwishFusionWithClamp", "0", ov::pass::MatcherPass); HSwishFusionWithClamp(); }; @@ -68,7 +68,7 @@ class ov::pass::HSwishFusionWithClamp : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("HSwishFusion", "0"); + OPENVINO_RTTI("HSwishFusion", "0", ov::pass::GraphRewrite); HSwishFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp index ff7495e5a2d405..075c630cd74cef 100644 --- a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API InterpolateSequenceFusion; */ class ov::pass::InterpolateSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InterpolateSequenceFusion", "0"); + OPENVINO_RTTI("InterpolateSequenceFusion", "0", ov::pass::MatcherPass); InterpolateSequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp index 42abc74e0dbc2a..303b6b92364975 100644 --- a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API LeakyReluFusion; class ov::pass::LeakyReluFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LeakyReluFusion", "0"); + OPENVINO_RTTI("LeakyReluFusion", "0", ov::pass::MatcherPass); LeakyReluFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp index 2e239e40c332b9..05f4486866d519 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp @@ -23,19 +23,19 @@ class TRANSFORMATIONS_API MultiplyMultiplyFusion; class ov::pass::AddMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddMultiplyFusion", "0"); + OPENVINO_RTTI("AddMultiplyFusion", "0", ov::pass::MatcherPass); AddMultiplyFusion(); }; class ov::pass::AddAddFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddAddFusion", "0"); + OPENVINO_RTTI("AddAddFusion", "0", ov::pass::MatcherPass); AddAddFusion(); }; class ov::pass::MultiplyMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyMultiplyFusion", "0"); + OPENVINO_RTTI("MultiplyMultiplyFusion", "0", ov::pass::MatcherPass); MultiplyMultiplyFusion(); }; @@ -45,7 +45,7 @@ class ov::pass::MultiplyMultiplyFusion : public ov::pass::MatcherPass { */ class ov::pass::LinOpSequenceFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("LinOpSequenceFusion", "0"); + OPENVINO_RTTI("LinOpSequenceFusion", "0", ov::pass::GraphRewrite); LinOpSequenceFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp index 947e39edcfd0e0..a2de083475686a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API LSTMCellFusionWithSplitWeights; */ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithJointWeights", "0"); + OPENVINO_RTTI("LSTMCellFusionWithJointWeights", "0", ov::pass::MatcherPass); LSTMCellFusionWithJointWeights(); }; @@ -35,7 +35,7 @@ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { */ class ov::pass::LSTMCellFusionWithSplitWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithSplitWeights", "0"); + OPENVINO_RTTI("LSTMCellFusionWithSplitWeights", "0", ov::pass::MatcherPass); LSTMCellFusionWithSplitWeights(); }; @@ -45,7 +45,7 @@ class ov::pass::LSTMCellFusionWithSplitWeights : public ov::pass::MatcherPass { */ class ov::pass::LSTMCellFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("LSTMCellFusion", "0"); + OPENVINO_RTTI("LSTMCellFusion", "0", ov::pass::GraphRewrite); LSTMCellFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/mark_precision_sensitive_shapeof_subgraphs.hpp b/src/common/transformations/include/transformations/common_optimizations/mark_precision_sensitive_shapeof_subgraphs.hpp index 05e73456d46ee0..0ce5417314add7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mark_precision_sensitive_shapeof_subgraphs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mark_precision_sensitive_shapeof_subgraphs.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API MarkShapeOfSubgraphs; */ class ov::pass::MarkPrecisionSensitiveShapeOfSubgraphs : public ModelPass { public: - OPENVINO_RTTI("MarkPrecisionSensitiveShapeOfSubgraphs", "0"); + OPENVINO_RTTI("MarkPrecisionSensitiveShapeOfSubgraphs", "0", ModelPass); MarkPrecisionSensitiveShapeOfSubgraphs(); bool run_on_model(const std::shared_ptr& f) override; @@ -41,7 +41,7 @@ class ov::pass::MarkPrecisionSensitiveShapeOfSubgraphs : public ModelPass { */ class ov::pass::MarkShapeOfSubgraphs : public MarkPrecisionSensitiveShapeOfSubgraphs { public: - OPENVINO_RTTI("MarkShapeOfSubgraphs", "0"); + OPENVINO_RTTI("MarkShapeOfSubgraphs", "0", MarkPrecisionSensitiveShapeOfSubgraphs); MarkShapeOfSubgraphs(); }; @@ -53,7 +53,7 @@ class ov::pass::MarkShapeOfSubgraphs : public MarkPrecisionSensitiveShapeOfSubgr */ class ov::pass::MarkPrecisionSensitiveConstants : public MarkPrecisionSensitiveShapeOfSubgraphs { public: - OPENVINO_RTTI("MarkPrecisionSensitiveConstants", "0"); + OPENVINO_RTTI("MarkPrecisionSensitiveConstants", "0", MarkPrecisionSensitiveShapeOfSubgraphs); MarkPrecisionSensitiveConstants(); }; @@ -65,6 +65,6 @@ class ov::pass::MarkPrecisionSensitiveConstants : public MarkPrecisionSensitiveS */ class ov::pass::MarkDividesInShapeSubgraphs : public MarkPrecisionSensitiveShapeOfSubgraphs { public: - OPENVINO_RTTI("MarkDividesInShapeSubgraphs", "0"); + OPENVINO_RTTI("MarkDividesInShapeSubgraphs", "0", MarkPrecisionSensitiveShapeOfSubgraphs); MarkDividesInShapeSubgraphs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp index c555b991de07ba..bc8113b77dac85 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp @@ -27,7 +27,7 @@ namespace pass { class TRANSFORMATIONS_API MarkRopeInputsToKeepInMixedPrecision : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkRopeInputsToKeepInMixedPrecision", "0"); + OPENVINO_RTTI("MarkRopeInputsToKeepInMixedPrecision", "0", ov::pass::MatcherPass); MarkRopeInputsToKeepInMixedPrecision(); private: diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp index 7626be5f877527..5b6805e39c75d0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp @@ -18,7 +18,7 @@ namespace pass { class TRANSFORMATIONS_API MatMulConstTransposesExtraction : public MatcherPass { public: - OPENVINO_RTTI("MatMulConstTransposesExtraction", "0"); + OPENVINO_RTTI("MatMulConstTransposesExtraction", "0", MatcherPass); MatMulConstTransposesExtraction(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp index 7994a04be7972d..5e7d947a9a234e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp @@ -58,6 +58,6 @@ class TRANSFORMATIONS_API MatMulMultiplyFusion; */ class ov::pass::MatMulMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MatMulMultiplyFusion", "0"); + OPENVINO_RTTI("MatMulMultiplyFusion", "0", ov::pass::MatcherPass); MatMulMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp index 8dc6e0149c881f..0bb9f8ec73ec1a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API MishFusion; */ class ov::pass::MishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishFusion", "0"); + OPENVINO_RTTI("MishFusion", "0", ov::pass::MatcherPass); MishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/moc_legacy_transformations.hpp b/src/common/transformations/include/transformations/common_optimizations/moc_legacy_transformations.hpp index 833ce83e6cf065..65c7af4a54a4e4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/moc_legacy_transformations.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/moc_legacy_transformations.hpp @@ -32,7 +32,7 @@ namespace pass { class MOCLegacyTransformations : public ModelPass { public: - OPENVINO_RTTI("MOCLegacyTransformations", "0"); + OPENVINO_RTTI("MOCLegacyTransformations", "0", ModelPass); explicit MOCLegacyTransformations(const std::vector& params_with_custom_types) : m_params_with_custom_types(params_with_custom_types) {} bool run_on_model(const std::shared_ptr& f) override; diff --git a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp index 4f704b089190a4..9c6af23a89c290 100644 --- a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp @@ -29,7 +29,7 @@ namespace pass { /// └────────────────┘ └────────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovScalar", "0"); + OPENVINO_RTTI("MoveEltwiseUpThroughDataMovScalar", "0", ov::pass::MatcherPass); MoveEltwiseUpThroughDataMovScalar(std::vector allowed_data_movement_ops); }; @@ -50,13 +50,13 @@ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::M /// └────────────────┘ └────────────────────┘ └───────────┘ └─────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovPerChannel : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovPerChannel", "0"); + OPENVINO_RTTI("MoveEltwiseUpThroughDataMovPerChannel", "0", ov::pass::MatcherPass); MoveEltwiseUpThroughDataMovPerChannel(); }; class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMov : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMov", "0"); + OPENVINO_RTTI("MoveEltwiseUpThroughDataMov", "0", ov::pass::GraphRewrite); MoveEltwiseUpThroughDataMov(std::vector allowed_data_movement_ops = get_default_allowed_ops()) { this->add_matcher(allowed_data_movement_ops); this->add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp index 4fae74debc1014..c66a03399b73c3 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp @@ -80,24 +80,24 @@ class TRANSFORMATIONS_API MultiplyGroupConvolutionBackpropDataFusion; class ov::pass::MultiplyConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionFusion", "0"); + OPENVINO_RTTI("MultiplyConvolutionFusion", "0", ov::pass::MatcherPass); MultiplyConvolutionFusion(); }; class ov::pass::MultiplyGroupConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionFusion", "0"); + OPENVINO_RTTI("MultiplyGroupConvolutionFusion", "0", ov::pass::MatcherPass); MultiplyGroupConvolutionFusion(); }; class ov::pass::MultiplyConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionBackpropDataFusion", "0"); + OPENVINO_RTTI("MultiplyConvolutionBackpropDataFusion", "0", ov::pass::MatcherPass); MultiplyConvolutionBackpropDataFusion(); }; class ov::pass::MultiplyGroupConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionBackpropDataFusion", "0"); + OPENVINO_RTTI("MultiplyGroupConvolutionBackpropDataFusion", "0", ov::pass::MatcherPass); MultiplyGroupConvolutionBackpropDataFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp index f66e52f82c6c0e..50b2f93832fb0b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API MulFakeQuantizeFusion; */ class ov::pass::MulFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MulFakeQuantizeFusion", "0"); + OPENVINO_RTTI("MulFakeQuantizeFusion", "0", ov::pass::MatcherPass); MulFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp index dc8561d89e18ab..a4b6d83ba11208 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API MVNFusionWithConstantsInside; */ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithoutConstants", "0"); + OPENVINO_RTTI("MVNFusionWithoutConstants", "0", ov::pass::MatcherPass); MVNFusionWithoutConstants(); }; @@ -40,7 +40,7 @@ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { */ class ov::pass::MVNFusionWithConstantsInside : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithConstantsInside", "0"); + OPENVINO_RTTI("MVNFusionWithConstantsInside", "0", ov::pass::MatcherPass); MVNFusionWithConstantsInside(); }; @@ -50,7 +50,7 @@ class ov::pass::MVNFusionWithConstantsInside : public ov::pass::MatcherPass { */ class ov::pass::MVNFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("MVNFusion", "0"); + OPENVINO_RTTI("MVNFusion", "0", ov::pass::GraphRewrite); MVNFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp index 04b45ee6c67cd3..44f8b28dfa72d9 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API NearestNeighborUpsamplingFusion; */ class ov::pass::NearestNeighborUpsamplingFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NearestNeighborUpsamplingFusion", "0"); + OPENVINO_RTTI("NearestNeighborUpsamplingFusion", "0", ov::pass::MatcherPass); NearestNeighborUpsamplingFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp index d579cb0c8a9ec1..85e233bbcd99ff 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API NonZeroHorizontalFusion; */ class ov::pass::NonZeroHorizontalFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NonZeroHorizontalFusion", "0"); + OPENVINO_RTTI("NonZeroHorizontalFusion", "0", ov::pass::MatcherPass); NonZeroHorizontalFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp index 76190906d157e2..c08d0f10c95358 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp @@ -49,7 +49,7 @@ class ov::pass::EliminateReduceReshape : public ov::pass::MatcherPass { */ class ov::pass::EliminatePad : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminatePad", "0"); + OPENVINO_RTTI("EliminatePad", "0", ov::pass::MatcherPass); EliminatePad(); }; @@ -59,7 +59,7 @@ class ov::pass::EliminatePad : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvert", "0"); + OPENVINO_RTTI("EliminateConvert", "0", ov::pass::MatcherPass); EliminateConvert(); }; @@ -69,7 +69,7 @@ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvertNonZero", "0"); + OPENVINO_RTTI("EliminateConvertNonZero", "0", ov::pass::MatcherPass); EliminateConvertNonZero(); }; @@ -79,7 +79,7 @@ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { */ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConcat", "0"); + OPENVINO_RTTI("EliminateConcat", "0", ov::pass::MatcherPass); EliminateConcat(); }; @@ -89,7 +89,7 @@ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplit", "0"); + OPENVINO_RTTI("EliminateSplit", "0", ov::pass::MatcherPass); EliminateSplit(); }; @@ -99,7 +99,7 @@ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { */ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSqueeze", "0"); + OPENVINO_RTTI("EliminateSqueeze", "0", ov::pass::MatcherPass); EliminateSqueeze(); }; @@ -109,7 +109,7 @@ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueeze", "0"); + OPENVINO_RTTI("EliminateUnsqueeze", "0", ov::pass::MatcherPass); EliminateUnsqueeze(); }; @@ -119,7 +119,7 @@ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateTranspose", "0"); + OPENVINO_RTTI("EliminateTranspose", "0", ov::pass::MatcherPass); EliminateTranspose(); }; @@ -129,7 +129,7 @@ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { */ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateEltwise", "0"); + OPENVINO_RTTI("EliminateEltwise", "0", ov::pass::MatcherPass); EliminateEltwise(); }; @@ -139,13 +139,13 @@ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { */ class ov::pass::EliminateScatterUpdate : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateScatterUpdate", "0"); + OPENVINO_RTTI("EliminateScatterUpdate", "0", ov::pass::MatcherPass); EliminateScatterUpdate(); }; class ov::pass::NopElimination : public GraphRewrite { public: - OPENVINO_RTTI("NopElimination", "0"); + OPENVINO_RTTI("NopElimination", "0", GraphRewrite); NopElimination(bool use_shape_for_elimination = true); }; @@ -155,7 +155,7 @@ class ov::pass::NopElimination : public GraphRewrite { */ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplitConcat", "0"); + OPENVINO_RTTI("EliminateSplitConcat", "0", ov::pass::MatcherPass); EliminateSplitConcat(); }; @@ -165,7 +165,7 @@ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateNopBroadcast", "0"); + OPENVINO_RTTI("EliminateNopBroadcast", "0", ov::pass::MatcherPass); EliminateNopBroadcast(); }; @@ -177,7 +177,7 @@ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { */ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSliceBeforeGatherElements", "0"); + OPENVINO_RTTI("EliminateSliceBeforeGatherElements", "0", ov::pass::MatcherPass); EliminateSliceBeforeGatherElements(); }; @@ -188,7 +188,7 @@ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPas */ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSlice", "0"); + OPENVINO_RTTI("EliminateStridedSlice", "0", ov::pass::MatcherPass); EliminateStridedSlice(); }; @@ -199,7 +199,7 @@ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSlice", "0"); + OPENVINO_RTTI("EliminateSlice", "0", ov::pass::MatcherPass); EliminateSlice(); }; @@ -210,7 +210,7 @@ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSliceByShape", "0"); + OPENVINO_RTTI("EliminateStridedSliceByShape", "0", ov::pass::MatcherPass); EliminateStridedSliceByShape(); }; @@ -222,6 +222,6 @@ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { */ class ov::pass::PrepareShapeOpsForEliminationAroundBE : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrepareShapeOpsForEliminationAroundBE", "0"); + OPENVINO_RTTI("PrepareShapeOpsForEliminationAroundBE", "0", ov::pass::MatcherPass); PrepareShapeOpsForEliminationAroundBE(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp index 39355ec6af5ec4..7989e290a23b1e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API NormalizeL2Fusion; */ class ov::pass::NormalizeL2Fusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NormalizeL2Fusion", "0"); + OPENVINO_RTTI("NormalizeL2Fusion", "0", ov::pass::MatcherPass); NormalizeL2Fusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp index 454378a0e9bbd1..0858b62486a264 100644 --- a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API SliceSequenceToSingleSlice; */ class ov::pass::UselessSliceEraser : public ov::pass::ModelPass { public: - OPENVINO_RTTI("UselessSliceEraser", "0"); + OPENVINO_RTTI("UselessSliceEraser", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -41,7 +41,7 @@ class ov::pass::UselessSliceEraser : public ov::pass::ModelPass { */ class ov::pass::GroupedStridedSliceOptimizer : public ov::pass::ModelPass { public: - OPENVINO_RTTI("GroupedStridedSliceOptimizer", "0"); + OPENVINO_RTTI("GroupedStridedSliceOptimizer", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -53,7 +53,7 @@ class ov::pass::GroupedStridedSliceOptimizer : public ov::pass::ModelPass { */ class ov::pass::GroupedSliceToVSplitOptimization : public ov::pass::ModelPass { public: - OPENVINO_RTTI("GroupedSliceToVSplitOptimization", "0"); + OPENVINO_RTTI("GroupedSliceToVSplitOptimization", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -71,7 +71,7 @@ class ov::pass::GroupedSliceToVSplitOptimization : public ov::pass::ModelPass { */ class ov::pass::SliceSequenceToSingleSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SliceSequenceToSingleSlice", "0"); + OPENVINO_RTTI("SliceSequenceToSingleSlice", "0", ov::pass::MatcherPass); SliceSequenceToSingleSlice(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp index 799fe0a8a4ea81..0d34891c70171c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp @@ -30,7 +30,7 @@ class TRANSFORMATIONS_API PadFusionGroupConvolutionBackpropData; */ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionAvgPool", "0"); + OPENVINO_RTTI("PadFusionAvgPool", "0", ov::pass::MatcherPass); PadFusionAvgPool(); }; @@ -43,7 +43,7 @@ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolution", "0"); + OPENVINO_RTTI("PadFusionConvolution", "0", ov::pass::MatcherPass); PadFusionConvolution(); }; @@ -57,7 +57,7 @@ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolutionBackpropData", "0"); + OPENVINO_RTTI("PadFusionConvolutionBackpropData", "0", ov::pass::MatcherPass); PadFusionConvolutionBackpropData(); }; @@ -70,7 +70,7 @@ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass */ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolution", "0"); + OPENVINO_RTTI("PadFusionGroupConvolution", "0", ov::pass::MatcherPass); PadFusionGroupConvolution(); }; @@ -84,13 +84,13 @@ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionGroupConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolutionBackpropData", "0"); + OPENVINO_RTTI("PadFusionGroupConvolutionBackpropData", "0", ov::pass::MatcherPass); PadFusionGroupConvolutionBackpropData(); }; class ov::pass::PadFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("PadFusion", "0"); + OPENVINO_RTTI("PadFusion", "0", ov::pass::GraphRewrite); PadFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp index b2ba7ca9447450..277c8eb893099d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp @@ -41,7 +41,7 @@ class TRANSFORMATIONS_API PReluFusionNegReluMulAdd; */ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeAdd", "0"); + OPENVINO_RTTI("PReluFusionNegativeAdd", "0", ov::pass::MatcherPass); PReluFusionNegativeAdd(); }; @@ -60,7 +60,7 @@ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeSub", "0"); + OPENVINO_RTTI("PReluFusionNegativeSub", "0", ov::pass::MatcherPass); PReluFusionNegativeSub(); }; @@ -79,7 +79,7 @@ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplyAdd", "0"); + OPENVINO_RTTI("PReluFusionMultiplyAdd", "0", ov::pass::MatcherPass); PReluFusionMultiplyAdd(); }; @@ -98,7 +98,7 @@ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplySub", "0"); + OPENVINO_RTTI("PReluFusionMultiplySub", "0", ov::pass::MatcherPass); PReluFusionMultiplySub(); }; @@ -119,7 +119,7 @@ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionAbsSubMulMulAdd", "0"); + OPENVINO_RTTI("PReluFusionAbsSubMulMulAdd", "0", ov::pass::MatcherPass); PReluFusionAbsSubMulMulAdd(); }; @@ -138,7 +138,7 @@ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegReluMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegReluMulAdd", "0"); + OPENVINO_RTTI("PReluFusionNegReluMulAdd", "0", ov::pass::MatcherPass); PReluFusionNegReluMulAdd(); }; @@ -148,7 +148,7 @@ class ov::pass::PReluFusionNegReluMulAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("PReluFusion", "0"); + OPENVINO_RTTI("PReluFusion", "0", ov::pass::GraphRewrite); PReluFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp index c31902cd478bfa..bdd1e119393130 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp @@ -25,7 +25,7 @@ class TRANSFORMATIONS_API PullReshapeThroughReduce; */ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullUnsqueezeThroughReduce", "0"); + OPENVINO_RTTI("PullUnsqueezeThroughReduce", "0", ov::pass::MatcherPass); PullUnsqueezeThroughReduce(); }; @@ -37,7 +37,7 @@ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { */ class ov::pass::PullReshapeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullReshapeThroughReduce", "0"); + OPENVINO_RTTI("PullReshapeThroughReduce", "0", ov::pass::MatcherPass); PullReshapeThroughReduce(); }; @@ -49,7 +49,7 @@ class ov::pass::PullReshapeThroughReduce : public ov::pass::MatcherPass { */ class ov::pass::PullThroughReduce : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("PullThroughReduce", "0"); + OPENVINO_RTTI("PullThroughReduce", "0", ov::pass::GraphRewrite); PullThroughReduce() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp index c4aa71724a07a3..d18b037776a2a3 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API PullTransposeThroughFQUp; class ov::pass::PullTransposeThroughFQUp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullTransposeThroughFQUp", "0"); + OPENVINO_RTTI("PullTransposeThroughFQUp", "0", ov::pass::MatcherPass); PullTransposeThroughFQUp(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/push_constant_to_subgraph.hpp b/src/common/transformations/include/transformations/common_optimizations/push_constant_to_subgraph.hpp index e571b9a41869f2..bd67218ab1ddbe 100644 --- a/src/common/transformations/include/transformations/common_optimizations/push_constant_to_subgraph.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/push_constant_to_subgraph.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TRANSFORMATIONS_API PushConstantToSubgraph : public ov::pass::ModelPass { public: - OPENVINO_RTTI("PushConstantToSubgraph", "0"); + OPENVINO_RTTI("PushConstantToSubgraph", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp index 198666e9a02673..7dbedee3aa99f7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API RandomUniformFusion; */ class ov::pass::RandomUniformFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RandomUniformFusion", "0"); + OPENVINO_RTTI("RandomUniformFusion", "0", ov::pass::MatcherPass); RandomUniformFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp index 20daf9173b87c8..51d417e8304b9b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp @@ -64,6 +64,6 @@ class TRANSFORMATIONS_API ReduceMerge; */ class ov::pass::ReduceMerge : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceMerge", "0"); + OPENVINO_RTTI("ReduceMerge", "0", ov::pass::MatcherPass); ReduceMerge(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp index 2827be2cdb5738..0d856f011aea62 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReduceReshapeFusion; */ class ov::pass::ReduceReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceReshapeFusion", "0"); + OPENVINO_RTTI("ReduceReshapeFusion", "0", ov::pass::MatcherPass); ReduceReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp index 8d2895b378c774..afd730a297205d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReluFakeQuantizeFusion; class ov::pass::ReluFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReluFakeQuantizeFusion", "0"); + OPENVINO_RTTI("ReluFakeQuantizeFusion", "0", ov::pass::MatcherPass); ReluFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp index 5c746cd4dde987..d1bbda23078277 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp @@ -24,7 +24,7 @@ class OPENVINO_API DisableRemoveConcatZeroDimInput; class RemoveConcatZeroDimInput : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConcatZeroDimInput", "0"); + OPENVINO_RTTI("RemoveConcatZeroDimInput", "0", ov::pass::MatcherPass); RemoveConcatZeroDimInput(); }; @@ -36,7 +36,7 @@ OPENVINO_API bool remove_concat_zerodim_input_is_disabled(const std::shared_ptr< class DisableRemoveConcatZeroDimInput : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("DisableRemoveConcatZeroDimInput"); + OPENVINO_RTTI("DisableRemoveConcatZeroDimInput","0", ov::RuntimeAttribute); DisableRemoveConcatZeroDimInput() = default; bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp index 40dfb824d2ece2..31d3b3117d41ca 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp @@ -21,12 +21,12 @@ class TRANSFORMATIONS_API RemoveFilteringBoxesBySize; class ov::pass::FuseFilteringBoxesBySize : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("FuseFilteringBoxesBySize", "0"); + OPENVINO_RTTI("FuseFilteringBoxesBySize", "0", ov::pass::GraphRewrite); FuseFilteringBoxesBySize(); }; class ov::pass::RemoveFilteringBoxesBySize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveFilteringBoxesBySize", "0"); + OPENVINO_RTTI("RemoveFilteringBoxesBySize", "0", ov::pass::MatcherPass); RemoveFilteringBoxesBySize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_multi_subgraph_op_dangling_params.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_multi_subgraph_op_dangling_params.hpp index 359d68f7c980c2..47d6674d39bc28 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_multi_subgraph_op_dangling_params.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_multi_subgraph_op_dangling_params.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API RemoveMultiSubGraphOpDanglingParamsResults; class ov::pass::RemoveMultiSubGraphOpDanglingParamsResults : public ov::pass::ModelPass { public: - OPENVINO_RTTI("RemoveMultiSubGraphOpDanglingParamsResults", "0"); + OPENVINO_RTTI("RemoveMultiSubGraphOpDanglingParamsResults", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp index 9ced2036d9906b..e96395ac302dc4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReshapePRelu; class ov::pass::ReshapePRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapePRelu", "0"); + OPENVINO_RTTI("ReshapePRelu", "0", ov::pass::MatcherPass); ReshapePRelu(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp index 5fa22e7feb0fe6..622cff8915488d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API ReshapeSequenceFusion; class ov::pass::ReshapeSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSequenceFusion", "0"); + OPENVINO_RTTI("ReshapeSequenceFusion", "0", ov::pass::MatcherPass); ReshapeSequenceFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reverse_shape_and_type_infer.hpp b/src/common/transformations/include/transformations/common_optimizations/reverse_shape_and_type_infer.hpp index cfc5d789d9c07e..8a87403ba71854 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reverse_shape_and_type_infer.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reverse_shape_and_type_infer.hpp @@ -20,7 +20,7 @@ class TRANSFORMATIONS_API ReverseShapeAndTypeInfer; */ class ov::pass::ReverseShapeAndTypeInfer : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ReverseShapeAndTypeInfer", "0"); + OPENVINO_RTTI("ReverseShapeAndTypeInfer", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; private: diff --git a/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp index c91c27a464cada..81640f4ecd93b9 100644 --- a/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/ric_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API ReverseInputChannelsFusion; class ov::pass::ReverseInputChannelsFusion : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ReverseInputChannelsFusion", "0"); + OPENVINO_RTTI("ReverseInputChannelsFusion", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr&) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp index d8cb02a596ab6c..1d3e6b02907699 100644 --- a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp @@ -29,7 +29,7 @@ namespace pass { class RMSFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RMSFusion", "0"); + OPENVINO_RTTI("RMSFusion", "0", ov::pass::MatcherPass); RMSFusion(bool force_tail_convert = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp index 5278e17d07ff64..cfe1a7d1fc12ce 100644 --- a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SelectWithOneValueCondition; class ov::pass::SelectWithOneValueCondition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SelectWithOneValueCondition", "0"); + OPENVINO_RTTI("SelectWithOneValueCondition", "0", ov::pass::MatcherPass); SelectWithOneValueCondition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp index ecba41990e28dd..f20f5d2b601a45 100644 --- a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API SequenceFusion; class ov::pass::SequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SequenceFusion", "0"); + OPENVINO_RTTI("SequenceFusion", "0", ov::pass::MatcherPass); SequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp index 8e2a87502ebcc9..cdcba3393636cf 100644 --- a/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/shared_ops_optimization.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API SharedOpOptimization; */ class ov::pass::SharedOpOptimization : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SharedOpOptimization", "0"); + OPENVINO_RTTI("SharedOpOptimization", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp index 2304fe637b4551..e73bc4879abe11 100644 --- a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp @@ -34,6 +34,6 @@ class TRANSFORMATIONS_API ShuffleChannelsFusion; class ov::pass::ShuffleChannelsFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ShuffleChannelsFusion", "0"); + OPENVINO_RTTI("ShuffleChannelsFusion", "0", ov::pass::MatcherPass); ShuffleChannelsFusion(const bool reshape_constants_check); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp index 509047578bd489..dd6f85ce7ae7f4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API AbsSinking; */ class ov::pass::GroupedGatherElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupedGatherElimination", "0"); + OPENVINO_RTTI("GroupedGatherElimination", "0", ov::pass::MatcherPass); GroupedGatherElimination(); }; @@ -41,7 +41,7 @@ class ov::pass::GroupedGatherElimination : public ov::pass::MatcherPass { */ class ov::pass::SimplifyShapeOfSubGraph : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SimplifyShapeOfSubGraph", "0"); + OPENVINO_RTTI("SimplifyShapeOfSubGraph", "0", ov::pass::ModelPass); explicit SimplifyShapeOfSubGraph(bool use_shapes = true) : m_use_shapes(use_shapes){}; bool run_on_model(const std::shared_ptr& m) override; @@ -55,7 +55,7 @@ class ov::pass::SimplifyShapeOfSubGraph : public ov::pass::ModelPass { */ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GatherNopElimination", "0"); + OPENVINO_RTTI("GatherNopElimination", "0", ov::pass::MatcherPass); GatherNopElimination(); }; @@ -67,7 +67,7 @@ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { */ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifyGatherShapeOf", "0"); + OPENVINO_RTTI("SimplifyGatherShapeOf", "0", ov::pass::MatcherPass); SimplifyGatherShapeOf(); }; @@ -78,7 +78,7 @@ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { */ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifySecondInputOfReshape", "0"); + OPENVINO_RTTI("SimplifySecondInputOfReshape", "0", ov::pass::MatcherPass); SimplifySecondInputOfReshape(); }; @@ -90,6 +90,6 @@ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { */ class ov::pass::AbsSinking : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AbsSinking", "0"); + OPENVINO_RTTI("AbsSinking", "0", ov::pass::MatcherPass); AbsSinking(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp index a93fdb8f4f20fe..a2b98bee22bc39 100644 --- a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SkipGatherBeforeTransposeAndReshape; */ class ov::pass::SkipGatherBeforeTransposeAndReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SkipGatherBeforeTransposeAndReshape", "0"); + OPENVINO_RTTI("SkipGatherBeforeTransposeAndReshape", "0", ov::pass::MatcherPass); SkipGatherBeforeTransposeAndReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp index f56a8bd1b574f7..99e3d291445b15 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp @@ -103,6 +103,6 @@ class TRANSFORMATIONS_API SoftmaxFusion; class ov::pass::SoftmaxFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxFusion", "0"); + OPENVINO_RTTI("SoftmaxFusion", "0", ov::pass::MatcherPass); SoftmaxFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp index 44d34dcdcc4c90..0a357247127a7d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusFusion; */ class ov::pass::SoftPlusFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusFusion", "0"); + OPENVINO_RTTI("SoftPlusFusion", "0", ov::pass::MatcherPass); SoftPlusFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp index 6a6d247e4ea351..c66cd78175270e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusToMishFusion; */ class ov::pass::SoftPlusToMishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusToMishFusion", "0"); + OPENVINO_RTTI("SoftPlusToMishFusion", "0", ov::pass::MatcherPass); SoftPlusToMishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp index 43cf4654628cf5..5c545c6727d0e0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API SpaceToBatchFusion; class ov::pass::SpaceToBatchFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SpaceToBatchFusion", "0"); + OPENVINO_RTTI("SpaceToBatchFusion", "0", ov::pass::MatcherPass); SpaceToBatchFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp index e9ecba4fe6e961..04c19b99e7ece0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitConcatPairToInterpolateFusion; */ class ov::pass::SplitConcatPairToInterpolateFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitConcatPairToInterpolateFusion", "0"); + OPENVINO_RTTI("SplitConcatPairToInterpolateFusion", "0", ov::pass::MatcherPass); SplitConcatPairToInterpolateFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp index 24073c6a61e2dc..66cd941f76699b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitSqueezeConcatFusion; */ class ov::pass::SplitSqueezeConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitSqueezeConcatFusion", "0"); + OPENVINO_RTTI("SplitSqueezeConcatFusion", "0", ov::pass::MatcherPass); SplitSqueezeConcatFusion(bool use_shapes); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp index 57f5036fe5faa7..ffd552fc4d36d7 100644 --- a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API StridesOptimization; */ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvStridesPropagation", "0"); + OPENVINO_RTTI("ConvStridesPropagation", "0", ov::pass::MatcherPass); ConvStridesPropagation(); }; @@ -40,7 +40,7 @@ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { */ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SupportedNodesStridesPropagation", "0"); + OPENVINO_RTTI("SupportedNodesStridesPropagation", "0", ov::pass::MatcherPass); SupportedNodesStridesPropagation(); }; @@ -51,7 +51,7 @@ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass */ class ov::pass::UnsupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsupportedNodesStridesPropagation", "0"); + OPENVINO_RTTI("UnsupportedNodesStridesPropagation", "0", ov::pass::MatcherPass); UnsupportedNodesStridesPropagation(); }; @@ -62,6 +62,6 @@ class ov::pass::UnsupportedNodesStridesPropagation : public ov::pass::MatcherPas */ class ov::pass::StridesOptimization : public ov::pass::BackwardGraphRewrite { public: - OPENVINO_RTTI("StridesOptimization", "0"); + OPENVINO_RTTI("StridesOptimization", "0", ov::pass::BackwardGraphRewrite); StridesOptimization(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp index 69e4095b6becd7..15d65ce708879c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API SubtractFusion; */ class ov::pass::SubtractFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SubtractFusion", "0"); + OPENVINO_RTTI("SubtractFusion", "0", ov::pass::MatcherPass); SubtractFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp index a630e1998e84ca..4054fc9a8cf854 100644 --- a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API SwishFusionWithoutBeta; */ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoid", "0"); + OPENVINO_RTTI("SwishFusionWithSigmoid", "0", ov::pass::MatcherPass); SwishFusionWithSigmoid(); }; @@ -38,7 +38,7 @@ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoidWithBeta", "0"); + OPENVINO_RTTI("SwishFusionWithSigmoidWithBeta", "0", ov::pass::MatcherPass); SwishFusionWithSigmoidWithBeta(); }; @@ -48,7 +48,7 @@ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithBeta", "0"); + OPENVINO_RTTI("SwishFusionWithBeta", "0", ov::pass::MatcherPass); SwishFusionWithBeta(); }; @@ -58,7 +58,7 @@ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithoutBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithoutBeta", "0"); + OPENVINO_RTTI("SwishFusionWithoutBeta", "0", ov::pass::MatcherPass); SwishFusionWithoutBeta(); }; @@ -68,7 +68,7 @@ class ov::pass::SwishFusionWithoutBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("SwishFusion", "0"); + OPENVINO_RTTI("SwishFusion", "0", ov::pass::GraphRewrite); SwishFusion() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp index c1299872c4b3a5..b57eae1076c5c1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API TransposeReshapeEliminationForMatmul; */ class ov::pass::TransposeReshapeEliminationForMatmul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReshapeEliminationForMatmul", "0"); + OPENVINO_RTTI("TransposeReshapeEliminationForMatmul", "0", ov::pass::MatcherPass); TransposeReshapeEliminationForMatmul(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp index 8189535fe260ae..bebeaa2716cef5 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API TransposeFuse; */ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReduction", "0"); + OPENVINO_RTTI("TransposeReduction", "0", ov::pass::MatcherPass); TransposeReduction(); }; @@ -40,7 +40,7 @@ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFQReduction", "0"); + OPENVINO_RTTI("TransposeFQReduction", "0", ov::pass::MatcherPass); TransposeFQReduction(); }; @@ -50,7 +50,7 @@ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeConvert", "0"); + OPENVINO_RTTI("TransposeConvert", "0", ov::pass::MatcherPass); TransposeConvert(); }; @@ -60,7 +60,7 @@ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { */ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeEltwise", "0"); + OPENVINO_RTTI("TransposeEltwise", "0", ov::pass::MatcherPass); TransposeEltwise(); }; @@ -71,7 +71,7 @@ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { */ class ov::pass::TransposeFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFuse", "0"); + OPENVINO_RTTI("TransposeFuse", "0", ov::pass::MatcherPass); TransposeFuse(); }; @@ -81,7 +81,7 @@ class ov::pass::TransposeFuse : public ov::pass::MatcherPass { */ class ov::pass::TransposeSinking : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("TransposeSinking", "0"); + OPENVINO_RTTI("TransposeSinking", "0", ov::pass::GraphRewrite); TransposeSinking() { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp index aba6154bb0b58c..11fed1dc4b1a2f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TransposeToReshape; */ class ov::pass::TransposeToReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeToReshape", "0"); + OPENVINO_RTTI("TransposeToReshape", "0", ov::pass::MatcherPass); TransposeToReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp index aa34c7859d068a..e5fc912a8a8b5b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API WeightsDequantizeToFakeQuantize; */ class ov::pass::WeightsDequantizeToFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WeightsDequantizeToFakeQuantize", "0"); + OPENVINO_RTTI("WeightsDequantizeToFakeQuantize", "0", ov::pass::MatcherPass); WeightsDequantizeToFakeQuantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp index 7b35498d5dde64..13fbb264df7b8a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API WrapInterpolateIntoTransposes; */ class ov::pass::WrapInterpolateIntoTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WrapInterpolateIntoTransposes", "0"); + OPENVINO_RTTI("WrapInterpolateIntoTransposes", "0", ov::pass::MatcherPass); WrapInterpolateIntoTransposes(); }; diff --git a/src/common/transformations/include/transformations/control_flow/unroll_if.hpp b/src/common/transformations/include/transformations/control_flow/unroll_if.hpp index e59b60106e2536..b55ade9e6b88c6 100644 --- a/src/common/transformations/include/transformations/control_flow/unroll_if.hpp +++ b/src/common/transformations/include/transformations/control_flow/unroll_if.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API UnrollIf; class ov::pass::UnrollIf : public ov::pass::ModelPass { public: - OPENVINO_RTTI("UnrollIf", "0"); + OPENVINO_RTTI("UnrollIf", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp b/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp index 282aecab5c7f05..89c500cd0a55f8 100644 --- a/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp +++ b/src/common/transformations/include/transformations/control_flow/unroll_tensor_iterator.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API UnrollTensorIterator; class ov::pass::UnrollTensorIterator : public ov::pass::ModelPass { public: - OPENVINO_RTTI("UnrollTensorIterator", "0"); + OPENVINO_RTTI("UnrollTensorIterator", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/convert_precision.hpp b/src/common/transformations/include/transformations/convert_precision.hpp index 30f773da9e3be4..6aa4ae58bf610c 100644 --- a/src/common/transformations/include/transformations/convert_precision.hpp +++ b/src/common/transformations/include/transformations/convert_precision.hpp @@ -79,7 +79,7 @@ using type_to_fuse_map = class ov::pass::ConvertPrecision : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ConvertPrecision", "0"); + OPENVINO_RTTI("ConvertPrecision", "0", ov::pass::ModelPass); ConvertPrecision(ov::element::Type_t from, ov::element::Type_t to, type_to_fuse_map additional_type_to_fuse_map = {}, diff --git a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp index 71c71b0614f29d..f2b26778eeeaa5 100644 --- a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp +++ b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API FlushFP32SubnormalsToZero; */ class ov::pass::FlushFP32SubnormalsToZero : public MatcherPass { public: - OPENVINO_RTTI("FlushFP32SubnormalsToZero", "0"); + OPENVINO_RTTI("FlushFP32SubnormalsToZero", "0", MatcherPass); FlushFP32SubnormalsToZero(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp b/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp index 4fd93d7742ab67..f64e4105000b86 100644 --- a/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/align_mixed_fp32_fp16_types.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API AlignMixedFP32FP16Types; */ class ov::pass::AlignMixedFP32FP16Types : public ov::pass::ModelPass { public: - OPENVINO_RTTI("AlignMixedFP32FP16Types", "0"); + OPENVINO_RTTI("AlignMixedFP32FP16Types", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp b/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp index fbac44f637a2a2..2ae26d20f65482 100644 --- a/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/convert_compression_only_to_legacy.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertCompressedOnlyToLegacy; */ class ov::pass::ConvertCompressedOnlyToLegacy : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ConvertCompressedOnlyToLegacy", "0"); + OPENVINO_RTTI("ConvertCompressedOnlyToLegacy", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp index 4f003dbc09e671..d630f4f6219e8f 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API MarkCompressedFloatConstants; */ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EnableDecompressionConvertConstantFolding", "0"); + OPENVINO_RTTI("EnableDecompressionConvertConstantFolding", "0", ov::pass::MatcherPass); EnableDecompressionConvertConstantFolding(); }; @@ -36,7 +36,7 @@ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::Mat */ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableDecompressionConvertConstantFolding", "0"); + OPENVINO_RTTI("DisableDecompressionConvertConstantFolding", "0", ov::pass::MatcherPass); DisableDecompressionConvertConstantFolding(); }; @@ -46,7 +46,7 @@ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::Ma */ class ov::pass::KeepConstAndDecompression : public MatcherPass { public: - OPENVINO_RTTI("KeepConstAndDecompression", "0"); + OPENVINO_RTTI("KeepConstAndDecompression", "0", MatcherPass); KeepConstAndDecompression(); }; @@ -56,7 +56,7 @@ class ov::pass::KeepConstAndDecompression : public MatcherPass { */ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { public: - OPENVINO_RTTI("KeepConstantsPrecisionAndAddConverts", "0"); + OPENVINO_RTTI("KeepConstantsPrecisionAndAddConverts", "0", MatcherPass); KeepConstantsPrecisionAndAddConverts(); }; @@ -69,6 +69,6 @@ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { */ class ov::pass::MarkCompressedFloatConstants : public MatcherPass { public: - OPENVINO_RTTI("KeepFWPrecisionFor16BitFloatConstants", "0"); + OPENVINO_RTTI("KeepFWPrecisionFor16BitFloatConstants", "0", MatcherPass); MarkCompressedFloatConstants(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp index 0ffce989f0d83c..ba0780a2088077 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.hpp @@ -25,6 +25,6 @@ constexpr auto float16_min_normalized = float16::from_bits(0x0400); */ class ov::pass::MarkSugraphsToKeepInMixedPrecision : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MarkSugraphsToKeepInMixedPrecision", "0"); + OPENVINO_RTTI("MarkSugraphsToKeepInMixedPrecision", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/hash.hpp b/src/common/transformations/include/transformations/hash.hpp index 73668c7e53548e..1b65f374bf0056 100644 --- a/src/common/transformations/include/transformations/hash.hpp +++ b/src/common/transformations/include/transformations/hash.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TRANSFORMATIONS_API Hash : public ov::pass::ModelPass { public: - OPENVINO_RTTI("HashPass"); + OPENVINO_RTTI("HashPass","0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; diff --git a/src/common/transformations/include/transformations/init_node_info.hpp b/src/common/transformations/include/transformations/init_node_info.hpp index e458bcfdcd4bd4..211b68796f6342 100644 --- a/src/common/transformations/include/transformations/init_node_info.hpp +++ b/src/common/transformations/include/transformations/init_node_info.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API InitNodeInfo; */ class ov::pass::InitNodeInfo : public ov::pass::ModelPass { public: - OPENVINO_RTTI("InitNodeInfo", "0"); + OPENVINO_RTTI("InitNodeInfo", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp index 8b9b9e573ba957..4bc9b28cead2b3 100644 --- a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp +++ b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp @@ -21,7 +21,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkDequantizationSubgraph : public MatcherPass { public: - OPENVINO_RTTI("MarkDequantizationSubgraph", "0"); + OPENVINO_RTTI("MarkDequantizationSubgraph", "0", MatcherPass); MarkDequantizationSubgraph(const element::TypeVector& precisions, const bool fold_subtract_const = false, const bool disable_fold_multiply_const = false); 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..1e99ab873891b6 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_RTTI("BatchNormDecomposition", "0", ov::pass::MatcherPass); 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..8d1aa266e6ad47 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_RTTI("BidirectionalLSTMSequenceDecomposition", "0", ov::pass::MatcherPass); 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_RTTI("BidirectionalGRUSequenceDecomposition", "0", ov::pass::MatcherPass); 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_RTTI("BidirectionalRNNSequenceDecomposition", "0", ov::pass::MatcherPass); BidirectionalRNNSequenceDecomposition(); }; @@ -67,7 +67,7 @@ class ov::pass::BidirectionalRNNSequenceDecomposition : public ov::pass::Matcher class ov::pass::BidirectionalSequenceDecomposition : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("BidirectionalSequenceDecomposition", "0"); + OPENVINO_RTTI("BidirectionalSequenceDecomposition", "0", ov::pass::GraphRewrite); BidirectionalSequenceDecomposition() { add_matcher(); add_matcher(); 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..76aacd22783509 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_RTTI("ConvertAvgPool14ToAvgPool1", "0", MatcherPass); 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..08345a7f219672 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_RTTI("ConvertBatchToSpace", "0", ov::pass::MatcherPass); 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..05fac62da1b6b5 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_RTTI("ConvertBitwiseAndToLogicalAnd", "0", ov::pass::MatcherPass); ConvertBitwiseAndToLogicalAnd(); }; class ov::pass::ConvertBitwiseNotToLogicalNot : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseNotToLogicalNot", "0"); + OPENVINO_RTTI("ConvertBitwiseNotToLogicalNot", "0", ov::pass::MatcherPass); ConvertBitwiseNotToLogicalNot(); }; class ov::pass::ConvertBitwiseOrToLogicalOr : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseOrToLogicalOr", "0"); + OPENVINO_RTTI("ConvertBitwiseOrToLogicalOr", "0", ov::pass::MatcherPass); ConvertBitwiseOrToLogicalOr(); }; class ov::pass::ConvertBitwiseXorToLogicalXor : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseXorToLogicalXor", "0"); + OPENVINO_RTTI("ConvertBitwiseXorToLogicalXor", "0", ov::pass::MatcherPass); ConvertBitwiseXorToLogicalXor(); }; /** @@ -43,7 +43,7 @@ class ov::pass::ConvertBitwiseXorToLogicalXor : public ov::pass::MatcherPass { */ class ConvertBitwiseToLogical : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertBitwiseToLogical", "0"); + OPENVINO_RTTI("ConvertBitwiseToLogical", "0", ov::pass::GraphRewrite); ConvertBitwiseToLogical() { add_matcher(); add_matcher(); 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..b4be66e220c096 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_RTTI("ConvertBroadcast3", "0", ov::pass::MatcherPass); 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..dfdd8d3e15bb89 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_RTTI("ConvertBroadcastToTiles", "0", ov::pass::MatcherPass); 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..5fc2399da4289a 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_RTTI("ConvertConvertLike", "0", ov::pass::MatcherPass); 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..132fce3e72f598 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_RTTI("ConvertConvertPromoteTypes", "0", ov::pass::MatcherPass); 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..87cf0853d9d8c5 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_RTTI("ConvertDeformableConv8To1", "0", ov::pass::MatcherPass); 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..f225692dc91bdd 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_RTTI("ConvertDepthToSpace", "0", ov::pass::MatcherPass); 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..f3750aa74c4870 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_RTTI("ConvertDivide", "0", ov::pass::MatcherPass); ConvertDivide(); }; class ov::pass::ConvertDivideWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDivideWithConstant", "0"); + OPENVINO_RTTI("ConvertDivideWithConstant", "0", ov::pass::MatcherPass); 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..1cb420016a51fc 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_RTTI("ConvertEmbeddingBagOffsets15ToEmbeddingBagOffsetsSum3", "0", MatcherPass); 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..1f1653316e4e84 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_RTTI("ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3", "0", MatcherPass); ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3(); }; 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..13d26e195fa6b6 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_RTTI("ConvertGather0D", "0", ov::pass::MatcherPass); 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..be7c25a4ac96d1 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_RTTI("ConvertGather7ToGather1", "0", ov::pass::MatcherPass); 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_RTTI("ConvertGather8ToGather7", "0", ov::pass::MatcherPass); 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..e3a218d6e6b948 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_RTTI("ConvertGatherToGatherCompressed", "0", ov::pass::MatcherPass); 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..69704442b5dab8 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_RTTI("ConvertGather1ToGather7", "0", ov::pass::MatcherPass); 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_RTTI("ConvertGather7ToGather8", "0", ov::pass::MatcherPass); 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..8a6367b755d275 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_RTTI("ConvertGELU", "0", ov::pass::MatcherPass); 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..1b091ee3b2a2c4 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_RTTI("ConvertGP9ToGPIEInternal", "0", ov::pass::MatcherPass); 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..92180f2415386f 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_RTTI("ConvertInterpolate11ToInterpolate4", "0", MatcherPass); 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..50049e51fc9485 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_RTTI("ConvertInterpolate1ToInterpolate4", "0", ov::pass::MatcherPass); 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..72d0a11daad08d 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_RTTI("ConvertMatrixNmsToMatrixNmsIE", "0", ov::pass::MatcherPass); 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..4512394271f967 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_RTTI("ConvertMaxPool8ToMaxPool1","0", ov::pass::MatcherPass); 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_RTTI("ConvertMaxPool14ToMaxPool8", "0", ov::pass::MatcherPass); 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..7cefed843a026d 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_RTTI("ConvertMaxPool1ToMaxPool8","0", ov::pass::MatcherPass); 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..83850f297548b4 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_RTTI("ConvertMinimum", "0", ov::pass::MatcherPass); 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..63b2de5ba8d9c2 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_RTTI("ConvertMod", "0", ov::pass::MatcherPass); 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..c1446ca2bf89e5 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_RTTI("public", "0", ov::pass::MatcherPass); 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..230a3ea1f08b08 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_RTTI("ConvertMulticlassNms8ToMulticlassNms9", "0", ov::pass::MatcherPass); 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..f64d14bebe6bb7 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_RTTI("ConvertMVN1ToMVN6", "0", ov::pass::MatcherPass); 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..a95b90b22b3344 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_RTTI("ConvertNegative", "0", ov::pass::MatcherPass); 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..7d1b24f8a6d072 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_RTTI("ConvertNMS9ToNMSIEInternal", "0", ov::pass::MatcherPass); 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..15b0db9a0ed91f 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_RTTI("ConvertNMSRotatedToNMSIEInternal", "0", ov::pass::MatcherPass); 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..d79cbd45496b02 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_RTTI("ConvertNMSToNMSIEInternal", "0", ov::pass::MatcherPass); 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..826cefb82436fb 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_RTTI("ConvertPad12ToPad1", "0", MatcherPass); 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..b86f7e227ec30a 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_RTTI("ConvertPadToGroupConvolution", "0", ov::pass::MatcherPass); 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..49b52c0e14bdca 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_RTTI("ConvertNMS1ToNMS5", "0", ov::pass::MatcherPass); ConvertNMS1ToNMS5(); }; class ov::pass::ConvertNMS3ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS5", "0"); + OPENVINO_RTTI("ConvertNMS3ToNMS5", "0", ov::pass::MatcherPass); ConvertNMS3ToNMS5(); }; class ov::pass::ConvertNMS4ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS5", "0"); + OPENVINO_RTTI("ConvertNMS4ToNMS5", "0", ov::pass::MatcherPass); 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..cf7f36cb1c5114 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_RTTI("ConvertNMS1ToNMS9", "0", ov::pass::MatcherPass); ConvertNMS1ToNMS9(); }; class ov::pass::ConvertNMS3ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS9", "0"); + OPENVINO_RTTI("ConvertNMS3ToNMS9", "0", ov::pass::MatcherPass); ConvertNMS3ToNMS9(); }; class ov::pass::ConvertNMS4ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS9", "0"); + OPENVINO_RTTI("ConvertNMS4ToNMS9", "0", ov::pass::MatcherPass); ConvertNMS4ToNMS9(); }; class ov::pass::ConvertNMS5ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS5ToNMS9", "0"); + OPENVINO_RTTI("ConvertNMS5ToNMS9", "0", ov::pass::MatcherPass); 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..6f59f1fa8c962b 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_RTTI("ConvertPriorBox8To0", "0", ov::pass::MatcherPass); 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 b74a0ff538e011..8b11742958d3ed 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 @@ -41,25 +41,25 @@ class ConvertReduceBase : public ov::pass::MatcherPass { class ov::pass::ConvertReduceMeanToPooling : public ConvertReduceBase { public: - OPENVINO_RTTI("ConvertReduceMeanToPooling", "0"); + OPENVINO_RTTI("ConvertReduceMeanToPooling", "0", ConvertReduceBase); ConvertReduceMeanToPooling(); }; class ov::pass::ConvertReduceMaxToPooling : public ConvertReduceBase { public: - OPENVINO_RTTI("ConvertReduceMaxToPooling", "0"); + OPENVINO_RTTI("ConvertReduceMaxToPooling", "0", ConvertReduceBase); ConvertReduceMaxToPooling(); }; class ov::pass::ConvertReduceSumToPooling : public ConvertReduceBase { public: - OPENVINO_RTTI("ConvertReduceSumToPooling", "0"); + OPENVINO_RTTI("ConvertReduceSumToPooling", "0", ConvertReduceBase); ConvertReduceSumToPooling(); }; class ov::pass::ConvertReduceToPooling : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertReduceToPooling", "0"); + OPENVINO_RTTI("ConvertReduceToPooling", "0", ov::pass::GraphRewrite); ConvertReduceToPooling() { add_matcher(); add_matcher(); 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..b8750cd6732ebc 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 @@ -40,49 +40,49 @@ class CvtReduceBase : public ov::pass::MatcherPass { class ov::pass::ConvertReduceMeanToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceMeanToReshape", "0"); + OPENVINO_RTTI("ConvertReduceMeanToReshape", "0", CvtReduceBase); ConvertReduceMeanToReshape(); }; class ov::pass::ConvertReduceSumToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceSumToReshape", "0"); + OPENVINO_RTTI("ConvertReduceSumToReshape", "0", CvtReduceBase); ConvertReduceSumToReshape(); }; class ov::pass::ConvertReduceProdToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceProdToReshape", "0"); + OPENVINO_RTTI("ConvertReduceProdToReshape", "0", CvtReduceBase); ConvertReduceProdToReshape(); }; class ov::pass::ConvertReduceMaxToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceMaxToReshape", "0"); + OPENVINO_RTTI("ConvertReduceMaxToReshape", "0", CvtReduceBase); ConvertReduceMaxToReshape(); }; class ov::pass::ConvertReduceMinToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceMinToReshape", "0"); + OPENVINO_RTTI("ConvertReduceMinToReshape", "0", CvtReduceBase); ConvertReduceMinToReshape(); }; class ov::pass::ConvertReduceLogicalAndToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceLogicalAndToReshape", "0"); + OPENVINO_RTTI("ConvertReduceLogicalAndToReshape", "0", CvtReduceBase); ConvertReduceLogicalAndToReshape(); }; class ov::pass::ConvertReduceLogicalOrToReshape : public CvtReduceBase { public: - OPENVINO_RTTI("ConvertReduceLogicalOrToReshape", "0"); + OPENVINO_RTTI("ConvertReduceLogicalOrToReshape", "0", CvtReduceBase); ConvertReduceLogicalOrToReshape(); }; class ov::pass::ConvertReduceToReshape : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertReduceToReshape", "0"); + OPENVINO_RTTI("ConvertReduceToReshape", "0", ov::pass::GraphRewrite); // Handling reduce if it can be converted to reshape (check input/output tensor) ConvertReduceToReshape() { // Redundant reduce based on its mode 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..76025dd78021dd 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_RTTI("ConvertROIAlign3To9", "0", ov::pass::MatcherPass); 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..56182678ff3496 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_RTTI("ConvertROIAlign9To3", "0", ov::pass::MatcherPass); 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..fe1ef311102730 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_RTTI("ConvertScatterElementsToScatter", "0", ov::pass::MatcherPass); 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..75ba2cbe379508 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_RTTI("ConvertScatterElementsUpdate12ToScatterElementsUpdate3", "0", MatcherPass); 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..f91324d21e31e5 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_RTTI("ConvertScatterNDUpdate15ToScatterNDUpdate3", "0", MatcherPass); 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..e94ba13df4a928 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_RTTI("ConvertRNNSequenceToTensorIterator", "0", ov::pass::MatcherPass); 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_RTTI("ConvertGRUSequenceToTensorIterator", "0", ov::pass::MatcherPass); ConvertGRUSequenceToTensorIterator(); }; @@ -53,12 +53,12 @@ class ov::pass::ConvertGRUSequenceToTensorIterator : public ov::pass::MatcherPas class ov::pass::ConvertLSTMSequenceToTensorIterator : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLSTMSequenceToTensorIterator", "0"); + OPENVINO_RTTI("ConvertLSTMSequenceToTensorIterator", "0", ov::pass::MatcherPass); ConvertLSTMSequenceToTensorIterator(); }; class ov::pass::ConvertSequenceToTensorIterator : public GraphRewrite { public: - OPENVINO_RTTI("ConvertSequenceToTensorIterator", "0"); + OPENVINO_RTTI("ConvertSequenceToTensorIterator", "0", GraphRewrite); ConvertSequenceToTensorIterator(); }; 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..1eafd85ec141c5 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_RTTI("ConvertShapeOf3", "0", ov::pass::MatcherPass); 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..974277e99fdf48 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_RTTI("ConvertShuffleChannels3", "0", ov::pass::MatcherPass); 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..e9e2d0bfe6d5eb 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_RTTI("SliceToStridedSlice", "0", ov::pass::MatcherPass); SliceToStridedSlice(bool use_shapes); }; 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..7e6536d7b4af63 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_RTTI("ConvertSoftMax8ToSoftMax1", "0", ov::pass::MatcherPass); 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..b387c4b9a25323 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_RTTI("ConvertSoftMax1ToSoftMax8", "0", ov::pass::MatcherPass); 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..86bb9107c4ba19 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_RTTI("ConvertSpaceToBatch", "0", ov::pass::MatcherPass); 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..eb7298b9219d52 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_RTTI("ConvertSpaceToDepth", "0", ov::pass::MatcherPass); ConvertSpaceToDepth(); }; 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..79898f34ad320f 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_RTTI("ConvertSubtract", "0", ov::pass::MatcherPass); ConvertSubtract(); }; class ov::pass::ConvertSubtractWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtractWithConstant", "0"); + OPENVINO_RTTI("ConvertSubtractWithConstant", "0", ov::pass::MatcherPass); 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..c2ce8a5610967c 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_RTTI("ConvertTensorIteratorToLSTMSequence", "0", ov::pass::MatcherPass); 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_RTTI("ConvertTensorIteratorToRNNSequence", "0", ov::pass::MatcherPass); ConvertTensorIteratorToRNNSequence(); }; @@ -60,25 +60,25 @@ class ov::pass::ConvertTensorIteratorToRNNSequence : public ov::pass::MatcherPas class ov::pass::ConvertTensorIteratorToGRUSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTensorIteratorToGRUSequence", "0"); + OPENVINO_RTTI("ConvertTensorIteratorToGRUSequence", "0", ov::pass::MatcherPass); ConvertTensorIteratorToGRUSequence(); }; class ov::pass::ConvertTensorIteratorToSequence : public GraphRewrite { public: - OPENVINO_RTTI("ConvertTensorIteratorToSequence", "0"); + OPENVINO_RTTI("ConvertTensorIteratorToSequence", "0", GraphRewrite); ConvertTensorIteratorToSequence(); }; class ov::pass::ConvertLoopWithSlicedInputConcatOutputToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLoopWithSlicedInputConcatOutputToLSTMSequence", "0"); + OPENVINO_RTTI("ConvertLoopWithSlicedInputConcatOutputToLSTMSequence", "0", ov::pass::MatcherPass); ConvertLoopWithSlicedInputConcatOutputToLSTMSequence(); }; class ov::pass::ConvertLoopWithScatterUpdateToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLoopWithScatterUpdateToLSTMSequence", "0"); + OPENVINO_RTTI("ConvertLoopWithScatterUpdateToLSTMSequence", "0", ov::pass::MatcherPass); ConvertLoopWithScatterUpdateToLSTMSequence(); }; @@ -88,7 +88,7 @@ class ov::pass::ConvertLoopWithScatterUpdateToLSTMSequence : public ov::pass::Ma */ class ov::pass::ConvertLoopToLSTMSequence : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertLoopToLSTMSequence", "0"); + OPENVINO_RTTI("ConvertLoopToLSTMSequence", "0", ov::pass::GraphRewrite); ConvertLoopToLSTMSequence() { add_matcher(); add_matcher(); @@ -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_RTTI("FuseReverseLSTMSequence", "0", ov::pass::MatcherPass); 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_RTTI("FuseLSTMSequencesToBidirectionalLSTMSequence", "0", ov::pass::MatcherPass); 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..a5e07e896148ac 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_RTTI("ConvertTopK11ToTopK3", "0", MatcherPass); 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..1e2ccdc1ada5e6 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_RTTI("ConvertTopK3", "0", ov::pass::MatcherPass); 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..85030d67ede2d5 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_RTTI("ConvertXorToLogicalXor", "0", ov::pass::MatcherPass); 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..21db0ac023e3ae 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_RTTI("ConvertDetectionOutput8ToDetectionOutput1", "0", ov::pass::MatcherPass); 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..0eaa4d6b1e7a9e 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_RTTI("ConvertDetectionOutput1ToDetectionOutput8", "0", ov::pass::MatcherPass); 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..001b34e81f3ee2 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_RTTI("EinsumDecomposition", "0", ov::pass::MatcherPass); 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..e90e01d1f94f32 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_RTTI("EyeDecomposition", "0", MatcherPass); 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..e9afe3cd13205f 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_RTTI("FakeQuantizeDecomposition", "0", ov::pass::MatcherPass); 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..6f960b0efef3e2 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_RTTI("Gelu7Downgrade", "0", ov::pass::MatcherPass); 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..ffe1da2666e81c 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_RTTI("GroupNormalizationDecomposition", "0", ov::pass::MatcherPass); 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..04b61a97805b06 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_RTTI("GRUCellDecomposition", "0", ov::pass::MatcherPass); 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..5e5260b2b843d4 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_RTTI("HardSigmoidDecomposition", "0", ov::pass::MatcherPass); 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..d8b177dfe155e6 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_RTTI("HSigmoidDecomposition", "0", ov::pass::MatcherPass); 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..fdca3f5d9b1b8f 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_RTTI("HSwishDecomposition", "0", ov::pass::MatcherPass); 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..c34fa443fd1331 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_RTTI("LogSoftmaxDecomposition", "0", ov::pass::MatcherPass); 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..8a596b04302f61 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_RTTI("LSTMCellDecomposition", "0", ov::pass::MatcherPass); 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..a3336d59abe8a3 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_RTTI("MVN6Decomposition", "0", ov::pass::MatcherPass); 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..07ba3fdedd4a42 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_RTTI("NormalizeL2Decomposition", "0", ov::pass::MatcherPass); 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..019b83a7d6e4c7 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_RTTI("ReduceL1Decomposition", "0", ov::pass::MatcherPass); 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..7006c15db3e18a 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_RTTI("ReduceL2Decomposition", "0", ov::pass::MatcherPass); 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..71b76304a35215 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_RTTI("RNNCellDecomposition", "0", ov::pass::MatcherPass); 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..0cc51bd7aef0a0 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_RTTI("ScaledDotProductAttentionDecomposition", "0", ov::pass::MatcherPass); 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..4d95b3a97af57a 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_RTTI("SimplifyCTCGreedyDecoderSeqLen", "0", ov::pass::MatcherPass); 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..490b4a77f5c976 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_RTTI("SoftmaxDecomposition", "0", ov::pass::MatcherPass); 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..23024dd32afd45 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_RTTI("SoftPlusDecomposition", "0", ov::pass::MatcherPass); 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..338a46fa7321d4 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_RTTI("SoftSignDecomposition", "0", ov::pass::MatcherPass); 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..219174dbd1cafb 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_RTTI("UniqueDecomposition", "0", ov::pass::MatcherPass); UniqueDecomposition(); }; diff --git a/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp b/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp index 8b523bc663912d..f7295f718b9ac1 100644 --- a/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp +++ b/src/common/transformations/include/transformations/opset_conversions/convert_opset2_to_opset1.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API ConvertOpSet2ToOpSet1; class ov::pass::ConvertOpSet2ToOpSet1 : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ConvertOpSet2ToOpSet1", "0"); + OPENVINO_RTTI("ConvertOpSet2ToOpSet1", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp b/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp index 8a44b0d24ad6e4..5ae7ef36b300b6 100644 --- a/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp +++ b/src/common/transformations/include/transformations/opset_conversions/convert_opset3_to_opset2.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API ConvertOpSet3ToOpSet2; class ov::pass::ConvertOpSet3ToOpSet2 : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ConvertOpSet3ToOpSet2", "0"); + OPENVINO_RTTI("ConvertOpSet3ToOpSet2", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/resolve_names_collisions.hpp b/src/common/transformations/include/transformations/resolve_names_collisions.hpp index f1d1f18a505441..5fde47825e52b2 100644 --- a/src/common/transformations/include/transformations/resolve_names_collisions.hpp +++ b/src/common/transformations/include/transformations/resolve_names_collisions.hpp @@ -24,7 +24,7 @@ namespace pass { */ class TRANSFORMATIONS_API ResolveNameCollisions : public ModelPass { public: - OPENVINO_RTTI("ResolveNameCollisions", "0"); + OPENVINO_RTTI("ResolveNameCollisions", "0", ov::pass::ModelPass); ResolveNameCollisions() = default; explicit ResolveNameCollisions(bool resolve_all_names) : m_resolve_all_names(resolve_all_names) {} bool run_on_model(const std::shared_ptr& model) override; diff --git a/src/common/transformations/include/transformations/rt_info/decompression.hpp b/src/common/transformations/include/transformations/rt_info/decompression.hpp index 84f474c247a35f..c86f824e45db69 100644 --- a/src/common/transformations/include/transformations/rt_info/decompression.hpp +++ b/src/common/transformations/include/transformations/rt_info/decompression.hpp @@ -30,7 +30,7 @@ TRANSFORMATIONS_API bool is_decompression(const std::shared_ptr& node); */ class TRANSFORMATIONS_API Decompression : public RuntimeAttribute { public: - OPENVINO_RTTI("decompression", "0"); + OPENVINO_RTTI("decompression", "0", RuntimeAttribute); Decompression() = default; diff --git a/src/common/transformations/include/transformations/rt_info/dequantization_node.hpp b/src/common/transformations/include/transformations/rt_info/dequantization_node.hpp index d9cf3589391b6d..cc1015c83dbc46 100644 --- a/src/common/transformations/include/transformations/rt_info/dequantization_node.hpp +++ b/src/common/transformations/include/transformations/rt_info/dequantization_node.hpp @@ -21,7 +21,7 @@ TRANSFORMATIONS_API bool is_dequantization_node(const std::shared_ptr& nod */ class TRANSFORMATIONS_API DequantizationNode : public RuntimeAttribute { public: - OPENVINO_RTTI("dequantization_node", "0"); + OPENVINO_RTTI("dequantization_node", "0", RuntimeAttribute); bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/rt_info/disable_fp16_compression.hpp b/src/common/transformations/include/transformations/rt_info/disable_fp16_compression.hpp index 462b9c54a57138..8a76157d00ce8b 100644 --- a/src/common/transformations/include/transformations/rt_info/disable_fp16_compression.hpp +++ b/src/common/transformations/include/transformations/rt_info/disable_fp16_compression.hpp @@ -30,7 +30,7 @@ TRANSFORMATIONS_API void do_not_postpone_fp16_compression(RTMap& rt_info); */ class TRANSFORMATIONS_API DisableFP16Compression : public RuntimeAttribute { public: - OPENVINO_RTTI("precise", "0"); + OPENVINO_RTTI("precise", "0", RuntimeAttribute); DisableFP16Compression() = default; diff --git a/src/common/transformations/include/transformations/rt_info/is_shape_subgraph.hpp b/src/common/transformations/include/transformations/rt_info/is_shape_subgraph.hpp index 63ebe86d72d61e..1f526b45cc9ff0 100644 --- a/src/common/transformations/include/transformations/rt_info/is_shape_subgraph.hpp +++ b/src/common/transformations/include/transformations/rt_info/is_shape_subgraph.hpp @@ -23,7 +23,7 @@ TRANSFORMATIONS_API bool is_shape_subgraph(const std::shared_ptr& no */ class TRANSFORMATIONS_API ShapeSubgraph : public RuntimeAttribute { public: - OPENVINO_RTTI("shape_subgraph", "0"); + OPENVINO_RTTI("shape_subgraph", "0", RuntimeAttribute); ShapeSubgraph() = default; diff --git a/src/common/transformations/include/transformations/rt_info/keep_const_precision.hpp b/src/common/transformations/include/transformations/rt_info/keep_const_precision.hpp index 46c8bf00deb3f2..1d63e1b9ff0d90 100644 --- a/src/common/transformations/include/transformations/rt_info/keep_const_precision.hpp +++ b/src/common/transformations/include/transformations/rt_info/keep_const_precision.hpp @@ -23,7 +23,7 @@ TRANSFORMATIONS_API bool is_keep_const_precision(const std::shared_ptr& n */ class TRANSFORMATIONS_API NonconvertibleDivide : public RuntimeAttribute { public: - OPENVINO_RTTI("nonconvertable_divide", "0"); + OPENVINO_RTTI("nonconvertable_divide", "0", RuntimeAttribute); NonconvertibleDivide() = default; diff --git a/src/common/transformations/include/transformations/rt_info/old_api_map_element_type_attribute.hpp b/src/common/transformations/include/transformations/rt_info/old_api_map_element_type_attribute.hpp index 028e8ebf25560d..4fc801640a2456 100644 --- a/src/common/transformations/include/transformations/rt_info/old_api_map_element_type_attribute.hpp +++ b/src/common/transformations/include/transformations/rt_info/old_api_map_element_type_attribute.hpp @@ -29,7 +29,7 @@ namespace ov { */ class TRANSFORMATIONS_API OldApiMapElementType : public RuntimeAttribute { public: - OPENVINO_RTTI("old_api_map_element_type", "0"); + OPENVINO_RTTI("old_api_map_element_type", "0", RuntimeAttribute); /** * A default constructor diff --git a/src/common/transformations/include/transformations/rt_info/old_api_map_order_attribute.hpp b/src/common/transformations/include/transformations/rt_info/old_api_map_order_attribute.hpp index a790dc83fcd409..6f02c5b1534680 100644 --- a/src/common/transformations/include/transformations/rt_info/old_api_map_order_attribute.hpp +++ b/src/common/transformations/include/transformations/rt_info/old_api_map_order_attribute.hpp @@ -40,7 +40,7 @@ class OldApiMapOrder; */ class TRANSFORMATIONS_API OldApiMapOrder : public RuntimeAttribute { public: - OPENVINO_RTTI("old_api_map_order", "0"); + OPENVINO_RTTI("old_api_map_order", "0", RuntimeAttribute); /** * A default constructor diff --git a/src/common/transformations/include/transformations/rt_info/original_precision_attribute.hpp b/src/common/transformations/include/transformations/rt_info/original_precision_attribute.hpp index 428db0cf62a889..cb47d5406ea5a1 100644 --- a/src/common/transformations/include/transformations/rt_info/original_precision_attribute.hpp +++ b/src/common/transformations/include/transformations/rt_info/original_precision_attribute.hpp @@ -23,7 +23,7 @@ TRANSFORMATIONS_API element::Type_t get_original_precision(const std::shared_ptr */ class TRANSFORMATIONS_API OriginalPrecisionAttribute : public RuntimeAttribute { public: - OPENVINO_RTTI("original_precision", "0"); + OPENVINO_RTTI("original_precision", "0", RuntimeAttribute); }; } // namespace ov diff --git a/src/common/transformations/include/transformations/rt_info/preprocessing_attribute.hpp b/src/common/transformations/include/transformations/rt_info/preprocessing_attribute.hpp index 0511ec6bd7993a..8e615db018c10d 100644 --- a/src/common/transformations/include/transformations/rt_info/preprocessing_attribute.hpp +++ b/src/common/transformations/include/transformations/rt_info/preprocessing_attribute.hpp @@ -21,7 +21,7 @@ TRANSFORMATIONS_API void set_is_preprocessing_node(std::shared_ptr node); */ class TRANSFORMATIONS_API PreprocessingAttribute : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("preprocessing", "0"); + OPENVINO_RTTI("preprocessing", "0", ov::RuntimeAttribute); PreprocessingAttribute() = default; bool visit_attributes(AttributeVisitor& visitor) override { return true; diff --git a/src/common/transformations/include/transformations/rt_info/primitives_priority_attribute.hpp b/src/common/transformations/include/transformations/rt_info/primitives_priority_attribute.hpp index dc18fb458cd4e5..ee5acde5b9f3ad 100644 --- a/src/common/transformations/include/transformations/rt_info/primitives_priority_attribute.hpp +++ b/src/common/transformations/include/transformations/rt_info/primitives_priority_attribute.hpp @@ -31,7 +31,7 @@ TRANSFORMATIONS_API std::string getPrimitivesPriority(const std::shared_ptr& node); class TRANSFORMATIONS_API StridesPropagation : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("strides_propagation", "0"); + OPENVINO_RTTI("strides_propagation", "0", ov::RuntimeAttribute); StridesPropagation() = default; StridesPropagation(const ov::Strides& value) : value{value} {} diff --git a/src/common/transformations/include/transformations/rt_info/transpose_sinking_attr.hpp b/src/common/transformations/include/transformations/rt_info/transpose_sinking_attr.hpp index 5e0718b906c32f..5ff0051e6e1882 100644 --- a/src/common/transformations/include/transformations/rt_info/transpose_sinking_attr.hpp +++ b/src/common/transformations/include/transformations/rt_info/transpose_sinking_attr.hpp @@ -24,7 +24,7 @@ TRANSFORMATIONS_API bool is_sinking_node(ov::Output output); */ class TRANSFORMATIONS_API NoTransposeSinkingAttr : public RuntimeAttribute { public: - OPENVINO_RTTI("no_transpose_sinking", "0"); + OPENVINO_RTTI("no_transpose_sinking", "0", RuntimeAttribute); bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp index 5ee79ec787a9bc..7ef8da1fbb4893 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API PositionIDsReplacer; class ov::pass::PositionIDsReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PositionIDsReplacer", "0"); + OPENVINO_RTTI("PositionIDsReplacer", "0", ov::pass::MatcherPass); explicit PositionIDsReplacer(const Output& position_ids); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp index fd4e22c69262ae..d68d595144140d 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API PrevSequenceLengthPattern; class ov::pass::PrevSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrevSequenceLengthPattern", "0"); + OPENVINO_RTTI("PrevSequenceLengthPattern", "0", ov::pass::MatcherPass); explicit PrevSequenceLengthPattern(std::shared_ptr prev_max_seq_len, std::shared_ptr batch_dim); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp index feab06ccc0cd5d..e7ab70c4ee7125 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp @@ -17,7 +17,7 @@ class TRANSFORMATIONS_API StateManagementPattern; class ov::pass::StateManagementPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StateManagementPattern", "0"); + OPENVINO_RTTI("StateManagementPattern", "0", ov::pass::MatcherPass); StateManagementPattern(ParameterVector& kv_parameters, ParameterVector& model_remaining_params, const std::shared_ptr& sliding_window, diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp index c6b319a389ecaa..271c5430d395b3 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API TotalSequenceLengthPattern; class ov::pass::TotalSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TotalSequenceLengthPattern", "0"); + OPENVINO_RTTI("TotalSequenceLengthPattern", "0", ov::pass::MatcherPass); explicit TotalSequenceLengthPattern(const std::shared_ptr& max_context_len); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp index 04f7de9a336414..493e2f825ea150 100644 --- a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastConstRangeReplacement; class ov::pass::BroadcastConstRangeReplacement : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastConstRangeReplacement", "0"); + OPENVINO_RTTI("BroadcastConstRangeReplacement", "0", ov::pass::MatcherPass); BroadcastConstRangeReplacement(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp b/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp index 55f80ace7812e3..1f4ce4eb62bee4 100644 --- a/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/lstm_states_broadcast.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API LSTMStatesBroadcast; class ov::pass::LSTMStatesBroadcast : public ov::pass::ModelPass { public: - OPENVINO_RTTI("LSTMStatesBroadcast", "0"); + OPENVINO_RTTI("LSTMStatesBroadcast", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp index 4e21e767d1bce6..703628dd98d67c 100644 --- a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp @@ -30,16 +30,16 @@ class TRANSFORMATIONS_API TransposeMatMul; class ov::pass::ReshapeAMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeAMatMul", "0"); + OPENVINO_RTTI("ReshapeAMatMul", "0", ov::pass::MatcherPass); ReshapeAMatMul(); }; class ov::pass::ReshapeBMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeBMatMul", "0"); + OPENVINO_RTTI("ReshapeBMatMul", "0", ov::pass::MatcherPass); ReshapeBMatMul(); }; class ov::pass::TransposeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMul", "0"); + OPENVINO_RTTI("TransposeMatMul", "0", ov::pass::MatcherPass); TransposeMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp index d2eaf125e0dd5c..59794a28440c44 100644 --- a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp @@ -36,12 +36,12 @@ class TRANSFORMATIONS_API Proposal4Scales; class ov::pass::Proposal1Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal1Scales", "0"); + OPENVINO_RTTI("Proposal1Scales", "0", ov::pass::MatcherPass); Proposal1Scales(); }; class ov::pass::Proposal4Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal4Scales", "0"); + OPENVINO_RTTI("Proposal4Scales", "0", ov::pass::MatcherPass); Proposal4Scales(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp index aeaf46ccde1c2b..645eca16588f91 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API ReshapeSinkingMatMul; class ov::pass::ReshapeSinkingMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSinkingMatMul", "0"); + OPENVINO_RTTI("ReshapeSinkingMatMul", "0", ov::pass::MatcherPass); ReshapeSinkingMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp index a973038bb30900..80b02ace879437 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReshapeTo1D; class ov::pass::ReshapeTo1D : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeTo1D", "0"); + OPENVINO_RTTI("ReshapeTo1D", "0", ov::pass::MatcherPass); ReshapeTo1D(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp index d2bc029cce4682..2f958a5cedd33e 100644 --- a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp @@ -16,7 +16,7 @@ namespace pass { */ class TRANSFORMATIONS_API ShapeOfConstFolding : public MatcherPass { public: - OPENVINO_RTTI("ShapeOfConstFolding", "0"); + OPENVINO_RTTI("ShapeOfConstFolding", "0", ov::pass::MatcherPass); ShapeOfConstFolding(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp b/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp index 55bdf523762d91..484a6fb7cbd47a 100644 --- a/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/smart_reshape.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API SmartReshape; class ov::pass::SmartReshape : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SmartReshape", "0"); + OPENVINO_RTTI("SmartReshape", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp index f34b6d25a27e49..df16ef8e90d139 100644 --- a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API SqueezeStridedSlice; class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StridedSliceSqueeze", "0"); + OPENVINO_RTTI("StridedSliceSqueeze", "0", ov::pass::MatcherPass); StridedSliceSqueeze(); }; @@ -39,6 +39,6 @@ class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { class ov::pass::SqueezeStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SqueezeStridedSlice", "0"); + OPENVINO_RTTI("SqueezeStridedSlice", "0", ov::pass::MatcherPass); SqueezeStridedSlice(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp index c7cb03afd5ade4..8f522f5f9a5215 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ChainedMaximumOptimization; */ class ov::pass::ChainedMaximumOptimization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ChainedMaximumOptimization", "0"); + OPENVINO_RTTI("ChainedMaximumOptimization", "0", ov::pass::MatcherPass); ChainedMaximumOptimization(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp index fa1c844faa7129..fb2d672de17fb5 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp @@ -62,7 +62,7 @@ class TRANSFORMATIONS_API DeReshapeFullyConnected; */ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeMatMul", "0"); + OPENVINO_RTTI("DeReshapeMatMul", "0", ov::pass::MatcherPass); DeReshapeMatMul(); }; @@ -87,6 +87,6 @@ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { */ class ov::pass::DeReshapeFullyConnected : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeFullyConnected", "0"); + OPENVINO_RTTI("DeReshapeFullyConnected", "0", ov::pass::MatcherPass); DeReshapeFullyConnected(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp index 5a12b5735ce428..4644c9afe5f0ef 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API NopBroadcast; */ class ov::pass::NopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NopBroadcast", "0"); + OPENVINO_RTTI("NopBroadcast", "0", ov::pass::MatcherPass); NopBroadcast(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp index 5d84d83bad2de5..50cf8f66c8770b 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp @@ -52,6 +52,6 @@ class TRANSFORMATIONS_API ReshapeOptimizations; */ class ov::pass::ReshapeOptimizations : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeOptimizations", "0"); + OPENVINO_RTTI("ReshapeOptimizations", "0", ov::pass::MatcherPass); ReshapeOptimizations(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/symbol_optimization.hpp b/src/common/transformations/include/transformations/symbolic_transformations/symbol_optimization.hpp index 179bc7d6cfcf52..21f36d312ec367 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/symbol_optimization.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/symbol_optimization.hpp @@ -21,7 +21,7 @@ class TRANSFORMATIONS_API OptimizeSymbolsUsedAsValues; */ class ov::pass::ApplySymbolEquivalence : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ApplySymbolEquivalence", "0"); + OPENVINO_RTTI("ApplySymbolEquivalence", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -32,6 +32,6 @@ class ov::pass::ApplySymbolEquivalence : public ov::pass::ModelPass { */ class ov::pass::OptimizeSymbolsUsedAsValues : public ov::pass::ModelPass { public: - OPENVINO_RTTI("OptimizeSymbolsUsedAsValues", "0"); + OPENVINO_RTTI("OptimizeSymbolsUsedAsValues", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp index 17a5d8503cbcb9..0b5aecbcf25002 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API LabelResolvingThroughSelect; */ class ov::pass::SymbolicOptimizations : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SymbolicOptimizations", "0"); + OPENVINO_RTTI("SymbolicOptimizations", "0", ov::pass::ModelPass); explicit SymbolicOptimizations(bool full_run = true); bool run_on_model(const std::shared_ptr& m) override; std::shared_ptr get_manager() { @@ -42,7 +42,7 @@ class ov::pass::SymbolicOptimizations : public ov::pass::ModelPass { */ class ov::pass::SymbolicPropagation : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SymbolicPropagation"); + OPENVINO_RTTI("SymbolicPropagation","0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -58,6 +58,6 @@ class ov::pass::SymbolicPropagation : public ov::pass::ModelPass { */ class ov::pass::LabelResolvingThroughSelect : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LabelResolvingThroughSelect", "0"); + OPENVINO_RTTI("LabelResolvingThroughSelect", "0", ov::pass::MatcherPass); LabelResolvingThroughSelect(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp index 013799e854df8f..8818bf081b6ecd 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API TSForwardBase; */ class ov::pass::transpose_sinking::TSForwardBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSForwardBase", "0"); + OPENVINO_RTTI("ov::pass::TSForwardBase", "0", ov::pass::MatcherPass); TSForwardBase() = default; template diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp index 9534380d51253e..8bff08f40fa4f2 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSBinaryBackward; */ class ov::pass::transpose_sinking::TSBinaryForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSBinaryForward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSBinaryForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSBinaryForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSBinaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); TSBinaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp index cc0ccc2c194dbf..f5ff90a81a5640 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSConcatBackward; */ class ov::pass::transpose_sinking::TSConcatForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSConcatForward", "0"); + OPENVINO_RTTI("ov::pass::TSConcatForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSConcatForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSConcatForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSConcatBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSConcatBackward", "0"); + OPENVINO_RTTI("ov::pass::TSConcatBackward", "0", ov::pass::MatcherPass); TSConcatBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp index 185bea0105ec4d..2003b4015ed402 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp @@ -25,7 +25,7 @@ class TRANSFORMATIONS_API TSCumSumBackward; */ class ov::pass::transpose_sinking::TSCumSumForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSBinaryForward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSCumSumForward(); }; @@ -35,6 +35,6 @@ class ov::pass::transpose_sinking::TSCumSumForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSCumSumBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); TSCumSumBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp index 9775e57d61146b..5027b7f1cf4671 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API TSDataMovementBackward; */ class ov::pass::transpose_sinking::TSDataMovementForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSDataMovementForward", "0"); + OPENVINO_RTTI("ov::pass::TSDataMovementForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSDataMovementForward(); }; @@ -39,6 +39,6 @@ class ov::pass::transpose_sinking::TSDataMovementForward : public ov::pass::tran */ class ov::pass::transpose_sinking::TSDataMovementBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSDataMovementBackward", "0"); + OPENVINO_RTTI("ov::pass::TSDataMovementBackward", "0", ov::pass::MatcherPass); TSDataMovementBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp index 974e7accc4d808..2c9da8042520a5 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSFuse; */ class ov::pass::transpose_sinking::TSFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSFuse", "0"); + OPENVINO_RTTI("TSFuse", "0", ov::pass::MatcherPass); TSFuse(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp index 5bc7cea340cb72..646d2fde2e6c74 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSGatherBackward; */ class ov::pass::transpose_sinking::TSGatherForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSGatherForward", "0"); + OPENVINO_RTTI("ov::pass::TSGatherForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSGatherForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSGatherForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSGatherBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSGatherBackward", "0"); + OPENVINO_RTTI("ov::pass::TSGatherBackward", "0", ov::pass::MatcherPass); TSGatherBackward(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_general.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_general.hpp index c794608798a4a4..6ca77bef131ce2 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_general.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_general.hpp @@ -29,7 +29,7 @@ using TransposeSinkingGeneral = ov::pass::transpose_sinking::TSGeneral; */ class ov::pass::transpose_sinking::TSGeneralForward : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("TSGeneralForward", "0"); + OPENVINO_RTTI("TSGeneralForward", "0", ov::pass::GraphRewrite); TSGeneralForward(); }; @@ -40,7 +40,7 @@ class ov::pass::transpose_sinking::TSGeneralForward : public ov::pass::GraphRewr */ class ov::pass::transpose_sinking::TSGeneralBackward : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("TSGeneralBackward", "0"); + OPENVINO_RTTI("TSGeneralBackward", "0", ov::pass::GraphRewrite); TSGeneralBackward(); }; @@ -52,6 +52,6 @@ class ov::pass::transpose_sinking::TSGeneralBackward : public ov::pass::GraphRew */ class ov::pass::transpose_sinking::TSGeneral : public ov::pass::ModelPass { public: - OPENVINO_RTTI("TSGeneral", "0"); + OPENVINO_RTTI("TSGeneral", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp index dfdd062e1f7ce3..0acf6e597c058c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSInterpolateBackward; */ class ov::pass::transpose_sinking::TSInterpolateForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSInterpolateForward", "0"); + OPENVINO_RTTI("ov::pass::TSInterpolateForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSInterpolateForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSInterpolateForward : public ov::pass::trans */ class ov::pass::transpose_sinking::TSInterpolateBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSInterpolateBackward", "0"); + OPENVINO_RTTI("ov::pass::TSInterpolateBackward", "0", ov::pass::MatcherPass); TSInterpolateBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp index a983519a3012d6..3fd4b1db64dbeb 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSReductionBackward; */ class ov::pass::transpose_sinking::TSReductionForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSReductionForward", "0"); + OPENVINO_RTTI("ov::pass::TSReductionForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSReductionForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSReductionForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSReductionBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSReductionBackward", "0"); + OPENVINO_RTTI("ov::pass::TSReductionBackward", "0", ov::pass::MatcherPass); TSReductionBackward(); }; \ No newline at end of file diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp index 240c6e8342c069..229103d578b023 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSResetNoSinkingAttribute; */ class ov::pass::transpose_sinking::TSResetNoSinkingAttribute : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSResetNoSinkingAttribute", "0"); + OPENVINO_RTTI("ov::pass::TSResetNoSinkingAttribute", "0", ov::pass::MatcherPass); TSResetNoSinkingAttribute(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_shape_of.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_shape_of.hpp index e1f5a046203f53..adc730e1d4cd49 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_shape_of.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_shape_of.hpp @@ -46,6 +46,6 @@ class TRANSFORMATIONS_API TSShapeOfForward; */ class ov::pass::transpose_sinking::TSShapeOfForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("TSShapeOfForward", "0"); + OPENVINO_RTTI("TSShapeOfForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSShapeOfForward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp index 5e10a7f0e8a930..c821d76dc118ee 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp @@ -21,12 +21,12 @@ class TRANSFORMATIONS_API TSSliceBackward; class ov::pass::transpose_sinking::TSSliceForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSSliceForward", "0"); + OPENVINO_RTTI("ov::pass::TSSliceForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSSliceForward(); }; class ov::pass::transpose_sinking::TSSliceBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSliceBackward", "0"); + OPENVINO_RTTI("ov::pass::TSSliceBackward", "0", ov::pass::MatcherPass); TSSliceBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp index cb24aa5273906f..ccb2623b361b73 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API TSSplitForward; */ class ov::pass::transpose_sinking::TSSplitForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSSplitForward", "0"); + OPENVINO_RTTI("ov::pass::TSSplitForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSSplitForward(); }; @@ -38,6 +38,6 @@ class ov::pass::transpose_sinking::TSSplitForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSSplitBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSplitBackward", "0"); + OPENVINO_RTTI("ov::pass::TSSplitBackward", "0", ov::pass::MatcherPass); TSSplitBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp index 752e040ab52cab..c58989ee60127c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSSqueezeBackward; */ class ov::pass::transpose_sinking::TSSqueezeForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSSqueezeForward", "0"); + OPENVINO_RTTI("ov::pass::TSSqueezeForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSSqueezeForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSSqueezeForward : public ov::pass::transpose */ class ov::pass::transpose_sinking::TSSqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSqueezeBackward", "0"); + OPENVINO_RTTI("ov::pass::TSSqueezeBackward", "0", ov::pass::MatcherPass); TSSqueezeBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp index 9bb15894d70a81..29ef0d146bd7fb 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSTileBackward; */ class ov::pass::transpose_sinking::TSTileForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSBinaryForward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSTileForward(); }; @@ -36,6 +36,6 @@ class ov::pass::transpose_sinking::TSTileForward : public ov::pass::transpose_si */ class ov::pass::transpose_sinking::TSTileBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0"); + OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); TSTileBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp index c8148e912b30c0..6a3e5752c4380e 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSUnaryBackward; */ class ov::pass::transpose_sinking::TSUnaryForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("TSUnaryForward", "0"); + OPENVINO_RTTI("TSUnaryForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSUnaryForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnaryForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSUnaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSUnaryBackwardMultiConsumers", "0"); + OPENVINO_RTTI("TSUnaryBackwardMultiConsumers", "0", ov::pass::MatcherPass); TSUnaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp index 1ee195624cb801..e19ddd9e93671c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API TSUnsqueezeBackward; */ class ov::pass::transpose_sinking::TSUnsqueezeForward : public ov::pass::transpose_sinking::TSForwardBase { public: - OPENVINO_RTTI("ov::pass::TSUnsqueezeForward", "0"); + OPENVINO_RTTI("ov::pass::TSUnsqueezeForward", "0", ov::pass::transpose_sinking::TSForwardBase); TSUnsqueezeForward(); }; @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnsqueezeForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSUnsqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSUnsqueezeBackward", "0"); + OPENVINO_RTTI("ov::pass::TSUnsqueezeBackward", "0", ov::pass::MatcherPass); TSUnsqueezeBackward(); }; diff --git a/src/common/transformations/include/transformations/utils/gen_pattern.hpp b/src/common/transformations/include/transformations/utils/gen_pattern.hpp index 21309e339c959c..b41cf07a2f9e88 100644 --- a/src/common/transformations/include/transformations/utils/gen_pattern.hpp +++ b/src/common/transformations/include/transformations/utils/gen_pattern.hpp @@ -729,7 +729,7 @@ class AttrMatcher : public ov::AttributeVisitor { // from it. but we didn't use the predicate facility. class GenericPattern : public ov::pass::pattern::op::Pattern { public: - OPENVINO_RTTI("GenericPattern"); + OPENVINO_RTTI("GenericPattern","0", ov::pass::pattern::op::Pattern); explicit GenericPattern(const DiscreteTypeInfo& type_info, const OutputVector& args, diff --git a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp index 7c22dbdfeac53d..deead6d87b98a9 100644 --- a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp @@ -31,7 +31,7 @@ namespace ov { namespace pass { class InitNMSPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitNMSPath", "0"); + OPENVINO_RTTI("InitNMSPath", "0", ov::pass::MatcherPass); InitNMSPath() { MATCHER_SCOPE(InitNMSPath); auto nms_pattern = pattern::wrap_type(); diff --git a/src/common/transformations/src/transformations/common_optimizations/eliminate_duplicate_ti_inputs.cpp b/src/common/transformations/src/transformations/common_optimizations/eliminate_duplicate_ti_inputs.cpp index c28779f4c1e498..ce010f04e15aee 100644 --- a/src/common/transformations/src/transformations/common_optimizations/eliminate_duplicate_ti_inputs.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/eliminate_duplicate_ti_inputs.cpp @@ -31,14 +31,14 @@ ov::pass::EliminateDuplicateTIInputs::EliminateDuplicateTIInputs() { for (auto& key : input_descs) { auto is_equal = [&](const std::shared_ptr& input) -> bool { if (ti->input_value(input->m_input_index) == ti->input_value(key->m_input_index)) { - auto invariant_l = std::dynamic_pointer_cast(input); - auto invariant_r = std::dynamic_pointer_cast(key); + auto invariant_l = ov::as_type_ptr(input); + auto invariant_r = ov::as_type_ptr(key); if (invariant_l && invariant_r) { return true; } - auto slice_l = std::dynamic_pointer_cast(input); - auto slice_r = std::dynamic_pointer_cast(key); + auto slice_l = ov::as_type_ptr(input); + auto slice_r = ov::as_type_ptr(key); if (slice_l && slice_r) { return slice_l->m_axis == slice_r->m_axis && slice_l->m_start == slice_r->m_start && @@ -46,8 +46,8 @@ ov::pass::EliminateDuplicateTIInputs::EliminateDuplicateTIInputs() { slice_l->m_stride == slice_r->m_stride; } - auto merged_l = std::dynamic_pointer_cast(input); - auto merged_r = std::dynamic_pointer_cast(key); + auto merged_l = ov::as_type_ptr(input); + auto merged_r = ov::as_type_ptr(key); if (merged_l && merged_r) { return merged_l->m_body_value_index == merged_r->m_body_value_index; @@ -91,12 +91,12 @@ ov::pass::EliminateDuplicateTIInputs::EliminateDuplicateTIInputs() { for (const auto& remain : should_stay) { auto par = body->get_parameters()[remain->m_body_parameter_index]; auto in = ti->input_value(remain->m_input_index); - if (auto invariant = std::dynamic_pointer_cast(remain)) { + if (auto invariant = ov::as_type_ptr(remain)) { new_ti->set_invariant_input(par, in); - } else if (auto merged = std::dynamic_pointer_cast(remain)) { + } else if (auto merged = ov::as_type_ptr(remain)) { auto results = body->get_results(); new_ti->set_merged_input(par, in, results[merged->m_body_value_index]); - } else if (auto slice = std::dynamic_pointer_cast(remain)) { + } else if (auto slice = ov::as_type_ptr(remain)) { new_ti->set_sliced_input(par, in, slice->m_start, diff --git a/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp b/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp index 8b26d74dc2aac6..48b409c8d0d47c 100644 --- a/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/nop_elimination.cpp @@ -326,7 +326,7 @@ static bool eliminate_unsqueeze(const shared_ptr& node) { #define SIMPLE_MATCHER_PASS_DEFINITION(NAME, FUNC, ...) \ class NAME : public ov::pass::MatcherPass { \ public: \ - OPENVINO_RTTI(STR(NAME), "0"); \ + OPENVINO_RTTI(STR(NAME), "0", ov::pass::MatcherPass); \ NAME() { \ MATCHER_SCOPE(NAME); \ auto match_node = ov::pass::pattern::wrap_type<__VA_ARGS__>(); \ diff --git a/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp b/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp index e25ae9989d97b5..8c9cf5067bcc50 100644 --- a/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp @@ -121,7 +121,7 @@ ov::pass::PullUnsqueezeThroughReduce::PullUnsqueezeThroughReduce() { auto& pattern_map = m.get_pattern_value_map(); const auto input_node = pattern_map.at(input); const auto reduce_node = - std::dynamic_pointer_cast(pattern_map.at(reduce).get_node_shared_ptr()); + ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); const auto unsqueeze_node = pattern_map.at(unsqueeze).get_node_shared_ptr(); auto unsqueeze_axes_input = ov::as_type_ptr(pattern_map.at(unsqueeze_axes).get_node_shared_ptr()); @@ -194,7 +194,7 @@ ov::pass::PullReshapeThroughReduce::PullReshapeThroughReduce() { auto& pattern_map = m.get_pattern_value_map(); const auto input_node = pattern_map.at(input); const auto reduce_node = - std::dynamic_pointer_cast(pattern_map.at(reduce).get_node_shared_ptr()); + ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); if (!reduce_node) { return false; } diff --git a/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp index b2f8d98e715a30..cdb89068d08002 100644 --- a/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp @@ -32,7 +32,7 @@ ov::pass::ReduceReshapeFusion::ReduceReshapeFusion() { auto& pattern_map = m.get_pattern_value_map(); auto reshape_node = pattern_map.at(reshape).get_node_shared_ptr(); const auto reduce_node = - std::dynamic_pointer_cast(pattern_map.at(reduce).get_node_shared_ptr()); + ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); if (!reduce_node) { return false; } diff --git a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp index 53f26e00136ee9..f26f8c2eac49e2 100644 --- a/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/ric_fusion.cpp @@ -804,7 +804,7 @@ class ConvertPassThrough : public ov::pass::MatcherPass { class Constant : public ov::pass::ModelPass { public: - OPENVINO_RTTI("Constant", "0"); + OPENVINO_RTTI("Constant", "0", ov::pass::ModelPass); Constant() = default; bool run_on_model(const std::shared_ptr& model) override { RUN_ON_FUNCTION_SCOPE(Constant); diff --git a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp index 2235e87c792b0d..a0b9e9a95c2d09 100644 --- a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp +++ b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp @@ -116,7 +116,7 @@ const std::shared_ptr propagate_through_ops = */ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateUpMarkToKeepInMixedPrecision", "0"); + OPENVINO_RTTI("PropagateUpMarkToKeepInMixedPrecision", "0", pass::MatcherPass); PropagateUpMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateUpMarkToKeepInMixedPrecision); @@ -159,7 +159,7 @@ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { */ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateDownMarkToKeepInMixedPrecision", "0"); + OPENVINO_RTTI("PropagateDownMarkToKeepInMixedPrecision", "0", pass::MatcherPass); PropagateDownMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateDownMarkToKeepInMixedPrecision); @@ -197,7 +197,7 @@ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { class InitMarkReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitMarkReduceOpPath", "0"); + OPENVINO_RTTI("InitMarkReduceOpPath", "0", pass::MatcherPass); InitMarkReduceOpPath() { MATCHER_SCOPE(InitMarkReduceOpPath); @@ -217,7 +217,7 @@ class InitMarkReduceOpPath : public pass::MatcherPass { class PropagateMarkUpReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateMarkUpReduceOpPath", "0"); + OPENVINO_RTTI("PropagateMarkUpReduceOpPath", "0", pass::MatcherPass); PropagateMarkUpReduceOpPath() { MATCHER_SCOPE(PropagateMarkUpReduceOpPath); @@ -245,7 +245,7 @@ class PropagateMarkUpReduceOpPath : public pass::MatcherPass { class MarkExp : public pass::MatcherPass { public: // only exponent that go into ReduceOp should be marked as precision sensitive and kept in f32 - OPENVINO_RTTI("MarkExp", "0"); + OPENVINO_RTTI("MarkExp", "0", pass::MatcherPass); MarkExp() { MATCHER_SCOPE(MarkExp); auto exp_pattern = pattern::wrap_type(); @@ -271,7 +271,7 @@ class MarkExp : public pass::MatcherPass { */ class MarkExpInReduceOpPath : public BackwardGraphRewrite { public: - OPENVINO_RTTI("MarkExpInReduceOpPath", "0"); + OPENVINO_RTTI("MarkExpInReduceOpPath", "0", BackwardGraphRewrite); MarkExpInReduceOpPath() { // marking of ReduceOp path is needed to mark only Exponents that go into ReduceSum/ReduceMean ADD_MATCHER_FOR_THIS(InitMarkReduceOpPath); @@ -288,7 +288,7 @@ class MarkExpInReduceOpPath : public BackwardGraphRewrite { */ class MarkDivWithEps : public MatcherPass { public: - OPENVINO_RTTI("MarkDivWithEps", "0"); + OPENVINO_RTTI("MarkDivWithEps", "0", MatcherPass); MarkDivWithEps() { MATCHER_SCOPE(MarkDivWithEps); @@ -367,7 +367,7 @@ class MarkDivWithEps : public MatcherPass { class PropagateDownDisableSensitivityForQuantized : public pass::MatcherPass { public: - OPENVINO_RTTI("DisableMarkingForQuantizedNodes", "0"); + OPENVINO_RTTI("DisableMarkingForQuantizedNodes", "0", pass::MatcherPass); PropagateDownDisableSensitivityForQuantized() { MATCHER_SCOPE(PropagateDownDisableSensitivityForQuantized); diff --git a/src/common/transformations/tests/utils/compare_functions_test.cpp b/src/common/transformations/tests/utils/compare_functions_test.cpp index 666e229205c9ae..bd83f2966f8068 100644 --- a/src/common/transformations/tests/utils/compare_functions_test.cpp +++ b/src/common/transformations/tests/utils/compare_functions_test.cpp @@ -602,7 +602,7 @@ class AttributeAdapter AttributeAdapter(TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION& value) : DirectValueAccessor(value) {} - OPENVINO_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION"); + OPENVINO_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION","0", pass::MatcherPass); }; } // namespace ov diff --git a/src/core/include/openvino/op/adaptive_avg_pool.hpp b/src/core/include/openvino/op/adaptive_avg_pool.hpp index 5d50d5ecd49f22..2507375ba05ff4 100644 --- a/src/core/include/openvino/op/adaptive_avg_pool.hpp +++ b/src/core/include/openvino/op/adaptive_avg_pool.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API AdaptiveAvgPool : public Op { public: - OPENVINO_OP("AdaptiveAvgPool", "opset8"); + OPENVINO_OP("AdaptiveAvgPool", "opset8", Op); AdaptiveAvgPool() = default; diff --git a/src/core/include/openvino/op/adaptive_max_pool.hpp b/src/core/include/openvino/op/adaptive_max_pool.hpp index 727db6ba460ab4..37b5be3c8bd4fe 100644 --- a/src/core/include/openvino/op/adaptive_max_pool.hpp +++ b/src/core/include/openvino/op/adaptive_max_pool.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API AdaptiveMaxPool : public Op { public: - OPENVINO_OP("AdaptiveMaxPool", "opset8"); + OPENVINO_OP("AdaptiveMaxPool", "opset8", Op); AdaptiveMaxPool() = default; diff --git a/src/core/include/openvino/op/batch_norm.hpp b/src/core/include/openvino/op/batch_norm.hpp index eb539d298d7b8e..acdd63c0d50d84 100644 --- a/src/core/include/openvino/op/batch_norm.hpp +++ b/src/core/include/openvino/op/batch_norm.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API BatchNormInference : public Op { public: - OPENVINO_OP("BatchNormInference", "opset1"); + OPENVINO_OP("BatchNormInference", "opset1", Op); BatchNormInference() = default; /// \param input [., C, ...] /// \param gamma gamma scaling for normalized value. [C] diff --git a/src/core/include/openvino/op/concat.hpp b/src/core/include/openvino/op/concat.hpp index d32171c9facbc1..21068c75034380 100644 --- a/src/core/include/openvino/op/concat.hpp +++ b/src/core/include/openvino/op/concat.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Concat : public Op { public: - OPENVINO_OP("Concat", "opset1"); + OPENVINO_OP("Concat", "opset1", Op); /// \brief Constructs a concatenation operation. Concat() = default; diff --git a/src/core/include/openvino/op/constant.hpp b/src/core/include/openvino/op/constant.hpp index ccaae01586d612..4026af4872bb40 100644 --- a/src/core/include/openvino/op/constant.hpp +++ b/src/core/include/openvino/op/constant.hpp @@ -31,7 +31,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Constant : public Op { public: - OPENVINO_OP("Constant", "opset1"); + OPENVINO_OP("Constant", "opset1", Op); Constant() = default; diff --git a/src/core/include/openvino/op/convert.hpp b/src/core/include/openvino/op/convert.hpp index c82c2a84c71011..548d9796b09cfd 100644 --- a/src/core/include/openvino/op/convert.hpp +++ b/src/core/include/openvino/op/convert.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Convert : public Op { public: - OPENVINO_OP("Convert", "opset1"); + OPENVINO_OP("Convert", "opset1", Op); /// \brief Constructs a conversion operation. Convert() = default; diff --git a/src/core/include/openvino/op/ctc_greedy_decoder.hpp b/src/core/include/openvino/op/ctc_greedy_decoder.hpp index 224c12bfb10b9f..958afe688aa418 100644 --- a/src/core/include/openvino/op/ctc_greedy_decoder.hpp +++ b/src/core/include/openvino/op/ctc_greedy_decoder.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API CTCGreedyDecoder : public Op { public: - OPENVINO_OP("CTCGreedyDecoder", "opset1"); + OPENVINO_OP("CTCGreedyDecoder", "opset1", Op); CTCGreedyDecoder() = default; /// \brief Constructs a CTCGreedyDecoder operation diff --git a/src/core/include/openvino/op/cum_sum.hpp b/src/core/include/openvino/op/cum_sum.hpp index 38656f0d228b1e..f06a6de5fafa89 100644 --- a/src/core/include/openvino/op/cum_sum.hpp +++ b/src/core/include/openvino/op/cum_sum.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API CumSum : public Op { public: - OPENVINO_OP("CumSum", "opset3"); + OPENVINO_OP("CumSum", "opset3", Op); /// \brief Constructs a cumulative summation operation. CumSum() = default; diff --git a/src/core/include/openvino/op/depth_to_space.hpp b/src/core/include/openvino/op/depth_to_space.hpp index 33cff25f773584..660d609f3093e0 100644 --- a/src/core/include/openvino/op/depth_to_space.hpp +++ b/src/core/include/openvino/op/depth_to_space.hpp @@ -21,7 +21,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API DepthToSpace : public Op { public: - OPENVINO_OP("DepthToSpace", "opset1"); + OPENVINO_OP("DepthToSpace", "opset1", Op); enum class DepthToSpaceMode { // The input depth is divided to [block_size, ..., block_size, new_depth] diff --git a/src/core/include/openvino/op/eye.hpp b/src/core/include/openvino/op/eye.hpp index 52b6c699e281ce..d2325446d261c5 100644 --- a/src/core/include/openvino/op/eye.hpp +++ b/src/core/include/openvino/op/eye.hpp @@ -13,7 +13,7 @@ namespace v9 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Eye : public Op { public: - OPENVINO_OP("Eye", "opset9"); + OPENVINO_OP("Eye", "opset9", Op); Eye() = default; diff --git a/src/core/include/openvino/op/fake_convert.hpp b/src/core/include/openvino/op/fake_convert.hpp index c3eaa43b98a51b..39a5803ce75538 100644 --- a/src/core/include/openvino/op/fake_convert.hpp +++ b/src/core/include/openvino/op/fake_convert.hpp @@ -17,7 +17,7 @@ namespace v13 { /// \ingroup ov_ops_cpp_api class OPENVINO_API FakeConvert : public Op { public: - OPENVINO_OP("FakeConvert", "opset13"); + OPENVINO_OP("FakeConvert", "opset13", Op); FakeConvert() = default; diff --git a/src/core/include/openvino/op/fake_quantize.hpp b/src/core/include/openvino/op/fake_quantize.hpp index 52caca885a02cc..8b204847fba17c 100644 --- a/src/core/include/openvino/op/fake_quantize.hpp +++ b/src/core/include/openvino/op/fake_quantize.hpp @@ -26,7 +26,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API FakeQuantize : public Op { public: - OPENVINO_OP("FakeQuantize", "opset1"); + OPENVINO_OP("FakeQuantize", "opset1", Op); FakeQuantize(); /// diff --git a/src/core/include/openvino/op/generate_proposals.hpp b/src/core/include/openvino/op/generate_proposals.hpp index b5944429fd39b1..759a80f4987af3 100644 --- a/src/core/include/openvino/op/generate_proposals.hpp +++ b/src/core/include/openvino/op/generate_proposals.hpp @@ -14,7 +14,7 @@ namespace v9 { /// computes ROIs and their scores based on input data. class OPENVINO_API GenerateProposals : public Op { public: - OPENVINO_OP("GenerateProposals", "opset9"); + OPENVINO_OP("GenerateProposals", "opset9", Op); /// \brief Structure that specifies attributes of the operation struct Attributes { diff --git a/src/core/include/openvino/op/grid_sample.hpp b/src/core/include/openvino/op/grid_sample.hpp index c0bf94109e8e12..19d40bb387235e 100644 --- a/src/core/include/openvino/op/grid_sample.hpp +++ b/src/core/include/openvino/op/grid_sample.hpp @@ -16,7 +16,7 @@ namespace v9 { /// \ingroup ov_ops_cpp_api class OPENVINO_API GridSample : public Op { public: - OPENVINO_OP("GridSample", "opset9"); + OPENVINO_OP("GridSample", "opset9", Op); enum class InterpolationMode { BILINEAR, BICUBIC, NEAREST }; enum class PaddingMode { ZEROS, BORDER, REFLECTION }; diff --git a/src/core/include/openvino/op/group_normalization.hpp b/src/core/include/openvino/op/group_normalization.hpp index f766b0f99243a2..59f3a3ae07d7a4 100644 --- a/src/core/include/openvino/op/group_normalization.hpp +++ b/src/core/include/openvino/op/group_normalization.hpp @@ -14,7 +14,7 @@ namespace v12 { /// \ingroup ov_ops_cpp_api class OPENVINO_API GroupNormalization : public Op { public: - OPENVINO_OP("GroupNormalization", "opset12"); + OPENVINO_OP("GroupNormalization", "opset12", Op); GroupNormalization(); /// \param data The input tensor to be normalized /// \param scale The tensor containing scale values for each channel diff --git a/src/core/include/openvino/op/hard_sigmoid.hpp b/src/core/include/openvino/op/hard_sigmoid.hpp index 27efcd58cc822d..f6df09377c7c86 100644 --- a/src/core/include/openvino/op/hard_sigmoid.hpp +++ b/src/core/include/openvino/op/hard_sigmoid.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API HardSigmoid : public Op { public: - OPENVINO_OP("HardSigmoid", "opset1"); + OPENVINO_OP("HardSigmoid", "opset1", Op); HardSigmoid(); diff --git a/src/core/include/openvino/op/interpolate.hpp b/src/core/include/openvino/op/interpolate.hpp index 0776cccd476d62..606b4af4e20345 100644 --- a/src/core/include/openvino/op/interpolate.hpp +++ b/src/core/include/openvino/op/interpolate.hpp @@ -21,7 +21,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Interpolate : public Op { public: - OPENVINO_OP("Interpolate", "opset1"); + OPENVINO_OP("Interpolate", "opset1", Op); /// \brief Structure that specifies attributes for interpolation struct Attributes { // specify dimension indices where interpolation is applied, and `axes` is any diff --git a/src/core/include/openvino/op/inverse.hpp b/src/core/include/openvino/op/inverse.hpp index 66c5520c7826f1..1e21bd57985254 100644 --- a/src/core/include/openvino/op/inverse.hpp +++ b/src/core/include/openvino/op/inverse.hpp @@ -14,7 +14,7 @@ namespace v14 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Inverse : public Op { public: - OPENVINO_OP("Inverse", "opset14"); + OPENVINO_OP("Inverse", "opset14", Op); Inverse() = default; /** * @brief Inverse operation computes the inverse of the input matrices. The inverse is computed for each MxM matrix diff --git a/src/core/include/openvino/op/is_finite.hpp b/src/core/include/openvino/op/is_finite.hpp index 73f49a851a2694..27257bce601fc5 100644 --- a/src/core/include/openvino/op/is_finite.hpp +++ b/src/core/include/openvino/op/is_finite.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsFinite : public Op { public: - OPENVINO_OP("IsFinite", "opset10"); + OPENVINO_OP("IsFinite", "opset10", Op); IsFinite() = default; /// \brief Constructs a IsFinite operation. /// diff --git a/src/core/include/openvino/op/is_inf.hpp b/src/core/include/openvino/op/is_inf.hpp index 9ce3c75698efea..0b9659bf6d58bb 100644 --- a/src/core/include/openvino/op/is_inf.hpp +++ b/src/core/include/openvino/op/is_inf.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsInf : public Op { public: - OPENVINO_OP("IsInf", "opset10"); + OPENVINO_OP("IsInf", "opset10", Op); /// \brief A Structure which contains all IsInf attributes struct Attributes { // A flag which specifies whether to map negative infinities to true. diff --git a/src/core/include/openvino/op/is_nan.hpp b/src/core/include/openvino/op/is_nan.hpp index 0df2b1a021dcda..cf2a6bf70add29 100644 --- a/src/core/include/openvino/op/is_nan.hpp +++ b/src/core/include/openvino/op/is_nan.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsNaN : public Op { public: - OPENVINO_OP("IsNaN", "opset10"); + OPENVINO_OP("IsNaN", "opset10", Op); IsNaN() = default; /// \brief Constructs a IsNaN operation. /// diff --git a/src/core/include/openvino/op/lrn.hpp b/src/core/include/openvino/op/lrn.hpp index edadf7e050ca9d..0c802f1ea55c13 100644 --- a/src/core/include/openvino/op/lrn.hpp +++ b/src/core/include/openvino/op/lrn.hpp @@ -27,7 +27,7 @@ namespace v0 { // clang-format on class OPENVINO_API LRN : public Op { public: - OPENVINO_OP("LRN", "opset1"); + OPENVINO_OP("LRN", "opset1", Op); /// \brief Constructs a LRN operation. LRN() = default; diff --git a/src/core/include/openvino/op/matmul.hpp b/src/core/include/openvino/op/matmul.hpp index 69b7e21cfceb8c..f2d2e356827fc5 100644 --- a/src/core/include/openvino/op/matmul.hpp +++ b/src/core/include/openvino/op/matmul.hpp @@ -13,7 +13,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MatMul : public Op { public: - OPENVINO_OP("MatMul", "opset1"); + OPENVINO_OP("MatMul", "opset1", Op); MatMul() = default; /// \brief Constructs an Matrix Multiplication operation. /// diff --git a/src/core/include/openvino/op/matrix_nms.hpp b/src/core/include/openvino/op/matrix_nms.hpp index e7e9ec59441bbe..30603025ea3f9d 100644 --- a/src/core/include/openvino/op/matrix_nms.hpp +++ b/src/core/include/openvino/op/matrix_nms.hpp @@ -14,7 +14,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MatrixNms : public Op { public: - OPENVINO_OP("MatrixNms", "opset8"); + OPENVINO_OP("MatrixNms", "opset8", Op); enum class DecayFunction { GAUSSIAN, LINEAR }; diff --git a/src/core/include/openvino/op/multinomial.hpp b/src/core/include/openvino/op/multinomial.hpp index fa40df540c0e5d..410bba3804751c 100644 --- a/src/core/include/openvino/op/multinomial.hpp +++ b/src/core/include/openvino/op/multinomial.hpp @@ -14,7 +14,7 @@ namespace v13 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Multinomial : public Op { public: - OPENVINO_OP("Multinomial", "opset13"); + OPENVINO_OP("Multinomial", "opset13", Op); Multinomial() = default; /** * @brief Multinomial operation creates a sequence of indices of classes sampled from the multinomial distribution. diff --git a/src/core/include/openvino/op/mvn.hpp b/src/core/include/openvino/op/mvn.hpp index de0537fac2626d..afcc5eb5dd06a0 100644 --- a/src/core/include/openvino/op/mvn.hpp +++ b/src/core/include/openvino/op/mvn.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MVN : public Op { public: - OPENVINO_OP("MVN", "opset2"); + OPENVINO_OP("MVN", "opset2", Op); MVN() = default; /// \brief Constructs an MVN operation. diff --git a/src/core/include/openvino/op/normalize_l2.hpp b/src/core/include/openvino/op/normalize_l2.hpp index 9b254aead6f9bb..32fdc64496d046 100644 --- a/src/core/include/openvino/op/normalize_l2.hpp +++ b/src/core/include/openvino/op/normalize_l2.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API NormalizeL2 : public Op { public: - OPENVINO_OP("NormalizeL2", "opset1"); + OPENVINO_OP("NormalizeL2", "opset1", Op); NormalizeL2() = default; /// diff --git a/src/core/include/openvino/op/parameter.hpp b/src/core/include/openvino/op/parameter.hpp index a29e35ad51be46..2eda36512844f4 100644 --- a/src/core/include/openvino/op/parameter.hpp +++ b/src/core/include/openvino/op/parameter.hpp @@ -18,7 +18,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Parameter : public op::Op { public: - OPENVINO_OP("Parameter", "opset1"); + OPENVINO_OP("Parameter", "opset1", op::Op); /// \brief Constructions a tensor-typed parameter node. Parameter() = default; /// \brief Constructions a tensor-typed parameter node. diff --git a/src/core/include/openvino/op/prelu.hpp b/src/core/include/openvino/op/prelu.hpp index a4d98e5d169a1a..7bcf79552a14ce 100644 --- a/src/core/include/openvino/op/prelu.hpp +++ b/src/core/include/openvino/op/prelu.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PRelu : public Op { public: - OPENVINO_OP("PRelu", "opset1"); + OPENVINO_OP("PRelu", "opset1", Op); PRelu(); /// \brief Constructs a PRelu operation. /// diff --git a/src/core/include/openvino/op/prior_box.hpp b/src/core/include/openvino/op/prior_box.hpp index 801883aae6860f..f7ce286faaa4a3 100644 --- a/src/core/include/openvino/op/prior_box.hpp +++ b/src/core/include/openvino/op/prior_box.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBox : public Op { public: - OPENVINO_OP("PriorBox", "opset1"); + OPENVINO_OP("PriorBox", "opset1", Op); struct Attributes { // min_size Desired min_size of prior boxes // max_size Desired max_size of prior boxes @@ -73,7 +73,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBox : public Op { public: - OPENVINO_OP("PriorBox", "opset8"); + OPENVINO_OP("PriorBox", "opset8", Op); struct Attributes { // min_size Desired min_size of prior boxes // max_size Desired max_size of prior boxes diff --git a/src/core/include/openvino/op/prior_box_clustered.hpp b/src/core/include/openvino/op/prior_box_clustered.hpp index 2c1945dc91c7be..2626732253e559 100644 --- a/src/core/include/openvino/op/prior_box_clustered.hpp +++ b/src/core/include/openvino/op/prior_box_clustered.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBoxClustered : public Op { public: - OPENVINO_OP("PriorBoxClustered", "opset1"); + OPENVINO_OP("PriorBoxClustered", "opset1", Op); struct Attributes { // widths Desired widths of prior boxes // heights Desired heights of prior boxes diff --git a/src/core/include/openvino/op/proposal.hpp b/src/core/include/openvino/op/proposal.hpp index 67f62bde20fda2..66c60db17f1456 100644 --- a/src/core/include/openvino/op/proposal.hpp +++ b/src/core/include/openvino/op/proposal.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Proposal : public Op { public: - OPENVINO_OP("Proposal", "opset1"); + OPENVINO_OP("Proposal", "opset1", Op); // base_size Anchor sizes // pre_nms_topn Number of boxes before nms // post_nms_topn Number of boxes after nms diff --git a/src/core/include/openvino/op/psroi_pooling.hpp b/src/core/include/openvino/op/psroi_pooling.hpp index b7a66316c587c5..5f96e3625653b3 100644 --- a/src/core/include/openvino/op/psroi_pooling.hpp +++ b/src/core/include/openvino/op/psroi_pooling.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PSROIPooling : public Op { public: - OPENVINO_OP("PSROIPooling", "opset1"); + OPENVINO_OP("PSROIPooling", "opset1", Op); PSROIPooling() = default; /// \brief Constructs a PSROIPooling operation diff --git a/src/core/include/openvino/op/random_uniform.hpp b/src/core/include/openvino/op/random_uniform.hpp index 22f06f79402135..a6e8944454a9c7 100644 --- a/src/core/include/openvino/op/random_uniform.hpp +++ b/src/core/include/openvino/op/random_uniform.hpp @@ -14,7 +14,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API RandomUniform : public Op { public: - OPENVINO_OP("RandomUniform", "opset8"); + OPENVINO_OP("RandomUniform", "opset8", Op); RandomUniform() = default; diff --git a/src/core/include/openvino/op/range.hpp b/src/core/include/openvino/op/range.hpp index cc7e3acefb203b..a75227e66229da 100644 --- a/src/core/include/openvino/op/range.hpp +++ b/src/core/include/openvino/op/range.hpp @@ -54,7 +54,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Range : public Op { public: - OPENVINO_OP("Range", "opset1"); + OPENVINO_OP("Range", "opset1", Op); /// \brief Constructs an unitialized range operation. Range() = default; diff --git a/src/core/include/openvino/op/region_yolo.hpp b/src/core/include/openvino/op/region_yolo.hpp index 533b5b7c3962b1..1e7fb04d4c1454 100644 --- a/src/core/include/openvino/op/region_yolo.hpp +++ b/src/core/include/openvino/op/region_yolo.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API RegionYolo : public Op { public: - OPENVINO_OP("RegionYolo", "opset1"); + OPENVINO_OP("RegionYolo", "opset1", Op); RegionYolo() = default; /// diff --git a/src/core/include/openvino/op/reorg_yolo.hpp b/src/core/include/openvino/op/reorg_yolo.hpp index 1530c692582415..7d4df9842fa783 100644 --- a/src/core/include/openvino/op/reorg_yolo.hpp +++ b/src/core/include/openvino/op/reorg_yolo.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ReorgYolo : public Op { public: - OPENVINO_OP("ReorgYolo", "opset2"); + OPENVINO_OP("ReorgYolo", "opset2", Op); ReorgYolo() = default; /// \brief Constructs a ReorgYolo operation diff --git a/src/core/include/openvino/op/result.hpp b/src/core/include/openvino/op/result.hpp index 00e805d1f2aeb5..3be7ae332cdcd3 100644 --- a/src/core/include/openvino/op/result.hpp +++ b/src/core/include/openvino/op/result.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Result : public Op { public: - OPENVINO_OP("Result", "opset1"); + OPENVINO_OP("Result", "opset1", Op); /// \brief Allows a value to be used as a function result. Result() = default; diff --git a/src/core/include/openvino/op/reverse_sequence.hpp b/src/core/include/openvino/op/reverse_sequence.hpp index 2581999836dfd4..fdab77a000a00d 100644 --- a/src/core/include/openvino/op/reverse_sequence.hpp +++ b/src/core/include/openvino/op/reverse_sequence.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ReverseSequence : public Op { public: - OPENVINO_OP("ReverseSequence", "opset1"); + OPENVINO_OP("ReverseSequence", "opset1", Op); ReverseSequence() = default; /// \brief Constructs a ReverseSequence operation. diff --git a/src/core/include/openvino/op/roi_pooling.hpp b/src/core/include/openvino/op/roi_pooling.hpp index 87ba126f788fd6..0b65407cd884a8 100644 --- a/src/core/include/openvino/op/roi_pooling.hpp +++ b/src/core/include/openvino/op/roi_pooling.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ROIPooling : public Op { public: - OPENVINO_OP("ROIPooling", "opset2"); + OPENVINO_OP("ROIPooling", "opset2", Op); ROIPooling() = default; /// \brief Constructs a ROIPooling operation diff --git a/src/core/include/openvino/op/selu.hpp b/src/core/include/openvino/op/selu.hpp index d152975b9cb23c..63b1e472b17172 100644 --- a/src/core/include/openvino/op/selu.hpp +++ b/src/core/include/openvino/op/selu.hpp @@ -13,7 +13,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Selu : public Op { public: - OPENVINO_OP("Selu", "opset1"); + OPENVINO_OP("Selu", "opset1", Op); Selu() = default; /// \brief Constructs a Selu node. diff --git a/src/core/include/openvino/op/shuffle_channels.hpp b/src/core/include/openvino/op/shuffle_channels.hpp index 321319d2e904d8..f26bc694bef92b 100644 --- a/src/core/include/openvino/op/shuffle_channels.hpp +++ b/src/core/include/openvino/op/shuffle_channels.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ShuffleChannels : public Op { public: - OPENVINO_OP("ShuffleChannels", "opset1"); + OPENVINO_OP("ShuffleChannels", "opset1", Op); ShuffleChannels() = default; /// \brief Constructs a ShuffleChannels node. diff --git a/src/core/include/openvino/op/slice.hpp b/src/core/include/openvino/op/slice.hpp index 923f84521d8500..edf171073cf4bb 100644 --- a/src/core/include/openvino/op/slice.hpp +++ b/src/core/include/openvino/op/slice.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Slice : public Op { public: - OPENVINO_OP("Slice", "opset8"); + OPENVINO_OP("Slice", "opset8", Op); Slice() = default; diff --git a/src/core/include/openvino/op/slice_scatter.hpp b/src/core/include/openvino/op/slice_scatter.hpp index 0ffed5e5ac2462..218c029ff5f2b5 100644 --- a/src/core/include/openvino/op/slice_scatter.hpp +++ b/src/core/include/openvino/op/slice_scatter.hpp @@ -14,7 +14,7 @@ namespace v15 { /// \ingroup ov_ops_cpp_api class OPENVINO_API SliceScatter : public Op { public: - OPENVINO_OP("SliceScatter", "opset15"); + OPENVINO_OP("SliceScatter", "opset15", Op); SliceScatter() = default; diff --git a/src/core/include/openvino/op/softmax.hpp b/src/core/include/openvino/op/softmax.hpp index 598832a61d83ab..be698d838a0888 100644 --- a/src/core/include/openvino/op/softmax.hpp +++ b/src/core/include/openvino/op/softmax.hpp @@ -51,7 +51,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Softmax : public Op { public: - OPENVINO_OP("Softmax", "opset8"); + OPENVINO_OP("Softmax", "opset8", Op); Softmax() = default; /// \brief Constructs a softmax operation. diff --git a/src/core/include/openvino/op/space_to_depth.hpp b/src/core/include/openvino/op/space_to_depth.hpp index 9eda253c31bf1f..d98d09474f08bc 100644 --- a/src/core/include/openvino/op/space_to_depth.hpp +++ b/src/core/include/openvino/op/space_to_depth.hpp @@ -19,7 +19,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API SpaceToDepth : public Op { public: - OPENVINO_OP("SpaceToDepth", "opset1"); + OPENVINO_OP("SpaceToDepth", "opset1", Op); enum class SpaceToDepthMode { // The output depth is gathered from [block_size, ..., block_size, C] diff --git a/src/core/include/openvino/op/tile.hpp b/src/core/include/openvino/op/tile.hpp index cf4f41be1d9085..1f71f98755ab50 100644 --- a/src/core/include/openvino/op/tile.hpp +++ b/src/core/include/openvino/op/tile.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Tile : public Op { public: - OPENVINO_OP("Tile", "opset1"); + OPENVINO_OP("Tile", "opset1", Op); Tile() = default; /// \brief Perform dynamic padding of a tensor diff --git a/src/core/include/openvino/op/unique.hpp b/src/core/include/openvino/op/unique.hpp index 9fc1ed6344f55c..4f6238631d7fec 100644 --- a/src/core/include/openvino/op/unique.hpp +++ b/src/core/include/openvino/op/unique.hpp @@ -14,7 +14,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Unique : public Op { public: - OPENVINO_OP("Unique", "opset10"); + OPENVINO_OP("Unique", "opset10", Op); Unique() = default; diff --git a/src/core/include/openvino/op/unsqueeze.hpp b/src/core/include/openvino/op/unsqueeze.hpp index 4701df2dd4d4ec..1c505e60332e4b 100644 --- a/src/core/include/openvino/op/unsqueeze.hpp +++ b/src/core/include/openvino/op/unsqueeze.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Unsqueeze : public Op { public: - OPENVINO_OP("Unsqueeze", "opset1"); + OPENVINO_OP("Unsqueeze", "opset1", Op); Unsqueeze() = default; Unsqueeze(const Output& data, const Output& axes); diff --git a/src/core/include/openvino/op/util/avg_pool_base.hpp b/src/core/include/openvino/op/util/avg_pool_base.hpp index a92f9826f56f93..aae1e05477169d 100644 --- a/src/core/include/openvino/op/util/avg_pool_base.hpp +++ b/src/core/include/openvino/op/util/avg_pool_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API AvgPoolBase : public Op { public: - OPENVINO_OP("AvgPool", "util"); + OPENVINO_OP("AvgPool", "util", Op); AvgPoolBase() = default; /// \brief Constructs a batched average pooling operation. diff --git a/src/core/include/openvino/op/util/convert_color_nv12_base.hpp b/src/core/include/openvino/op/util/convert_color_nv12_base.hpp index 6727944eb0e5c9..ce9703117e938e 100644 --- a/src/core/include/openvino/op/util/convert_color_nv12_base.hpp +++ b/src/core/include/openvino/op/util/convert_color_nv12_base.hpp @@ -61,7 +61,7 @@ class OPENVINO_API ConvertColorNV12Base : public Op { ConvertColorNV12Base(const Output& arg_y, const Output& arg_uv, ColorConversion format); public: - OPENVINO_OP("ConvertColorNV12Base", "util"); + OPENVINO_OP("ConvertColorNV12Base", "util", Op); void validate_and_infer_types() override; diff --git a/src/core/include/openvino/op/util/convolution_base.hpp b/src/core/include/openvino/op/util/convolution_base.hpp index c58d1add2cd5b6..6c7e4dc0e9b93e 100644 --- a/src/core/include/openvino/op/util/convolution_base.hpp +++ b/src/core/include/openvino/op/util/convolution_base.hpp @@ -14,7 +14,7 @@ namespace util { /// \brief Base class for operations like convolutions class OPENVINO_API ConvolutionBase : public Op { public: - OPENVINO_OP("ConvolutionBase", "util"); + OPENVINO_OP("ConvolutionBase", "util", Op); /// \brief Constructs a conversion operation. ConvolutionBase() = default; diff --git a/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp b/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp index eac03e913c2771..a66ece42aa480d 100644 --- a/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp +++ b/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp @@ -13,7 +13,7 @@ namespace util { /// \brief Returns embeddings for given indices class OPENVINO_API EmbeddingBagOffsetsBase : public Op { public: - OPENVINO_OP("EmbeddingBagOffsetsBase", "util"); + OPENVINO_OP("EmbeddingBagOffsetsBase", "util", Op); enum class Reduction { SUM, MEAN }; diff --git a/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp b/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp index c33afb4ad2bbbb..f8961cad65d9f7 100644 --- a/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp +++ b/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp @@ -14,7 +14,7 @@ namespace util { class OPENVINO_API EmbeddingBagPackedBase : public Op { public: enum class Reduction { SUM, MEAN }; - OPENVINO_OP("EmbeddingBagPackedBase", "util"); + OPENVINO_OP("EmbeddingBagPackedBase", "util", Op); /// \brief Constructs a EmbeddingBagPackedBase operation. EmbeddingBagPackedBase() = default; /// \brief Constructs a EmbeddingBagPackedBase operation. diff --git a/src/core/include/openvino/op/util/fft_base.hpp b/src/core/include/openvino/op/util/fft_base.hpp index 9c3b7106a53f10..7d2814ece9a19d 100644 --- a/src/core/include/openvino/op/util/fft_base.hpp +++ b/src/core/include/openvino/op/util/fft_base.hpp @@ -13,7 +13,7 @@ namespace util { /// \brief Base class for operations DFT and DFT. class OPENVINO_API FFTBase : public Op { public: - OPENVINO_OP("FFTBase", "util"); + OPENVINO_OP("FFTBase", "util", Op); FFTBase() = default; void validate_and_infer_types() override; diff --git a/src/core/include/openvino/op/util/gather_base.hpp b/src/core/include/openvino/op/util/gather_base.hpp index 9fa8387aee6b3a..ce313052d958e6 100644 --- a/src/core/include/openvino/op/util/gather_base.hpp +++ b/src/core/include/openvino/op/util/gather_base.hpp @@ -12,7 +12,7 @@ namespace util { /// \brief GatherBase basic class for Gather v1 and v7 class OPENVINO_API GatherBase : public Op { public: - OPENVINO_OP("GatherBase", "util"); + OPENVINO_OP("GatherBase", "util", Op); GatherBase() = default; /// \param data The tensor from which slices are gathered diff --git a/src/core/include/openvino/op/util/gather_nd_base.hpp b/src/core/include/openvino/op/util/gather_nd_base.hpp index 8bd1c6ed30c43b..f240a0e38ba6a8 100644 --- a/src/core/include/openvino/op/util/gather_nd_base.hpp +++ b/src/core/include/openvino/op/util/gather_nd_base.hpp @@ -12,7 +12,7 @@ namespace util { /// \brief GatherNDBase basic class for GatherND v5 and v8 class OPENVINO_API GatherNDBase : public Op { public: - OPENVINO_OP("GatherNDBase", "util"); + OPENVINO_OP("GatherNDBase", "util", Op); GatherNDBase() = default; /// \brief Constructs a GatherND operation. diff --git a/src/core/include/openvino/op/util/interpolate_base.hpp b/src/core/include/openvino/op/util/interpolate_base.hpp index 858ee639b400d5..8c78902a741c16 100644 --- a/src/core/include/openvino/op/util/interpolate_base.hpp +++ b/src/core/include/openvino/op/util/interpolate_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API InterpolateBase : public Op { public: - OPENVINO_OP("InterpolateBase", "util"); + OPENVINO_OP("InterpolateBase", "util", Op); /// \brief PartialShape calculation mode /// /// SIZES - output shape for interpolated axes is calculated using input `sizes` diff --git a/src/core/include/openvino/op/util/max_pool_base.hpp b/src/core/include/openvino/op/util/max_pool_base.hpp index 4fc3529c435b14..d38c36730943c1 100644 --- a/src/core/include/openvino/op/util/max_pool_base.hpp +++ b/src/core/include/openvino/op/util/max_pool_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API MaxPoolBase : public Op { public: - OPENVINO_OP("MaxPoolBase", "util"); + OPENVINO_OP("MaxPoolBase", "util", Op); MaxPoolBase() = default; /// \param arg The node producing the input data batch tensor. diff --git a/src/core/include/openvino/op/util/multiclass_nms_base.hpp b/src/core/include/openvino/op/util/multiclass_nms_base.hpp index 1be7eecd50ff61..7d70800288a746 100644 --- a/src/core/include/openvino/op/util/multiclass_nms_base.hpp +++ b/src/core/include/openvino/op/util/multiclass_nms_base.hpp @@ -13,7 +13,7 @@ namespace util { /// v9. class OPENVINO_API MulticlassNmsBase : public Op { public: - OPENVINO_OP("MulticlassNmsBase", "util"); + OPENVINO_OP("MulticlassNmsBase", "util", Op); enum class SortResultType { CLASSID, // sort selected boxes by class id (ascending) in each batch element diff --git a/src/core/include/openvino/op/util/pad_base.hpp b/src/core/include/openvino/op/util/pad_base.hpp index 1f6d6dc173d5d2..4bffc157faf68a 100644 --- a/src/core/include/openvino/op/util/pad_base.hpp +++ b/src/core/include/openvino/op/util/pad_base.hpp @@ -13,7 +13,7 @@ namespace op { namespace util { class OPENVINO_API PadBase : public Op { public: - OPENVINO_OP("PadBase", "util"); + OPENVINO_OP("PadBase", "util", Op); PadBase() = default; diff --git a/src/core/include/openvino/op/util/read_value_base.hpp b/src/core/include/openvino/op/util/read_value_base.hpp index a2ccf77b5ebe06..f644fe1d2b3878 100644 --- a/src/core/include/openvino/op/util/read_value_base.hpp +++ b/src/core/include/openvino/op/util/read_value_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API ReadValueBase : public Op, public VariableExtension { public: - OPENVINO_OP("ReadValueBase", "util"); + OPENVINO_OP("ReadValueBase", "util", Op); ReadValueBase() = default; diff --git a/src/core/include/openvino/op/util/rnn_cell_base.hpp b/src/core/include/openvino/op/util/rnn_cell_base.hpp index e5aa4e59ba5ec6..f36dff37a43653 100644 --- a/src/core/include/openvino/op/util/rnn_cell_base.hpp +++ b/src/core/include/openvino/op/util/rnn_cell_base.hpp @@ -61,7 +61,7 @@ convert_lstm_peepholes_format(const Output& node, /// class OPENVINO_API RNNCellBase : public Op { public: - OPENVINO_OP("RNNCellBase", "util"); + OPENVINO_OP("RNNCellBase", "util", Op); /// /// \brief Constructs a RNNCellBase class. diff --git a/src/core/include/openvino/op/util/roi_align_base.hpp b/src/core/include/openvino/op/util/roi_align_base.hpp index b35d241bec7c98..64a981e6534c96 100644 --- a/src/core/include/openvino/op/util/roi_align_base.hpp +++ b/src/core/include/openvino/op/util/roi_align_base.hpp @@ -15,7 +15,7 @@ namespace util { /// class OPENVINO_API ROIAlignBase : public Op { public: - OPENVINO_OP("ROIAlignBase", "util"); + OPENVINO_OP("ROIAlignBase", "util", Op); protected: ROIAlignBase() = default; diff --git a/src/core/include/openvino/op/util/scatter_base.hpp b/src/core/include/openvino/op/util/scatter_base.hpp index 4aa2afeac2f657..26b3fb9bd28770 100644 --- a/src/core/include/openvino/op/util/scatter_base.hpp +++ b/src/core/include/openvino/op/util/scatter_base.hpp @@ -14,7 +14,7 @@ namespace util { /// class OPENVINO_API ScatterBase : public Op { public: - OPENVINO_OP("ScatterBase", "util"); + OPENVINO_OP("ScatterBase", "util", Op); void validate_and_infer_types() override; bool visit_attributes(AttributeVisitor& visitor) override; diff --git a/src/core/include/openvino/op/util/scatter_elements_update_base.hpp b/src/core/include/openvino/op/util/scatter_elements_update_base.hpp index bcf6ae11f455bf..217b01b7af660d 100644 --- a/src/core/include/openvino/op/util/scatter_elements_update_base.hpp +++ b/src/core/include/openvino/op/util/scatter_elements_update_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API ScatterElementsUpdateBase : public Op { public: - OPENVINO_OP("ScatterElementsUpdateBase", "util"); + OPENVINO_OP("ScatterElementsUpdateBase", "util", Op); ScatterElementsUpdateBase() = default; /// \brief The common base class for all ScatterElementsUpdate operator versions diff --git a/src/core/include/openvino/op/util/scatter_nd_base.hpp b/src/core/include/openvino/op/util/scatter_nd_base.hpp index f46b23cb16411b..1e58237b6f18a2 100644 --- a/src/core/include/openvino/op/util/scatter_nd_base.hpp +++ b/src/core/include/openvino/op/util/scatter_nd_base.hpp @@ -14,7 +14,7 @@ namespace util { /// class OPENVINO_API ScatterNDBase : public Op { public: - OPENVINO_OP("ScatterNDBase", "util"); + OPENVINO_OP("ScatterNDBase", "util", Op); // Respective input ordinal number. static constexpr int INPUTS = 0; static constexpr int INDICES = 1; diff --git a/src/core/include/openvino/op/util/shape_of_base.hpp b/src/core/include/openvino/op/util/shape_of_base.hpp index 87e529ab839c94..2c3723d7032e0f 100644 --- a/src/core/include/openvino/op/util/shape_of_base.hpp +++ b/src/core/include/openvino/op/util/shape_of_base.hpp @@ -11,7 +11,7 @@ namespace op { namespace util { class OPENVINO_API ShapeOfBase : public Op { public: - OPENVINO_OP("ShapeOfBase", "util"); + OPENVINO_OP("ShapeOfBase", "util", Op); ShapeOfBase() = default; diff --git a/src/core/include/openvino/pass/backward_graph_rewrite.hpp b/src/core/include/openvino/pass/backward_graph_rewrite.hpp index 7e7f6f118efe8d..d0e35160140f0d 100644 --- a/src/core/include/openvino/pass/backward_graph_rewrite.hpp +++ b/src/core/include/openvino/pass/backward_graph_rewrite.hpp @@ -11,7 +11,7 @@ namespace ov { namespace pass { class OPENVINO_API BackwardGraphRewrite : public GraphRewrite { public: - OPENVINO_RTTI("ov::pass::BackwardGraphRewrite"); + OPENVINO_RTTI("ov::pass::BackwardGraphRewrite","0", GraphRewrite); BackwardGraphRewrite() = default; diff --git a/src/core/include/openvino/pass/constant_folding.hpp b/src/core/include/openvino/pass/constant_folding.hpp index 134f02c590974f..a58ac0da93bfd5 100644 --- a/src/core/include/openvino/pass/constant_folding.hpp +++ b/src/core/include/openvino/pass/constant_folding.hpp @@ -18,7 +18,7 @@ namespace pass { */ class OPENVINO_API ConstantFolding : public ModelPass { public: - OPENVINO_RTTI("ConstantFolding"); + OPENVINO_RTTI("ConstantFolding", "0", ModelPass); bool run_on_model(const std::shared_ptr& model) override; protected: @@ -65,7 +65,7 @@ OPENVINO_API bool constant_folding_is_disabled(const Node* const node); class OPENVINO_API DisableConstantFolding : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("DisableConstantFolding"); + OPENVINO_RTTI("DisableConstantFolding", "0", ov::RuntimeAttribute); DisableConstantFolding() = default; bool is_copyable() const override { return false; diff --git a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp index ae9bb25efb4a87..56f17e779689f3 100644 --- a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp +++ b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp @@ -14,7 +14,7 @@ namespace pass { */ class OPENVINO_API ConvertFP32ToFP16 : public ModelPass { public: - OPENVINO_RTTI("ConvertFP32ToFP16"); + OPENVINO_RTTI("ConvertFP32ToFP16","0", ModelPass); bool run_on_model(const std::shared_ptr&) override; }; } // namespace pass diff --git a/src/core/include/openvino/pass/graph_rewrite.hpp b/src/core/include/openvino/pass/graph_rewrite.hpp index 3fd801235c31a2..691ed6ae33fc0e 100644 --- a/src/core/include/openvino/pass/graph_rewrite.hpp +++ b/src/core/include/openvino/pass/graph_rewrite.hpp @@ -34,7 +34,7 @@ namespace pass { /// \ingroup ov_pass_cpp_api class OPENVINO_API GraphRewrite : public ModelPass { public: - OPENVINO_RTTI("ov::pass::GraphRewrite"); + OPENVINO_RTTI("ov::pass::GraphRewrite","0", ModelPass); GraphRewrite() = default; diff --git a/src/core/include/openvino/pass/low_latency.hpp b/src/core/include/openvino/pass/low_latency.hpp index b3a8d38f755d42..07b618a2f5af44 100644 --- a/src/core/include/openvino/pass/low_latency.hpp +++ b/src/core/include/openvino/pass/low_latency.hpp @@ -36,7 +36,7 @@ namespace pass { */ class OPENVINO_API LowLatency2 : public ModelPass { public: - OPENVINO_RTTI("LowLatency2"); + OPENVINO_RTTI("LowLatency2","0", ModelPass); explicit LowLatency2(bool use_const_initializer = true) : m_use_const_initializer(use_const_initializer) {} diff --git a/src/core/include/openvino/pass/make_stateful.hpp b/src/core/include/openvino/pass/make_stateful.hpp index a4132589fe6a41..48e0b4ec0a1482 100644 --- a/src/core/include/openvino/pass/make_stateful.hpp +++ b/src/core/include/openvino/pass/make_stateful.hpp @@ -18,7 +18,7 @@ namespace pass { */ class OPENVINO_API MakeStateful : public ModelPass { public: - OPENVINO_RTTI("MakeStateful"); + OPENVINO_RTTI("MakeStateful","0", ModelPass); using ParamResPairs = std::vector, std::shared_ptr>>; diff --git a/src/core/include/openvino/pass/pattern/op/any.hpp b/src/core/include/openvino/pass/pattern/op/any.hpp index 65c2df8ecd87bc..5cc45ce3737a01 100644 --- a/src/core/include/openvino/pass/pattern/op/any.hpp +++ b/src/core/include/openvino/pass/pattern/op/any.hpp @@ -15,7 +15,7 @@ namespace op { /// and the arguments match, the match succeeds. class OPENVINO_API Any : public Pattern { public: - OPENVINO_RTTI("patternAny"); + OPENVINO_RTTI("patternAny","0", Pattern); /// \brief creates a Any node containing a sub-pattern described by \sa type and \sa /// shape. Any(const element::Type& type, const PartialShape& s, ValuePredicate pred, const OutputVector& wrapped_values) diff --git a/src/core/include/openvino/pass/pattern/op/any_of.hpp b/src/core/include/openvino/pass/pattern/op/any_of.hpp index 7e011dc777c730..1d71bc07c92d58 100644 --- a/src/core/include/openvino/pass/pattern/op/any_of.hpp +++ b/src/core/include/openvino/pass/pattern/op/any_of.hpp @@ -20,7 +20,7 @@ namespace op { /// AnyOf may be given a type and shape for use in strict mode. class OPENVINO_API AnyOf : public Pattern { public: - OPENVINO_RTTI("patternAnyOf"); + OPENVINO_RTTI("patternAnyOf","0", Pattern); /// \brief creates a AnyOf node containing a sub-pattern described by \sa type and /// \sa shape. AnyOf(const element::Type& type, const PartialShape& s, ValuePredicate pred, const OutputVector& wrapped_values) diff --git a/src/core/include/openvino/pass/pattern/op/any_output.hpp b/src/core/include/openvino/pass/pattern/op/any_output.hpp index 8d22825d43f14d..9ca55319fd7a1d 100644 --- a/src/core/include/openvino/pass/pattern/op/any_output.hpp +++ b/src/core/include/openvino/pass/pattern/op/any_output.hpp @@ -14,7 +14,7 @@ namespace op { /// Matches any output of a node class OPENVINO_API AnyOutput : public Pattern { public: - OPENVINO_RTTI("patternAnyOutput"); + OPENVINO_RTTI("patternAnyOutput","0", Pattern); /// \brief creates an AnyOutput node matching any output of a node /// \param node The node to match AnyOutput(const std::shared_ptr& pattern) : Pattern({pattern->output(0)}) {} diff --git a/src/core/include/openvino/pass/pattern/op/label.hpp b/src/core/include/openvino/pass/pattern/op/label.hpp index bbfa626abc0a76..46d7a9e493ef16 100644 --- a/src/core/include/openvino/pass/pattern/op/label.hpp +++ b/src/core/include/openvino/pass/pattern/op/label.hpp @@ -22,7 +22,7 @@ namespace op { /// more than one inputs are given, an Or pattern of the inputs serves as the input. class OPENVINO_API Label : public Pattern { public: - OPENVINO_RTTI("patternLabel"); + OPENVINO_RTTI("patternLabel","0", Pattern); /// \brief creates a Label node containing a sub-pattern described by \sa type and /// \sa shape. /// diff --git a/src/core/include/openvino/pass/pattern/op/optional.hpp b/src/core/include/openvino/pass/pattern/op/optional.hpp index 36a64fe1c4d993..8f188dc28be204 100644 --- a/src/core/include/openvino/pass/pattern/op/optional.hpp +++ b/src/core/include/openvino/pass/pattern/op/optional.hpp @@ -48,7 +48,7 @@ namespace op { // Issue: 139839 class OPENVINO_API Optional : public Pattern { public: - OPENVINO_RTTI("patternOptional"); + OPENVINO_RTTI("patternOptional","0", Pattern); /// \brief creates an optional node matching one pattern. Add nodes to match list. /// \param type_infos Optional operation types to exclude them from the matching /// in case the following op types do not exist in a pattern to match. diff --git a/src/core/include/openvino/pass/pattern/op/or.hpp b/src/core/include/openvino/pass/pattern/op/or.hpp index b482e175e2b18f..cc9f1edfeba4ae 100644 --- a/src/core/include/openvino/pass/pattern/op/or.hpp +++ b/src/core/include/openvino/pass/pattern/op/or.hpp @@ -15,7 +15,7 @@ namespace op { /// succeeds on the first match. Otherwise the match fails. class OPENVINO_API Or : public Pattern { public: - OPENVINO_RTTI("patternOr"); + OPENVINO_RTTI("patternOr","0", Pattern); /// \brief creates an Or node matching one of several sub-patterns in order. Does /// not add node to match list. /// \param patterns The patterns to try for matching diff --git a/src/core/include/openvino/pass/pattern/op/pattern.hpp b/src/core/include/openvino/pass/pattern/op/pattern.hpp index e9bb427d906b43..ff463d1096fbef 100644 --- a/src/core/include/openvino/pass/pattern/op/pattern.hpp +++ b/src/core/include/openvino/pass/pattern/op/pattern.hpp @@ -83,6 +83,7 @@ ValuePredicate as_value_predicate(NodePredicate pred); class OPENVINO_API Pattern : public Node { public: + OPENVINO_RTTI("pattern"); /// \brief \p a base class for \sa Skip and \sa Label /// Pattern(const OutputVector& patterns, ValuePredicate pred); diff --git a/src/core/include/openvino/pass/pattern/op/true.hpp b/src/core/include/openvino/pass/pattern/op/true.hpp index de79aa563a22ec..0fb0a32dd548c9 100644 --- a/src/core/include/openvino/pass/pattern/op/true.hpp +++ b/src/core/include/openvino/pass/pattern/op/true.hpp @@ -14,7 +14,7 @@ namespace op { /// \brief The match always succeeds. class OPENVINO_API True : public Pattern { public: - OPENVINO_RTTI("patternTrue"); + OPENVINO_RTTI("patternTrue","0", Pattern); /// \brief Always matches, does not add node to match list. True() : Pattern(OutputVector{}) {} bool match_value(pattern::Matcher* matcher, diff --git a/src/core/include/openvino/pass/pattern/op/wrap_type.hpp b/src/core/include/openvino/pass/pattern/op/wrap_type.hpp index 75ee41ffa3753e..d3d213985004b9 100644 --- a/src/core/include/openvino/pass/pattern/op/wrap_type.hpp +++ b/src/core/include/openvino/pass/pattern/op/wrap_type.hpp @@ -13,7 +13,7 @@ namespace pattern { namespace op { class OPENVINO_API WrapType : public Pattern { public: - OPENVINO_RTTI("patternAnyType"); + OPENVINO_RTTI("patternAnyType","0", Pattern); explicit WrapType( NodeTypeInfo wrapped_type, diff --git a/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp b/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp index a0dd403818b462..72e16ea0da7764 100644 --- a/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp +++ b/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp @@ -17,7 +17,7 @@ namespace pass { */ class OPENVINO_API SDPAToPagedAttention : public ModelPass { public: - OPENVINO_RTTI("SDPAToPagedAttention"); + OPENVINO_RTTI("SDPAToPagedAttention","0", ModelPass); SDPAToPagedAttention(bool use_block_indices_inputs = false, bool use_score_outputs = false); bool run_on_model(const std::shared_ptr& model) override; diff --git a/src/core/include/openvino/pass/serialize.hpp b/src/core/include/openvino/pass/serialize.hpp index fc3e743d4005dc..fd641d9a70f160 100644 --- a/src/core/include/openvino/pass/serialize.hpp +++ b/src/core/include/openvino/pass/serialize.hpp @@ -22,7 +22,7 @@ namespace pass { */ class OPENVINO_API Serialize : public ov::pass::ModelPass { public: - OPENVINO_RTTI("Serialize"); + OPENVINO_RTTI("Serialize","0", ov::pass::ModelPass); enum class Version : uint8_t { UNSPECIFIED = 0, // Use the latest or function version @@ -52,7 +52,7 @@ class OPENVINO_API Serialize : public ov::pass::ModelPass { */ class OPENVINO_API StreamSerialize : public ov::pass::ModelPass { public: - OPENVINO_RTTI("StreamSerialize"); + OPENVINO_RTTI("StreamSerialize","0", ov::pass::ModelPass); struct DataHeader { size_t custom_data_offset; diff --git a/src/core/include/openvino/pass/stateful_to_stateless.hpp b/src/core/include/openvino/pass/stateful_to_stateless.hpp index 90fd6b9e6e7901..252f8eefb64ab5 100644 --- a/src/core/include/openvino/pass/stateful_to_stateless.hpp +++ b/src/core/include/openvino/pass/stateful_to_stateless.hpp @@ -14,7 +14,7 @@ namespace pass { */ class OPENVINO_API StatefulToStateless : public ModelPass { public: - OPENVINO_RTTI("StatefulToStateless"); + OPENVINO_RTTI("StatefulToStateless","0", ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/core/include/openvino/pass/validate.hpp b/src/core/include/openvino/pass/validate.hpp index 23cfe9909f707b..ac3124b736e498 100644 --- a/src/core/include/openvino/pass/validate.hpp +++ b/src/core/include/openvino/pass/validate.hpp @@ -24,7 +24,7 @@ namespace pass { /// \ingroup ov_pass_cpp_api class OPENVINO_API Validate : public ModelPass { public: - OPENVINO_RTTI("ov::pass::Validate"); + OPENVINO_RTTI("ov::pass::Validate","0", ModelPass); Validate() : ModelPass() {} bool run_on_model(const std::shared_ptr& f) override; diff --git a/src/core/include/openvino/pass/visualize_tree.hpp b/src/core/include/openvino/pass/visualize_tree.hpp index 065cec96e27220..81261b5848bf80 100644 --- a/src/core/include/openvino/pass/visualize_tree.hpp +++ b/src/core/include/openvino/pass/visualize_tree.hpp @@ -28,7 +28,7 @@ namespace pass { */ class OPENVINO_API VisualizeTree : public ModelPass { public: - OPENVINO_RTTI("ov::pass::VisualizeTree"); + OPENVINO_RTTI("ov::pass::VisualizeTree","0", ModelPass); using node_modifiers_t = std::function& attributes)>; VisualizeTree(const std::string& file_name, node_modifiers_t nm = nullptr, bool dot_only = false); diff --git a/src/core/reference/src/op/loop.cpp b/src/core/reference/src/op/loop.cpp index 17d9a57e538b93..6026cf12eda8b8 100644 --- a/src/core/reference/src/op/loop.cpp +++ b/src/core/reference/src/op/loop.cpp @@ -62,7 +62,7 @@ void loop(const std::shared_ptr& func, std::vector back_edges; for (const auto& desc : input_descs) { inputs_to_body[desc->m_body_parameter_index] = args[desc->m_input_index]; - if (const auto& merged_desc = std::dynamic_pointer_cast(desc)) { + if (const auto& merged_desc = ov::as_type_ptr(desc)) { back_edges.push_back({merged_desc->m_body_parameter_index, merged_desc->m_body_value_index}); cur_iter_back_edge_exist |= merged_desc->m_body_parameter_index == static_cast(cur_iter_idx); } @@ -87,7 +87,7 @@ void loop(const std::shared_ptr& func, // Find all ConcatOutputDescription std::vector> concat_outputs; for (const auto& desc : out_descs) { - if (const auto& concat_desc = std::dynamic_pointer_cast(desc)) { + if (const auto& concat_desc = ov::as_type_ptr(desc)) { concat_outputs.push_back(concat_desc); } } @@ -196,7 +196,7 @@ void loop(const std::shared_ptr& func, } for (const auto& desc : out_descs) { - if (const auto& body_desc = std::dynamic_pointer_cast(desc)) { + if (const auto& body_desc = ov::as_type_ptr(desc)) { const auto& res = body_outputs[body_desc->m_body_value_index]; res.copy_to(out[body_desc->m_output_index]); } diff --git a/src/core/reference/src/op/tensor_iterator.cpp b/src/core/reference/src/op/tensor_iterator.cpp index 96fb53e579d7f2..84851b7a65d444 100644 --- a/src/core/reference/src/op/tensor_iterator.cpp +++ b/src/core/reference/src/op/tensor_iterator.cpp @@ -32,7 +32,7 @@ void tensor_iterator(uint64_t num_iterations, std::vector back_edges; for (const auto& desc : input_descs) { inputs_to_body[desc->m_body_parameter_index] = args[desc->m_input_index]; - if (const auto& merged_desc = std::dynamic_pointer_cast(desc)) { + if (const auto& merged_desc = ov::as_type_ptr(desc)) { back_edges.push_back({merged_desc->m_body_parameter_index, merged_desc->m_body_value_index}); } } diff --git a/src/core/src/pass/constant_folding.cpp b/src/core/src/pass/constant_folding.cpp index cc1a7cea5b5add..a0a59f74daf6bd 100644 --- a/src/core/src/pass/constant_folding.cpp +++ b/src/core/src/pass/constant_folding.cpp @@ -75,7 +75,7 @@ static bool restore_original_input_precision(const std::shared_ptr& no class RequiresPrecisionConversion : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("requires_precision_conversion", "0"); + OPENVINO_RTTI("requires_precision_conversion", "0", ov::RuntimeAttribute); bool is_copyable() const override { return false; diff --git a/src/core/src/pass/low_latency.cpp b/src/core/src/pass/low_latency.cpp index 4b9f606b3e4b28..721f9d5850c85b 100644 --- a/src/core/src/pass/low_latency.cpp +++ b/src/core/src/pass/low_latency.cpp @@ -251,14 +251,14 @@ bool ov::pass::LowLatency2::run_on_model(const std::shared_ptr& f) { const auto& params = func->get_parameters(); for (const auto& in : sub_graph_op->get_input_descriptions()) { // Process all back edges - if (const auto& merged_in = std::dynamic_pointer_cast(in)) { + if (const auto& merged_in = ov::as_type_ptr(in)) { // create new Variable const std::string& param_name = params.at(merged_in->m_body_parameter_index)->get_friendly_name(); const std::string& var_name = generate_variable_name(sub_graph_op->get_friendly_name(), param_name, variable_id); const auto& input = sub_graph_op->input(merged_in->m_input_index); - if (std::dynamic_pointer_cast(input.get_source_output().get_node_shared_ptr()) != + if (ov::as_type_ptr(input.get_source_output().get_node_shared_ptr()) != nullptr) { OPENVINO_DEBUG(msg_low_latency_2_already_applied); return false; @@ -267,7 +267,7 @@ bool ov::pass::LowLatency2::run_on_model(const std::shared_ptr& f) { const auto& param = sub_graph_op->get_function()->get_parameters().at(merged_in->m_body_parameter_index); for (const auto& in_to : param->output(0).get_target_inputs()) { - if (dynamic_cast(in_to.get_node()) != nullptr) { + if (ov::as_type(in_to.get_node()) != nullptr) { OPENVINO_DEBUG(msg_low_latency_already_applied); return false; } diff --git a/src/core/src/pass/manager.cpp b/src/core/src/pass/manager.cpp index 9168292f5284c0..91c9d6bfda048c 100644 --- a/src/core/src/pass/manager.cpp +++ b/src/core/src/pass/manager.cpp @@ -374,7 +374,7 @@ bool ov::pass::Manager::run_pass(const std::shared_ptr& pass, OV_ITT_SCOPE(FIRST_INFERENCE, ov::itt::domains::ov_pass, ov::pass::perf_counters()[pass->get_type_info()]); - if (auto matcher_pass = std::dynamic_pointer_cast(pass)) { + if (auto matcher_pass = ov::as_type_ptr(pass)) { // GraphRewrite is a temporary container for MatcherPass to make execution on entire ov::Model return GraphRewrite(matcher_pass).run_on_model(model); } else if (auto model_pass = std::dynamic_pointer_cast(pass)) { diff --git a/src/core/src/pass/stateful_to_stateless.cpp b/src/core/src/pass/stateful_to_stateless.cpp index 95f289c71c201e..a8139a9fb37dfe 100644 --- a/src/core/src/pass/stateful_to_stateless.cpp +++ b/src/core/src/pass/stateful_to_stateless.cpp @@ -98,7 +98,7 @@ bool ov::pass::StatefulToStateless::run_on_model(const std::shared_ptr& input : beam_idx->get_output_target_inputs(0)) { if (auto gather = std::dynamic_pointer_cast(input.get_node()->shared_from_this())) { auto read_value = - std::dynamic_pointer_cast(gather->get_input_node_shared_ptr(0)); + ov::as_type_ptr(gather->get_input_node_shared_ptr(0)); OPENVINO_ASSERT(read_value, "Unexpected model topology in StatefulToStateless: no ReadValue is found at the first " "input of Gather by `beam_idx` parameter"); @@ -118,7 +118,7 @@ bool ov::pass::StatefulToStateless::run_on_model(const std::shared_ptr assign_index_by_var_id; const auto& sinks = model->get_sinks(); for (size_t i = 0; i < sinks.size(); ++i) { - if (auto assign = std::dynamic_pointer_cast(sinks[i])) { + if (auto assign = ov::as_type_ptr(sinks[i])) { const auto& var_id = assign->get_variable_id(); assigns_by_var_id[var_id] = std::move(assign); assign_index_by_var_id[var_id] = i; diff --git a/src/core/src/preprocess/preprocess_impls.cpp b/src/core/src/preprocess/preprocess_impls.cpp index cbe18a78beb575..e1d26d9734fdaf 100644 --- a/src/core/src/preprocess/preprocess_impls.cpp +++ b/src/core/src/preprocess/preprocess_impls.cpp @@ -210,7 +210,7 @@ bool InputInfo::InputInfoImpl::build(const std::shared_ptr& model, // Replace parameter for (auto consumer : consumers) { - if (dynamic_cast(consumer.get_node())) { + if (ov::as_type(consumer.get_node())) { // Some result points to old parameter (Param->Result case), need to trigger revalidation need_validate = true; } @@ -329,7 +329,7 @@ void OutputInfo::OutputInfoImpl::build(ov::ResultVector& results) { auto node = m_output_node; const auto start_out_node_names = node.get_tensor().get_names(); node.get_tensor().set_names({}); - result = std::dynamic_pointer_cast(node.get_node_shared_ptr()); + result = ov::as_type_ptr(node.get_node_shared_ptr()); // Set result layout from 'model' information if (get_model_data()->is_layout_set()) { // Overwrite existing model's layout here (fix 74065) @@ -419,7 +419,7 @@ void OutputInfo::OutputInfoImpl::dump(std::ostream& str) const { std::shared_ptr result; auto node = m_output_node; const auto& start_out_node_names = node.get_tensor().get_names(); - result = std::dynamic_pointer_cast(node.get_node_shared_ptr()); + result = ov::as_type_ptr(node.get_node_shared_ptr()); auto model_layout = get_model_data()->is_layout_set() ? get_model_data()->get_layout() : result->get_layout(); PostprocessingContext context(model_layout); if (get_tensor_data()->is_layout_set()) { diff --git a/src/core/src/type.cpp b/src/core/src/type.cpp index dd1f308050f262..7ad084417f57e6 100644 --- a/src/core/src/type.cpp +++ b/src/core/src/type.cpp @@ -5,7 +5,7 @@ #include "openvino/core/type.hpp" #include "openvino/util/common_util.hpp" - +#include namespace std { size_t std::hash::operator()(const ov::DiscreteTypeInfo& k) const { return k.hash(); @@ -30,6 +30,16 @@ size_t DiscreteTypeInfo::hash() { } bool DiscreteTypeInfo::is_castable(const DiscreteTypeInfo& target_type) const { +#if 0 + std::cout << "is_castable " << std::endl; + std::cout << " this " << *this << std::endl; + std::cout << " target " << target_type << std::endl; + if(*this == target_type) { + std::cout << " this equals target" << std::endl; + } else { + std::cout << " this doesn't equals to target, comparing parent with target" << std::endl; + } +#endif return *this == target_type || (parent && parent->is_castable(target_type)); } diff --git a/src/frontends/ir/src/ir_deserializer.cpp b/src/frontends/ir/src/ir_deserializer.cpp index 7c8b6e9d4b97ab..44eb2a38ac02c4 100644 --- a/src/frontends/ir/src/ir_deserializer.cpp +++ b/src/frontends/ir/src/ir_deserializer.cpp @@ -540,7 +540,7 @@ std::shared_ptr ov::XmlDeserializer::parse_function(const pugi::xml_n func_nodes.results.emplace_back(result_node); } - if (const auto& sink = std::dynamic_pointer_cast(node)) { + if (const auto& sink = ov::as_type_ptr(node)) { auto subgraph_op = std::dynamic_pointer_cast(node); if (subgraph_op) { for (const auto& body_model : subgraph_op->get_functions()) { @@ -554,7 +554,7 @@ std::shared_ptr ov::XmlDeserializer::parse_function(const pugi::xml_n } } - if (const auto& read_value = std::dynamic_pointer_cast(node)) { + if (const auto& read_value = ov::as_type_ptr(node)) { variable_id_to_read_value[read_value->get_variable_id()] = read_value; } @@ -566,7 +566,7 @@ std::shared_ptr ov::XmlDeserializer::parse_function(const pugi::xml_n func_nodes.parameters, pugixml::get_str_attr(root, "name", "")); for (const auto& sink : func_nodes.sinks) { - if (const auto& assign = std::dynamic_pointer_cast(sink)) { + if (const auto& assign = ov::as_type_ptr(sink)) { assign->add_control_dependency(variable_id_to_read_value.at(assign->get_variable_id())); } } diff --git a/src/frontends/tensorflow_lite/include/openvino/frontend/tensorflow_lite/sparsity_info.hpp b/src/frontends/tensorflow_lite/include/openvino/frontend/tensorflow_lite/sparsity_info.hpp index c1ab8d4fd04941..6430664eba66ff 100644 --- a/src/frontends/tensorflow_lite/include/openvino/frontend/tensorflow_lite/sparsity_info.hpp +++ b/src/frontends/tensorflow_lite/include/openvino/frontend/tensorflow_lite/sparsity_info.hpp @@ -25,7 +25,7 @@ class TENSORFLOW_LITE_API SparsityInfo : public ov::RuntimeAttribute { const void* indices; }; - OPENVINO_RTTI("SparsityInfo"); + OPENVINO_RTTI("SparsityInfo", "0", ov::RuntimeAttribute); SparsityInfo() = default; explicit SparsityInfo(const std::vector& shape, const std::vector& traversal_order, diff --git a/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h b/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h index f8599e2c7791a3..a16ac5cc11c475 100644 --- a/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h +++ b/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h @@ -24,7 +24,7 @@ namespace pass { // \-(imag)-> Unsqueeze -> Reshape -> Square / class Rfft2dSimplifier : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::Rfft2dSimplifier"); + OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::Rfft2dSimplifier", "0", ov::pass::MatcherPass); Rfft2dSimplifier(); }; diff --git a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp index 45fd3e70722d54..91f88ea4508f8c 100644 --- a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp +++ b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp @@ -18,21 +18,21 @@ namespace pass { // Fuses Convert into TFLQuantize operation class TFLQuantizeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeConvert"); + OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeConvert", "0", ov::pass::MatcherPass); TFLQuantizeConvert(); }; // Replaces TFLQuantize operation with FQ or sub-mul pattern if necessary class TFLQuantizeReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeReplacer"); + OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeReplacer", "0", ov::pass::MatcherPass); TFLQuantizeReplacer(); }; // This transformation simplifies type manipulations in the graph class TFLQuantizeResolver : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeResolver"); + OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeResolver", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/plugins/intel_cpu/src/emitters/snippets/x64/cpu_generator.cpp b/src/plugins/intel_cpu/src/emitters/snippets/x64/cpu_generator.cpp index c210782db8f91c..0ff433839aa26d 100644 --- a/src/plugins/intel_cpu/src/emitters/snippets/x64/cpu_generator.cpp +++ b/src/plugins/intel_cpu/src/emitters/snippets/x64/cpu_generator.cpp @@ -354,7 +354,7 @@ ov::snippets::RegType intel_cpu::CPUGenerator::get_specific_op_out_reg_type(cons if (std::dynamic_pointer_cast(op) || #ifdef SNIPPETS_LIBXSMM_TPP std::dynamic_pointer_cast(op) || - std::dynamic_pointer_cast(op) || + ov::as_type_ptr(op) || #endif std::dynamic_pointer_cast(op)) return ov::snippets::RegType::gpr; diff --git a/src/plugins/intel_cpu/src/nodes/adaptive_pooling.cpp b/src/plugins/intel_cpu/src/nodes/adaptive_pooling.cpp index f4e7f6217a8dec..2f4815fb32a782 100644 --- a/src/plugins/intel_cpu/src/nodes/adaptive_pooling.cpp +++ b/src/plugins/intel_cpu/src/nodes/adaptive_pooling.cpp @@ -26,13 +26,13 @@ namespace node { bool AdaptivePooling::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { if (one_of(op->get_type_info(), ov::op::v8::AdaptiveAvgPool::get_type_info_static())) { - auto adaPool = std::dynamic_pointer_cast(op); + auto adaPool = ov::as_type_ptr(op); if (!adaPool) { errorMessage = "Only opset8 AdaptiveAvgPooling operation is supported"; return false; } } else if (one_of(op->get_type_info(), ov::op::v8::AdaptiveMaxPool::get_type_info_static())) { - auto adaPool = std::dynamic_pointer_cast(op); + auto adaPool = ov::as_type_ptr(op); if (!adaPool) { errorMessage = "Only opset8 AdaptiveMaxPooling operation is supported"; return false; diff --git a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp index d1e82235ba9bb1..fcb605ece1db9a 100644 --- a/src/plugins/intel_cpu/src/nodes/bin_conv.cpp +++ b/src/plugins/intel_cpu/src/nodes/bin_conv.cpp @@ -883,7 +883,7 @@ bool BinaryConvolution::isSupportedOperation(const std::shared_ptr(op); + const auto binConv = ov::as_type_ptr(op); if (!binConv) { errorMessage = "Only opset1 BinaryConvolution operation is supported"; return false; @@ -903,7 +903,7 @@ BinaryConvolution::BinaryConvolution(const std::shared_ptr& op, const std::string errorMessage; if (isSupportedOperation(op, errorMessage)) { errorPrefix = "BinaryConvolution node with name '" + getName() + "' "; - const auto binConv = std::dynamic_pointer_cast(op); + const auto binConv = ov::as_type_ptr(op); pad_value = binConv->get_pad_value(); for (size_t i = 0; i < binConv->get_strides().size(); i++) { diff --git a/src/plugins/intel_cpu/src/nodes/bucketize.cpp b/src/plugins/intel_cpu/src/nodes/bucketize.cpp index a71255c0d531e4..9857ccfa07b16c 100644 --- a/src/plugins/intel_cpu/src/nodes/bucketize.cpp +++ b/src/plugins/intel_cpu/src/nodes/bucketize.cpp @@ -17,7 +17,7 @@ namespace node { bool Bucketize::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto bucketsize = std::dynamic_pointer_cast(op); + const auto bucketsize = ov::as_type_ptr(op); if (!bucketsize) { errorMessage = "Only opset3 Bucketize operation is supported"; return false; @@ -36,7 +36,7 @@ Bucketize::Bucketize(const std::shared_ptr& op, const GraphContext::CP } errorPrefix = "Bucketize layer with name '" + op->get_friendly_name() + "' "; - const auto bucketsize = std::dynamic_pointer_cast(op); + const auto bucketsize = ov::as_type_ptr(op); if (bucketsize == nullptr) OPENVINO_THROW("Operation with name '", op->get_friendly_name(), diff --git a/src/plugins/intel_cpu/src/nodes/convert.cpp b/src/plugins/intel_cpu/src/nodes/convert.cpp index 1987c9cc83d5f2..c763859e152485 100644 --- a/src/plugins/intel_cpu/src/nodes/convert.cpp +++ b/src/plugins/intel_cpu/src/nodes/convert.cpp @@ -17,7 +17,7 @@ namespace node { bool Convert::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto convert = std::dynamic_pointer_cast(op); + const auto convert = ov::as_type_ptr(op); if (!convert) { errorMessage = "Only opset1 Convert operation is supported"; return false; diff --git a/src/plugins/intel_cpu/src/nodes/cum_sum.cpp b/src/plugins/intel_cpu/src/nodes/cum_sum.cpp index e411283e661585..35dd214705b3e9 100644 --- a/src/plugins/intel_cpu/src/nodes/cum_sum.cpp +++ b/src/plugins/intel_cpu/src/nodes/cum_sum.cpp @@ -18,7 +18,7 @@ namespace node { bool CumSum::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto cumsum = std::dynamic_pointer_cast(op); + const auto cumsum = ov::as_type_ptr(op); if (!cumsum) { errorMessage = "Only opset3 CumSum operation is supported"; return false; @@ -47,7 +47,7 @@ CumSum::CumSum(const std::shared_ptr& op, const GraphContext::CPtr con OPENVINO_THROW(errorPrefix, " doesn't support 'data' input tensor with rank: ", numOfDims); } - const auto cumsum = std::dynamic_pointer_cast(op); + const auto cumsum = ov::as_type_ptr(op); if (cumsum == nullptr) OPENVINO_THROW("Operation with name '", op->get_friendly_name(), "' is not an instance of CumSum from opset3."); diff --git a/src/plugins/intel_cpu/src/nodes/experimental_detectron_priorgridgenerator.cpp b/src/plugins/intel_cpu/src/nodes/experimental_detectron_priorgridgenerator.cpp index eead95def0a8fb..d1db6104f4cd4f 100644 --- a/src/plugins/intel_cpu/src/nodes/experimental_detectron_priorgridgenerator.cpp +++ b/src/plugins/intel_cpu/src/nodes/experimental_detectron_priorgridgenerator.cpp @@ -15,7 +15,7 @@ namespace node { bool ExperimentalDetectronPriorGridGenerator::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto priorGridGen = std::dynamic_pointer_cast(op); + const auto priorGridGen = ov::as_type_ptr(op); if (!priorGridGen) { errorMessage = "Only opset6 ExperimentalDetectronPriorGridGenerator operation is supported"; return false; @@ -35,7 +35,7 @@ ExperimentalDetectronPriorGridGenerator::ExperimentalDetectronPriorGridGenerator } errorPrefix = "ExperimentalDetectronPriorGridGenerator layer with name '" + op->get_friendly_name() + "'"; - const auto priorGridGen = std::dynamic_pointer_cast(op); + const auto priorGridGen = ov::as_type_ptr(op); if (getOriginalInputsNumber() != 3 || getOriginalOutputsNumber() != 1) OPENVINO_THROW(errorPrefix, " has incorrect number of input/output edges!"); diff --git a/src/plugins/intel_cpu/src/nodes/experimental_detectron_roifeatureextractor.cpp b/src/plugins/intel_cpu/src/nodes/experimental_detectron_roifeatureextractor.cpp index c92e3c2594d4a9..2834096a8655f8 100644 --- a/src/plugins/intel_cpu/src/nodes/experimental_detectron_roifeatureextractor.cpp +++ b/src/plugins/intel_cpu/src/nodes/experimental_detectron_roifeatureextractor.cpp @@ -282,7 +282,7 @@ void split_points(const std::vector& ids, std::vector& rois_per_level, bool ExperimentalDetectronROIFeatureExtractor::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto roiFeatureExtractor = std::dynamic_pointer_cast(op); + const auto roiFeatureExtractor = ov::as_type_ptr(op); if (!roiFeatureExtractor) { errorMessage = "Only opset6 ExperimentalDetectronROIFeatureExtractor operation is supported"; return false; @@ -301,7 +301,7 @@ ExperimentalDetectronROIFeatureExtractor::ExperimentalDetectronROIFeatureExtract OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage); } - const auto roiFeatureExtractor = std::dynamic_pointer_cast(op); + const auto roiFeatureExtractor = ov::as_type_ptr(op); const auto &attr = roiFeatureExtractor->get_attrs(); output_dim_ = attr.output_size; pyramid_scales_ = attr.pyramid_scales; diff --git a/src/plugins/intel_cpu/src/nodes/fake_quantize.cpp b/src/plugins/intel_cpu/src/nodes/fake_quantize.cpp index f12ab40cf5643b..b8bd8e955c482f 100644 --- a/src/plugins/intel_cpu/src/nodes/fake_quantize.cpp +++ b/src/plugins/intel_cpu/src/nodes/fake_quantize.cpp @@ -865,7 +865,7 @@ struct jit_uni_quantization_kernel : public jit_uni_quantize_kernel, public jit_ #endif bool FakeQuantize::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto fq = std::dynamic_pointer_cast(op); + const auto fq = ov::as_type_ptr(op); if (!fq) { errorMessage = "Only opset1 FakeQuantize operation is supported"; return false; @@ -882,7 +882,7 @@ bool FakeQuantize::isSupportedOperation(const std::shared_ptr& o } } for (size_t i = 1; i < fq->get_input_size(); i++) { - if (!std::dynamic_pointer_cast(fq->get_input_node_shared_ptr(i))) { + if (!ov::as_type_ptr(fq->get_input_node_shared_ptr(i))) { errorMessage = "Has non const 'range' input on " + std::to_string(i) + " port"; return false; } @@ -964,7 +964,7 @@ FakeQuantize::FakeQuantize(const std::shared_ptr& op, const GraphConte std::string errorMessage; if (isSupportedOperation(op, errorMessage)) { algorithm = Algorithm::FQCommon; - const auto fq = std::dynamic_pointer_cast(op); + const auto fq = ov::as_type_ptr(op); errorPrefix = "FakeQuantize node with name '" + getName() + "' "; levels = fq->get_levels(); @@ -1032,16 +1032,16 @@ FakeQuantize::FakeQuantize(const std::shared_ptr& op, const GraphConte OPENVINO_THROW(errorPrefix, "has different quantization axis size on 'data' and 'range' inputs"); } - const auto inputLowNode = std::dynamic_pointer_cast(fq->get_input_node_shared_ptr(1)); + const auto inputLowNode = ov::as_type_ptr(fq->get_input_node_shared_ptr(1)); auto inputLowData = inputLowNode->cast_vector(); - const auto inputHighNode = std::dynamic_pointer_cast(fq->get_input_node_shared_ptr(2)); + const auto inputHighNode = ov::as_type_ptr(fq->get_input_node_shared_ptr(2)); auto inputHighData = inputHighNode->cast_vector(); - const auto outputLowNode = std::dynamic_pointer_cast(fq->get_input_node_shared_ptr(3)); + const auto outputLowNode = ov::as_type_ptr(fq->get_input_node_shared_ptr(3)); auto outputLowData = outputLowNode->cast_vector(); - const auto outputHighNode = std::dynamic_pointer_cast(fq->get_input_node_shared_ptr(4)); + const auto outputHighNode = ov::as_type_ptr(fq->get_input_node_shared_ptr(4)); auto outputHighData = outputHighNode->cast_vector(); binarization = levels == 2; diff --git a/src/plugins/intel_cpu/src/nodes/grn.cpp b/src/plugins/intel_cpu/src/nodes/grn.cpp index 10de2ef2286f0f..bfebb42bdbf5de 100644 --- a/src/plugins/intel_cpu/src/nodes/grn.cpp +++ b/src/plugins/intel_cpu/src/nodes/grn.cpp @@ -14,7 +14,7 @@ namespace node { bool GRN::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto grn = std::dynamic_pointer_cast(op); + const auto grn = ov::as_type_ptr(op); if (!grn) { errorMessage = "Only opset1 GRN operation is supported"; return false; @@ -33,7 +33,7 @@ GRN::GRN(const std::shared_ptr& op, const GraphContext::CPtr context) } errorPrefix = "GRN layer with name '" + op->get_friendly_name() + "'"; - const auto grn = std::dynamic_pointer_cast(op); + const auto grn = ov::as_type_ptr(op); if (grn == nullptr) OPENVINO_THROW("Operation with name '", op->get_friendly_name(), "' is not an instance of GRN from opset1."); diff --git a/src/plugins/intel_cpu/src/nodes/interpolate.cpp b/src/plugins/intel_cpu/src/nodes/interpolate.cpp index 7eed5c1df9789b..7af884193c523c 100644 --- a/src/plugins/intel_cpu/src/nodes/interpolate.cpp +++ b/src/plugins/intel_cpu/src/nodes/interpolate.cpp @@ -1797,7 +1797,7 @@ Interpolate::Interpolate(const std::shared_ptr& op, const GraphContext if (isSupportedOperation(op, errorMessage)) { errorPrefix = "Interpolate node with name '" + getName() + "'"; dataRank = getInputShapeAtPort(DATA_ID).getRank(); - if (const auto interp = std::dynamic_pointer_cast(op)) { + if (const auto interp = ov::as_type_ptr(op)) { is_version11 = false; const auto numInputs = inputShapes.size(); if (numInputs != 3 && numInputs != 4) diff --git a/src/plugins/intel_cpu/src/nodes/log_softmax.cpp b/src/plugins/intel_cpu/src/nodes/log_softmax.cpp index 8cc1c2bfb8d921..ecef4e15503f3b 100644 --- a/src/plugins/intel_cpu/src/nodes/log_softmax.cpp +++ b/src/plugins/intel_cpu/src/nodes/log_softmax.cpp @@ -14,7 +14,7 @@ namespace node { bool LogSoftmax::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto logSoftMax = std::dynamic_pointer_cast(op); + const auto logSoftMax = ov::as_type_ptr(op); if (!logSoftMax) { errorMessage = "Only opset5 LogSoftmax operation is supported"; return false; @@ -33,7 +33,7 @@ LogSoftmax::LogSoftmax(const std::shared_ptr& op, const GraphContext:: } errorPrefix = "LogSoftmax layer with name '" + op->get_friendly_name() + "'"; - const auto logSoftMax = std::dynamic_pointer_cast(op); + const auto logSoftMax = ov::as_type_ptr(op); if (logSoftMax == nullptr) OPENVINO_THROW("Operation with name '", op->get_friendly_name(), diff --git a/src/plugins/intel_cpu/src/nodes/matmul.cpp b/src/plugins/intel_cpu/src/nodes/matmul.cpp index 92d8f356728ed9..826659cdc8a03c 100644 --- a/src/plugins/intel_cpu/src/nodes/matmul.cpp +++ b/src/plugins/intel_cpu/src/nodes/matmul.cpp @@ -88,7 +88,7 @@ bool MatMul::canBeExecutedInInt8() const { bool MatMul::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto matMul = std::dynamic_pointer_cast(op); + const auto matMul = ov::as_type_ptr(op); if (!matMul) { errorMessage = "Only opset1 MatMul operation is supported"; return false; @@ -121,7 +121,7 @@ MatMul::MatMul(const std::shared_ptr& op, const GraphContext::CPtr con if (!isSupportedOperation(op, errorMessage)) OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage); - const auto matMul = std::dynamic_pointer_cast(op); + const auto matMul = ov::as_type_ptr(op); if (!matMul) { OPENVINO_THROW_NOT_IMPLEMENTED("Operation with name ", diff --git a/src/plugins/intel_cpu/src/nodes/one_hot.cpp b/src/plugins/intel_cpu/src/nodes/one_hot.cpp index f9d74a0f75499c..50098d9f2e888e 100644 --- a/src/plugins/intel_cpu/src/nodes/one_hot.cpp +++ b/src/plugins/intel_cpu/src/nodes/one_hot.cpp @@ -21,16 +21,16 @@ namespace node { bool OneHot::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto oneHot = std::dynamic_pointer_cast(op); + const auto oneHot = ov::as_type_ptr(op); if (!oneHot) { errorMessage = "Only opset1 OneHot operation is supported"; return false; } - if (std::dynamic_pointer_cast(oneHot->get_input_node_shared_ptr(ON_VALUE_ID)) == nullptr) { + if (ov::as_type_ptr(oneHot->get_input_node_shared_ptr(ON_VALUE_ID)) == nullptr) { errorMessage = "Only const 'on_value' input is supported"; return false; } - if (std::dynamic_pointer_cast(oneHot->get_input_node_shared_ptr(OFF_VALUEAXES_ID)) == nullptr) { + if (ov::as_type_ptr(oneHot->get_input_node_shared_ptr(OFF_VALUEAXES_ID)) == nullptr) { errorMessage = "Only const 'off_value' input is supported"; return false; } @@ -48,8 +48,8 @@ OneHot::OneHot(const std::shared_ptr& op, const GraphContext::CPtr con } errorPrefix = "OneHot layer with name '" + op->get_friendly_name() + "'"; - const auto oneHot = std::dynamic_pointer_cast(op); - const auto depthNode = std::dynamic_pointer_cast(oneHot->get_input_node_shared_ptr(DEPTH_ID)); + const auto oneHot = ov::as_type_ptr(op); + const auto depthNode = ov::as_type_ptr(oneHot->get_input_node_shared_ptr(DEPTH_ID)); if (depthNode) { depth = depthNode->cast_vector()[0]; } diff --git a/src/plugins/intel_cpu/src/nodes/priorbox.cpp b/src/plugins/intel_cpu/src/nodes/priorbox.cpp index 4adc9038c4b35f..c54168f5114c27 100644 --- a/src/plugins/intel_cpu/src/nodes/priorbox.cpp +++ b/src/plugins/intel_cpu/src/nodes/priorbox.cpp @@ -32,7 +32,7 @@ float clip_less(float x, float threshold) { bool PriorBox::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto priorBox = std::dynamic_pointer_cast(op); + const auto priorBox = ov::as_type_ptr(op); if (!priorBox) { errorMessage = "Only opset1 PriorBox operation is supported"; return false; @@ -50,7 +50,7 @@ PriorBox::PriorBox(const std::shared_ptr& op, const GraphContext::CPtr OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage); } - const auto priorBox = std::dynamic_pointer_cast(op); + const auto priorBox = ov::as_type_ptr(op); const ov::opset1::PriorBox::Attributes& attrs = priorBox->get_attrs(); offset = attrs.offset; step = attrs.step; diff --git a/src/plugins/intel_cpu/src/nodes/priorbox_clustered.cpp b/src/plugins/intel_cpu/src/nodes/priorbox_clustered.cpp index 2010019b50a97d..a43ea8d10e1766 100644 --- a/src/plugins/intel_cpu/src/nodes/priorbox_clustered.cpp +++ b/src/plugins/intel_cpu/src/nodes/priorbox_clustered.cpp @@ -19,7 +19,7 @@ namespace intel_cpu { namespace node { bool PriorBoxClustered::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto priorBox = std::dynamic_pointer_cast(op); + const auto priorBox = ov::as_type_ptr(op); if (!priorBox) { errorMessage = "Only opset1 PriorBoxClustered operation is supported"; return false; @@ -37,7 +37,7 @@ PriorBoxClustered::PriorBoxClustered(const std::shared_ptr& op, const OPENVINO_THROW_NOT_IMPLEMENTED(errorMessage); } - const auto priorBox = std::dynamic_pointer_cast(op); + const auto priorBox = ov::as_type_ptr(op); const ov::opset1::PriorBoxClustered::Attributes& attrs = priorBox->get_attrs(); widths = attrs.widths; diff --git a/src/plugins/intel_cpu/src/nodes/psroi_pooling.cpp b/src/plugins/intel_cpu/src/nodes/psroi_pooling.cpp index 80b1f577572ce3..4a4cf071684e8b 100644 --- a/src/plugins/intel_cpu/src/nodes/psroi_pooling.cpp +++ b/src/plugins/intel_cpu/src/nodes/psroi_pooling.cpp @@ -30,8 +30,8 @@ bool PSROIPooling::isSupportedOperation(const std::shared_ptr& o errorMessage = "Doesn't support op with dynamic shapes"; return false; } - const auto psroi = std::dynamic_pointer_cast(op); - const auto defPsroi = std::dynamic_pointer_cast(op); + const auto psroi = ov::as_type_ptr(op); + const auto defPsroi = ov::as_type_ptr(op); if (!psroi && !defPsroi) { errorMessage = "Only opset1 PSROIPooling and DeformablePSROIPooling operations are supported"; return false; @@ -66,8 +66,8 @@ PSROIPooling::PSROIPooling(const std::shared_ptr& op, const GraphConte errorPrefix = std::string(op->get_type_name()) + " node with name '" + op->get_friendly_name() + "'"; - const auto psroi = std::dynamic_pointer_cast(op); - const auto defPsroi = std::dynamic_pointer_cast(op); + const auto psroi = ov::as_type_ptr(op); + const auto defPsroi = ov::as_type_ptr(op); noTrans = op->get_input_size() == 2; if (op->get_input_shape(0).size() != 4) diff --git a/src/plugins/intel_cpu/src/nodes/reduce.cpp b/src/plugins/intel_cpu/src/nodes/reduce.cpp index 7c18421ad3d832..2a5426a062eaaa 100644 --- a/src/plugins/intel_cpu/src/nodes/reduce.cpp +++ b/src/plugins/intel_cpu/src/nodes/reduce.cpp @@ -1867,14 +1867,14 @@ bool Reduce::isSupportedOperation(const std::shared_ptr& op, std return false; } if (const auto reduce = std::dynamic_pointer_cast(op)) { - auto reduceConst = std::dynamic_pointer_cast(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); + auto reduceConst = ov::as_type_ptr(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); if (!reduceConst) { errorMessage = "Second tensor is not constant"; return false; } } if (const auto reduce = std::dynamic_pointer_cast(op)) { - auto reduceConst = std::dynamic_pointer_cast(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); + auto reduceConst = ov::as_type_ptr(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); if (!reduceConst) { errorMessage = "Second tensor is not constant"; return false; @@ -1884,7 +1884,7 @@ bool Reduce::isSupportedOperation(const std::shared_ptr& op, std errorMessage = "Doesn't support Reduce algorithm: " + std::string(op->get_type_info().name); return false; } - if (std::dynamic_pointer_cast(op->get_input_node_shared_ptr(REDUCE_INDEXES)) == nullptr) { + if (ov::as_type_ptr(op->get_input_node_shared_ptr(REDUCE_INDEXES)) == nullptr) { errorMessage = "Only const 'reduce_indexes' input is supported"; return false; } @@ -1902,13 +1902,13 @@ Reduce::Reduce(const std::shared_ptr& op, const GraphContext::CPtr con getInitializers().at(op->get_type_info())(op, *this); if (const auto reduce = std::dynamic_pointer_cast(op)) { keep_dims = reduce->get_keep_dims(); - auto reduceConst = std::dynamic_pointer_cast(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); + auto reduceConst = ov::as_type_ptr(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); if (!reduceConst) OPENVINO_THROW(errorPrefix, " second tensor is not constant!"); raw_axes = reduceConst->cast_vector(); } else if (const auto reduce = std::dynamic_pointer_cast(op)) { keep_dims = reduce->get_keep_dims(); - auto reduceConst = std::dynamic_pointer_cast(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); + auto reduceConst = ov::as_type_ptr(reduce->get_input_node_shared_ptr(REDUCE_INDEXES)); if (!reduceConst) OPENVINO_THROW(errorPrefix, " second tensor is not constant!"); raw_axes = reduceConst->cast_vector(); diff --git a/src/plugins/intel_cpu/src/nodes/region_yolo.cpp b/src/plugins/intel_cpu/src/nodes/region_yolo.cpp index c575237f48e042..79ee7dd368558a 100644 --- a/src/plugins/intel_cpu/src/nodes/region_yolo.cpp +++ b/src/plugins/intel_cpu/src/nodes/region_yolo.cpp @@ -231,7 +231,7 @@ struct jit_uni_logistic_kernel_f32 : public jit_uni_logistic_kernel, public jit_ bool RegionYolo::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto regionYolo = std::dynamic_pointer_cast(op); + const auto regionYolo = ov::as_type_ptr(op); if (!regionYolo) { errorMessage = "Only opset1 RegionYolo operation is supported"; return false; @@ -257,7 +257,7 @@ RegionYolo::RegionYolo(const std::shared_ptr& op, const GraphContext:: if (op->get_input_size() != 1 || op->get_output_size() != 1) OPENVINO_THROW(errorPrefix, " has incorrect number of input/output edges!"); - const auto regionYolo = std::dynamic_pointer_cast(op); + const auto regionYolo = ov::as_type_ptr(op); classes = regionYolo->get_num_classes(); coords = regionYolo->get_num_coords(); num = regionYolo->get_num_regions(); diff --git a/src/plugins/intel_cpu/src/nodes/reorg_yolo.cpp b/src/plugins/intel_cpu/src/nodes/reorg_yolo.cpp index 49ad9b9cec5777..d0943669ee5812 100644 --- a/src/plugins/intel_cpu/src/nodes/reorg_yolo.cpp +++ b/src/plugins/intel_cpu/src/nodes/reorg_yolo.cpp @@ -14,7 +14,7 @@ namespace node { bool ReorgYolo::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto reorgYolo = std::dynamic_pointer_cast(op); + const auto reorgYolo = ov::as_type_ptr(op); if (!reorgYolo) { errorMessage = "Only opset2 ReorgYolo operation is supported"; return false; @@ -36,7 +36,7 @@ ReorgYolo::ReorgYolo(const std::shared_ptr& op, const GraphContext::CP if (getOriginalInputsNumber() != 1 || getOriginalOutputsNumber() != 1) OPENVINO_THROW(errorPrefix, " has incorrect number of input/output edges!"); - const auto reorgYolo = std::dynamic_pointer_cast(op); + const auto reorgYolo = ov::as_type_ptr(op); const auto strides = reorgYolo->get_strides(); if (strides.empty()) OPENVINO_THROW(errorPrefix, " has empty strides"); diff --git a/src/plugins/intel_cpu/src/nodes/reshape.cpp b/src/plugins/intel_cpu/src/nodes/reshape.cpp index 6e3dea09db2a2f..2bae63ccf24ed2 100644 --- a/src/plugins/intel_cpu/src/nodes/reshape.cpp +++ b/src/plugins/intel_cpu/src/nodes/reshape.cpp @@ -19,9 +19,9 @@ namespace node { bool Reshape::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - if (!std::dynamic_pointer_cast(op) && - !std::dynamic_pointer_cast(op) && - !std::dynamic_pointer_cast(op)) { + if (!ov::as_type_ptr(op) && + !ov::as_type_ptr(op) && + !ov::as_type_ptr(op)) { errorMessage = "Only opset1 Reshape, Squeeze, Unsqueeze operations are supported"; return false; } @@ -47,13 +47,13 @@ Reshape::Reshape(const std::shared_ptr& op, const GraphContext::CPtr c } }; - if (std::dynamic_pointer_cast(op)) { + if (ov::as_type_ptr(op)) { checkSecondInput(op, "Reshape"); - } else if (std::dynamic_pointer_cast(op)) { + } else if (ov::as_type_ptr(op)) { if (op->get_input_size() == 1) OPENVINO_THROW("CPU plug-in doesn't support Squeeze node with inputs num equal 1"); checkSecondInput(op, "Squeeze"); - } else if (std::dynamic_pointer_cast(op)) { + } else if (ov::as_type_ptr(op)) { checkSecondInput(op, "Unsqueeze"); } else { OPENVINO_THROW("Unsupported operation type via reshape node"); diff --git a/src/plugins/intel_cpu/src/nodes/reverse_sequence.cpp b/src/plugins/intel_cpu/src/nodes/reverse_sequence.cpp index 66139415588a10..bd86ca29409607 100644 --- a/src/plugins/intel_cpu/src/nodes/reverse_sequence.cpp +++ b/src/plugins/intel_cpu/src/nodes/reverse_sequence.cpp @@ -15,7 +15,7 @@ namespace node { bool ReverseSequence::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto revSeq = std::dynamic_pointer_cast(op); + const auto revSeq = ov::as_type_ptr(op); if (!revSeq) { errorMessage = "Only opset1 ReverseSequence operation is supported"; return false; @@ -34,7 +34,7 @@ ReverseSequence::ReverseSequence(const std::shared_ptr& op, const Grap } errorPrefix = "ReverseSequence layer with name '" + op->get_friendly_name() + "'"; - const auto revSeq = std::dynamic_pointer_cast(op); + const auto revSeq = ov::as_type_ptr(op); if (revSeq == nullptr) OPENVINO_THROW("Operation with name '", op->get_friendly_name(), diff --git a/src/plugins/intel_cpu/src/nodes/roll.cpp b/src/plugins/intel_cpu/src/nodes/roll.cpp index 7b17dff9746666..94027008f01ca0 100644 --- a/src/plugins/intel_cpu/src/nodes/roll.cpp +++ b/src/plugins/intel_cpu/src/nodes/roll.cpp @@ -22,7 +22,7 @@ namespace node { bool Roll::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - const auto interp = std::dynamic_pointer_cast(op); + const auto interp = ov::as_type_ptr(op); if (!interp) { errorMessage = "Only opset7 Roll operation is supported"; return false; diff --git a/src/plugins/intel_cpu/src/nodes/softmax.cpp b/src/plugins/intel_cpu/src/nodes/softmax.cpp index 7da1e733c9511d..56d8bc35361e02 100644 --- a/src/plugins/intel_cpu/src/nodes/softmax.cpp +++ b/src/plugins/intel_cpu/src/nodes/softmax.cpp @@ -56,7 +56,7 @@ bool SoftmaxKey::operator==(const SoftmaxKey& rhs) const { bool SoftMax::isSupportedOperation(const std::shared_ptr& op, std::string& errorMessage) noexcept { try { - if (!std::dynamic_pointer_cast(op)) { + if (!ov::as_type_ptr(op)) { errorMessage = "Only opset1 Softmax operation is supported"; return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.cpp index 746b556314ce3a..5decaa7ec42f62 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.cpp @@ -15,7 +15,7 @@ ov::intel_cpu::ConvertGroupConvolution::ConvertGroupConvolution() { ov::matcher_pass_callback callback = [](ov::pass::pattern::Matcher& m) { enum Inputs {Data, Weights}; - auto gconv = std::dynamic_pointer_cast(m.get_match_root()); + auto gconv = ov::as_type_ptr(m.get_match_root()); if (!gconv) { return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.cpp index 72228d89cb6ab2..0eb9af7ce951ee 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.cpp @@ -14,7 +14,7 @@ template ov::matcher_pass_callback ov::intel_cpu::ConvertConv1DBase::convert_conv1d_to_conv2d() { return [&](ov::pass::pattern::Matcher& m) { - auto conv = std::dynamic_pointer_cast(m.get_match_root()); + auto conv = ov::as_type_ptr(m.get_match_root()); if (!conv) { return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.cpp index 22692e644e6e56..44182982753cc2 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.cpp @@ -19,7 +19,7 @@ ov::matcher_pass_callback ov::intel_cpu::ConvertReduceMultiAxisBase::convert_red const auto& input0 = reduce->input_value(0); const auto& input1 = reduce->input_value(1); const auto& data_shape0 = input0.get_partial_shape(); - auto reduction_axes = std::dynamic_pointer_cast(input1.get_node_shared_ptr()); + auto reduction_axes = ov::as_type_ptr(input1.get_node_shared_ptr()); if (!reduction_axes) { return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.cpp index 76bc2c4f7c1df8..f0f4eb1c5b55af 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.cpp @@ -11,7 +11,7 @@ ov::intel_cpu::MishDecomposition::MishDecomposition() { auto mish = ov::pass::pattern::wrap_type(); ov::matcher_pass_callback callback = [](ov::pass::pattern::Matcher& m) { - auto mish = std::dynamic_pointer_cast(m.get_match_root()); + auto mish = ov::as_type_ptr(m.get_match_root()); if (!mish) { return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp index 3e8a7fc6d5a3f0..68e30e2f43a66a 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp @@ -200,7 +200,7 @@ CausalMaskPreprocess::CausalMaskPreprocess() { config.type = "CausalMaskPreprocess"; auto triu = - std::dynamic_pointer_cast(pattern_map.find(const_triu)->second.get_node_shared_ptr()); + ov::as_type_ptr(pattern_map.find(const_triu)->second.get_node_shared_ptr()); auto triu_shape = triu->get_output_shape(0); if (triu_shape.size() != 4) diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.cpp index 5b175d15bf9f77..3f21f304e15c03 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.cpp @@ -15,7 +15,7 @@ ov::intel_cpu::ConvertBroadcastToTiles::ConvertBroadcastToTiles() { auto broadcast = ov::pass::pattern::wrap_type(); ov::matcher_pass_callback callback = [this](ov::pass::pattern::Matcher& m) { - auto broadcast = std::dynamic_pointer_cast(m.get_match_root()); + auto broadcast = ov::as_type_ptr(m.get_match_root()); if (!broadcast) { return false; } @@ -25,8 +25,8 @@ ov::intel_cpu::ConvertBroadcastToTiles::ConvertBroadcastToTiles() { return false; } - auto shape_node = std::dynamic_pointer_cast(broadcast->input_value(1).get_node_shared_ptr()); - auto axes_node = std::dynamic_pointer_cast(broadcast->input_value(2).get_node_shared_ptr()); + auto shape_node = ov::as_type_ptr(broadcast->input_value(1).get_node_shared_ptr()); + auto axes_node = ov::as_type_ptr(broadcast->input_value(2).get_node_shared_ptr()); if (!shape_node || !axes_node) return false; auto output_shape = shape_node->cast_vector(); diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.cpp index 327222883b6035..5fc85411c88d1a 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.cpp @@ -25,7 +25,7 @@ ov::intel_cpu::ConvertTileToSeqTiles::ConvertTileToSeqTiles() { return false; } - auto tiles_node = std::dynamic_pointer_cast(tile->input_value(1).get_node_shared_ptr()); + auto tiles_node = ov::as_type_ptr(tile->input_value(1).get_node_shared_ptr()); if (!tiles_node) return false; auto tiles = tiles_node->cast_vector(); @@ -47,7 +47,7 @@ ov::intel_cpu::ConvertTileToSeqTiles::ConvertTileToSeqTiles() { if (num_of_tile_dims == 0) { auto outputs = tile->get_output_target_inputs(0); for (const auto &out : outputs) { - if (std::dynamic_pointer_cast(out.get_node()->shared_from_this())) { + if (ov::as_type_ptr(out.get_node()->shared_from_this())) { return false; } } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.cpp index 1086b3a05c7a9f..f447452259ce42 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.cpp @@ -18,11 +18,11 @@ ov::intel_cpu::ConvertToLeakyRelu::ConvertToLeakyRelu() { auto prelu = ov::pass::pattern::wrap_type({ input, slope_constant }); ov::matcher_pass_callback callback = [](ov::pass::pattern::Matcher& m) { - auto prelu = std::dynamic_pointer_cast(m.get_match_root()); + auto prelu = ov::as_type_ptr(m.get_match_root()); if (!prelu) { return false; } - auto slopeNode = std::dynamic_pointer_cast(prelu->get_input_node_shared_ptr(1)); + auto slopeNode = ov::as_type_ptr(prelu->get_input_node_shared_ptr(1)); if (slopeNode != nullptr && ov::shape_size(slopeNode->get_shape()) == 1) { const float slope = slopeNode->cast_vector()[0]; const auto leakyRelu = std::make_shared(prelu->input(0).get_source_output(), slope, diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.cpp index 8079286d1e3ad7..5b6eeb53a54e8f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.cpp @@ -20,8 +20,8 @@ namespace { int getConstPort(const std::shared_ptr &node) { - const auto const1 = std::dynamic_pointer_cast(node->get_input_node_shared_ptr(0)); - const auto const2 = std::dynamic_pointer_cast(node->get_input_node_shared_ptr(1)); + const auto const1 = ov::as_type_ptr(node->get_input_node_shared_ptr(0)); + const auto const2 = ov::as_type_ptr(node->get_input_node_shared_ptr(1)); int constPort = -1; if (const2) { constPort = 1; @@ -64,7 +64,7 @@ bool isConvertableToPowerStatic(const std::shared_ptr &node) auto input_rank = node->get_input_partial_shape(0).rank(); if (input_rank.is_dynamic()) return false; - auto const_node = std::dynamic_pointer_cast(node->get_input_node_shared_ptr(1)); + auto const_node = ov::as_type_ptr(node->get_input_node_shared_ptr(1)); return const_node && input_rank.get_length() >= static_cast(const_node->get_shape().size()) && ov::shape_size(const_node->get_shape()) == 1; @@ -74,7 +74,7 @@ template std::shared_ptr convert(const std::shared_ptr &node) { const int constPort = getConstPort(node); const int nonConstPort = 1 - constPort; - std::shared_ptr powerNode = std::dynamic_pointer_cast(node->get_input_node_shared_ptr(constPort)); + std::shared_ptr powerNode = ov::as_type_ptr(node->get_input_node_shared_ptr(constPort)); const float value = powerNode->cast_vector()[0]; if (std::is_same::value) { return std::make_shared(node->input(nonConstPort).get_source_output(), value, 1.0f, 0.0f, @@ -122,19 +122,19 @@ ov::intel_cpu::ConvertToPowerStatic::ConvertToPowerStatic() { auto node = m.get_match_root(); std::shared_ptr toReplace = node; - if (auto power = std::dynamic_pointer_cast(node)) { + if (auto power = ov::as_type_ptr(node)) { if (!isConvertableToPowerStatic(power)) return false; toReplace = convert(power); - } else if (auto add = std::dynamic_pointer_cast(node)) { + } else if (auto add = ov::as_type_ptr(node)) { if (!isConvertableToPowerStatic(add)) return false; toReplace = convert(add); - } else if (auto sub = std::dynamic_pointer_cast(node)) { + } else if (auto sub = ov::as_type_ptr(node)) { if (!isConvertableToPowerStatic(sub)) return false; toReplace = convert(sub); - } else if (auto mult = std::dynamic_pointer_cast(node)) { + } else if (auto mult = ov::as_type_ptr(node)) { if (!isConvertableToPowerStatic(mult)) return false; toReplace = convert(mult); diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.cpp index f0d3e66cb8ee21..d207c350814b95 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.cpp @@ -16,13 +16,13 @@ ov::intel_cpu::ConvertToSwishCPU::ConvertToSwishCPU() { auto swish = ov::pass::pattern::wrap_type(); ov::matcher_pass_callback callback = [](ov::pass::pattern::Matcher& m) { - auto swish = std::dynamic_pointer_cast (m.get_match_root()); + auto swish = ov::as_type_ptr (m.get_match_root()); if (!swish) { return false; } float beta_value = 1.0; if (swish->input_values().size() == 2) { - auto beta = std::dynamic_pointer_cast(swish->get_input_node_shared_ptr(1)); + auto beta = ov::as_type_ptr(swish->get_input_node_shared_ptr(1)); if (!beta || ov::shape_size(swish->get_input_shape(1)) != 1) { return false; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.cpp index c96f756dbe336a..84cb8f2efe7dda 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.cpp @@ -11,7 +11,7 @@ namespace intel_cpu { DecomposeIntegerDivide::DecomposeIntegerDivide() { register_matcher(std::make_shared(ov::pass::pattern::wrap_type(), "DecomposeIntegerDivide"), [](ov::pass::pattern::Matcher& m) { - auto divide = std::dynamic_pointer_cast(m.get_match_root()); + auto divide = ov::as_type_ptr(m.get_match_root()); if (!divide) { return false; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.cpp index c2765b889c636c..54800aefaa4aab 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.cpp @@ -61,7 +61,7 @@ StatefulSDPAFusion::StatefulSDPAFusion() { auto unsqueeze_kv = makePattern({kv, any_input()}); auto check_one = [] (Output output) -> bool { - auto node = std::dynamic_pointer_cast(output.get_node_shared_ptr()); + auto node = ov::as_type_ptr(output.get_node_shared_ptr()); const auto& bcst_arg = node->cast_vector(); return std::all_of(bcst_arg.begin(), bcst_arg.end(), [](float i) { return i == 1.0f; @@ -116,14 +116,14 @@ StatefulSDPAFusion::StatefulSDPAFusion() { auto present_to = out.get_target_inputs(); for (auto& to : present_to) { auto to_node = to.get_node(); - if (auto convert = dynamic_cast(to_node)) { + if (auto convert = ov::as_type(to_node)) { auto cvt_targets = convert->get_output_target_inputs(0); if (cvt_targets.size() == 1) { to_node = cvt_targets.begin()->get_node(); cvt = convert; } } - assign = dynamic_cast(to_node); + assign = ov::as_type(to_node); if (assign) return true; } diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.cpp index 10e3f39801a30a..25f4d07b07bde3 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.cpp @@ -72,7 +72,7 @@ ov::intel_cpu::QKVProjFusion::QKVProjFusion() { size_t hidden_size = 0; std::vector proj_size; for (auto& child : children) { - auto mm = dynamic_cast(child.get_node()); + auto mm = ov::as_type(child.get_node()); if (!mm) { // maybe a ShapeOf continue; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp index cc7be806fa4837..27a50df6a0a5d7 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp @@ -13,7 +13,7 @@ namespace op { class FullyConnected : public ov::op::Op { public: - OPENVINO_OP("FullyConnected", "gpu_opset"); + OPENVINO_OP("FullyConnected", "gpu_opset", ov::op::Op); FullyConnected() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected_compressed.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected_compressed.hpp index 1112a3785317a3..88aa55ec047144 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected_compressed.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected_compressed.hpp @@ -12,7 +12,7 @@ namespace op { class FullyConnectedCompressed : public FullyConnected { public: - OPENVINO_OP("FullyConnectedCompressed", "gpu_opset"); + OPENVINO_OP("FullyConnectedCompressed", "gpu_opset", FullyConnected); FullyConnectedCompressed() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/gemm.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/gemm.hpp index 41b610d078546a..8f78f8fa309c58 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/gemm.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/gemm.hpp @@ -15,7 +15,7 @@ namespace op { class Gemm : public ov::op::v0::MatMul { public: - OPENVINO_OP("Gemm", "gpu_opset"); + OPENVINO_OP("Gemm", "gpu_opset", ov::op::v0::MatMul); Gemm() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/indirect_gemm.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/indirect_gemm.hpp index 654f049f278c79..501d78a151f7cb 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/indirect_gemm.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/indirect_gemm.hpp @@ -15,7 +15,7 @@ namespace op { class IndirectGemm : public ov::intel_gpu::op::Gemm { public: - OPENVINO_OP("IndirectGemm", "gpu_opset"); + OPENVINO_OP("IndirectGemm", "gpu_opset", ov::intel_gpu::op::Gemm); IndirectGemm() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/indirect_sdpa.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/indirect_sdpa.hpp index 7c45c93c7e74f1..315cec11d5c135 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/indirect_sdpa.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/indirect_sdpa.hpp @@ -15,7 +15,7 @@ namespace op { class IndirectSDPA : public ov::intel_gpu::op::SDPA { public: - OPENVINO_OP("IndirectSDPA", "gpu_opset"); + OPENVINO_OP("IndirectSDPA", "gpu_opset", ov::intel_gpu::op::SDPA); IndirectSDPA() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp index 7048d5229f25db..e23bafa9d3fb0b 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp @@ -17,7 +17,7 @@ namespace op { /// This operation updates data of the corresponding Variable class KVCache : public ov::op::Op, public ov::op::util::VariableExtension { public: - OPENVINO_OP("KVCache", "gpu_opset"); + OPENVINO_OP("KVCache", "gpu_opset", ov::op::Op); KVCache() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp index 5e2bdc3ff87dda..07496aa0ac9236 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp @@ -12,7 +12,7 @@ namespace op { class Placeholder : public ov::op::Op { public: - OPENVINO_OP("Placeholder", "gpu_opset"); + OPENVINO_OP("Placeholder", "gpu_opset", ov::op::Op); Placeholder(); diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp index 419c18118229ff..c232aa95b25da7 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp @@ -16,7 +16,7 @@ namespace op { /// This is needed to have ReadValue-KVCache pair instead of ReadValue-Assign class ReadValue : public ov::op::Op, public ov::op::util::VariableExtension { public: - OPENVINO_OP("ReadValue", "gpu_opset"); + OPENVINO_OP("ReadValue", "gpu_opset", ov::op::Op); ReadValue() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/plugin/program_builder.hpp b/src/plugins/intel_gpu/include/intel_gpu/plugin/program_builder.hpp index 5cede62fd17e69..0b767ddb0a9626 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/plugin/program_builder.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/plugin/program_builder.hpp @@ -42,7 +42,7 @@ void __register ## _ ## op_name ## _ ## op_version(); void __register ## _ ## op_name ## _ ## op_version() { \ ProgramBuilder::RegisterFactory( \ [](ProgramBuilder& p, const std::shared_ptr& op) { \ - auto op_casted = std::dynamic_pointer_cast(op); \ + auto op_casted = ov::as_type_ptr(op); \ OPENVINO_ASSERT(op_casted, "[GPU] Invalid ov Node type passed into ", __PRETTY_FUNCTION__); \ Create##op_name##Op(p, op_casted); \ }); \ diff --git a/src/plugins/intel_gpu/src/plugin/ops/scatter_elements_update.cpp b/src/plugins/intel_gpu/src/plugin/ops/scatter_elements_update.cpp index 1a5d8424e0a402..fbfdf5eb50f02c 100644 --- a/src/plugins/intel_gpu/src/plugin/ops/scatter_elements_update.cpp +++ b/src/plugins/intel_gpu/src/plugin/ops/scatter_elements_update.cpp @@ -26,7 +26,7 @@ static void CreateScatterElementsUpdateOp(ProgramBuilder& p, const std::shared_p auto mode = cldnn::ScatterElementsUpdateOp::Reduction::NONE; auto use_init_val = true; - if (const auto op_v12 = std::dynamic_pointer_cast(op)) { + if (const auto op_v12 = ov::as_type_ptr(op)) { mode = op_v12->get_reduction(); use_init_val = op_v12->get_use_init_val(); } diff --git a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp index 1a869b8afbddf2..ee144b375055af 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp @@ -13,7 +13,7 @@ namespace intel_gpu { // and adds optional padding to align elements count to `alignment` value class BroadcastAndPadZeroPointBuffers : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastAndPadZeroPointBuffers", "0"); + OPENVINO_RTTI("BroadcastAndPadZeroPointBuffers", "0", ov::pass::MatcherPass); BroadcastAndPadZeroPointBuffers(size_t alignment = 1, bool supports_immad = false); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp index 90d62a8e7a1fa5..87f4c492b0c325 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertBinaryConvolutionToConvolution: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBinaryConvolutionToConvolution", "0"); + OPENVINO_RTTI("ConvertBinaryConvolutionToConvolution", "0", ov::pass::MatcherPass); ConvertBinaryConvolutionToConvolution(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp index ac93d446ee749d..479611d0de0934 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp @@ -18,7 +18,7 @@ namespace intel_gpu { */ class ClampFP16Output: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::intel_gpu::ClampFP16Output"); + OPENVINO_RTTI("ov::intel_gpu::ClampFP16Output", "0", ov::pass::MatcherPass); ClampFP16Output(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp index 656b4c6fd99c20..03dd8dbeff3054 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp @@ -73,9 +73,9 @@ ov::Tensor get_compensation(ov::Tensor* w_tensor, ov::Tensor* azp_tensor, ov::Te } ov::Tensor get_compensation(std::shared_ptr w, std::shared_ptr azp, std::shared_ptr wzp, int64_t groups) { - auto w_const = std::dynamic_pointer_cast(w); - auto azp_const = std::dynamic_pointer_cast(azp); - auto wzp_const = std::dynamic_pointer_cast(wzp); + auto w_const = ov::as_type_ptr(w); + auto azp_const = ov::as_type_ptr(azp); + auto wzp_const = ov::as_type_ptr(wzp); OPENVINO_ASSERT(w_const != nullptr && azp_const != nullptr); @@ -102,13 +102,13 @@ ov::Tensor get_compensation(std::shared_ptr w, std::shared_ptr(pattern_map.at(convolution_m).get_node_shared_ptr()); + auto conv_node = ov::as_type_ptr(pattern_map.at(convolution_m).get_node_shared_ptr()); int64_t groups = -1; - if (auto grouped_conv = std::dynamic_pointer_cast(conv_node)) { + if (auto grouped_conv = ov::as_type_ptr(conv_node)) { auto weights_shape = grouped_conv->get_input_partial_shape(1); if (weights_shape[0].is_dynamic()) return false; groups = weights_shape[0].get_length(); } - auto weights = std::dynamic_pointer_cast(pattern_map.at(weights_m).get_node_shared_ptr()); + auto weights = ov::as_type_ptr(pattern_map.at(weights_m).get_node_shared_ptr()); std::shared_ptr no_bias = std::make_shared(); std::shared_ptr optional_wzp_point = std::make_shared(); std::shared_ptr optional_azp_point = std::make_shared(); @@ -196,10 +196,10 @@ ConvolutionMatcher::ConvolutionMatcher() { return false; } - auto conv_node = std::dynamic_pointer_cast(pattern_map.at(convolution_m).get_node_shared_ptr()); + auto conv_node = ov::as_type_ptr(pattern_map.at(convolution_m).get_node_shared_ptr()); int64_t groups = -1; - if (auto grouped_conv = std::dynamic_pointer_cast(conv_node)) { + if (auto grouped_conv = ov::as_type_ptr(conv_node)) { auto weights_shape = grouped_conv->get_input_partial_shape(1); if (weights_shape[0].is_dynamic()) return false; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.hpp index 004bd4fad561a8..9ec75aa3df02c8 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertConvolutionToInternal : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ConvertConvolutionToInternal", "0"); + OPENVINO_RTTI("ConvertConvolutionToInternal", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_matmul_to_fc.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_matmul_to_fc.hpp index 4e7a9cb312113f..082cf693bda1b0 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_matmul_to_fc.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_matmul_to_fc.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertMatMulToFullyConnected: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMatMulToFullyConnected", "0"); + OPENVINO_RTTI("ConvertMatMulToFullyConnected", "0", ov::pass::MatcherPass); ConvertMatMulToFullyConnected(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_pooling_to_reduce.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_pooling_to_reduce.hpp index 656025154f120e..85662618c33cc9 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_pooling_to_reduce.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_pooling_to_reduce.hpp @@ -12,7 +12,7 @@ namespace intel_gpu { class ConvertAvgPoolingToReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertAvgPoolingToReduce", "0"); + OPENVINO_RTTI("ConvertAvgPoolingToReduce", "0", ov::pass::MatcherPass); ConvertAvgPoolingToReduce(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_shapeof.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_shapeof.hpp index 580ac7e64a2659..14995e265694e1 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_shapeof.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_shapeof.hpp @@ -12,7 +12,7 @@ namespace intel_gpu { class ConvertShapeOf1To3 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertShapeOf1To3", "0"); + OPENVINO_RTTI("ConvertShapeOf1To3", "0", ov::pass::MatcherPass); ConvertShapeOf1To3(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_stridedslices_to_variadicsplit.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_stridedslices_to_variadicsplit.hpp index 83162e36b4c0ae..f1d6766b11fe1b 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_stridedslices_to_variadicsplit.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_stridedslices_to_variadicsplit.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertStridedSlicesToVariadicSplit : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertStridedSlicesToVariadicSplit", "0"); + OPENVINO_RTTI("ConvertStridedSlicesToVariadicSplit", "0", ov::pass::MatcherPass); ConvertStridedSlicesToVariadicSplit(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/decompose_reduce_scalar_output.hpp b/src/plugins/intel_gpu/src/plugin/transformations/decompose_reduce_scalar_output.hpp index cb5db2b715c333..cb0ffc87d2422c 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/decompose_reduce_scalar_output.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/decompose_reduce_scalar_output.hpp @@ -15,7 +15,7 @@ namespace intel_gpu { // detect this case and decompose Reduce by dimension to avoid poor performance. class DecomposeReduceForScalarOutput : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeReduceForScalarOutput", "0"); + OPENVINO_RTTI("DecomposeReduceForScalarOutput", "0", ov::pass::MatcherPass); DecomposeReduceForScalarOutput(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/dynamic_quantize_fully_connected.hpp b/src/plugins/intel_gpu/src/plugin/transformations/dynamic_quantize_fully_connected.hpp index b5d956f7872b5c..a9d3fa426a4304 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/dynamic_quantize_fully_connected.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/dynamic_quantize_fully_connected.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class DynamicQuantizeFullyConnected: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DynamicQuantizeFullyConnected", "0"); + OPENVINO_RTTI("DynamicQuantizeFullyConnected", "0", ov::pass::MatcherPass); DynamicQuantizeFullyConnected(uint64_t group_size); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/fc_convert_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/fc_convert_fusion.hpp index 44db1882f8e87f..83ec944b520c52 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/fc_convert_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/fc_convert_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class FullyConnectedConvertFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FullyConnectedConvertFusion", "0"); + OPENVINO_RTTI("FullyConnectedConvertFusion", "0",ov::pass::MatcherPass); FullyConnectedConvertFusion(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/fc_horizontal_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/fc_horizontal_fusion.hpp index b6a852354bad8d..c2472fd193c513 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/fc_horizontal_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/fc_horizontal_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class FullyConnectedHorizontalFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FullyConnectedHorizontalFusion", "0"); + OPENVINO_RTTI("FullyConnectedHorizontalFusion", "0", ov::pass::MatcherPass); FullyConnectedHorizontalFusion(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/group_norm_composition.hpp b/src/plugins/intel_gpu/src/plugin/transformations/group_norm_composition.hpp index 889d0e9ec57e56..6d6d4d4f68e382 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/group_norm_composition.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/group_norm_composition.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class GroupNormComposition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupNormComposition", "0"); + OPENVINO_RTTI("GroupNormComposition", "0", ov::pass::MatcherPass); GroupNormComposition(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/increase_position_ids_precision.hpp b/src/plugins/intel_gpu/src/plugin/transformations/increase_position_ids_precision.hpp index b6046958f8d177..a29c609e28f511 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/increase_position_ids_precision.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/increase_position_ids_precision.hpp @@ -17,7 +17,7 @@ namespace intel_gpu { */ class IncreasePositionIdsPrecision : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("IncreasePositionIdsPrecision", "0"); + OPENVINO_RTTI("IncreasePositionIdsPrecision", "0", ov::pass::MatcherPass); IncreasePositionIdsPrecision(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/indirect_kv_cache.hpp b/src/plugins/intel_gpu/src/plugin/transformations/indirect_kv_cache.hpp index 2a6c4a347f9217..147554487626b7 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/indirect_kv_cache.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/indirect_kv_cache.hpp @@ -38,19 +38,19 @@ namespace intel_gpu { /// └───────────┘ └───────────────┘ class IndirectKVCache : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("IndirectKVCache", "0"); + OPENVINO_RTTI("IndirectKVCache", "0", ov::pass::GraphRewrite); IndirectKVCache(); }; class IndirectGemmOpt : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("IndirectGemmOpt", "0"); + OPENVINO_RTTI("IndirectGemmOpt", "0", ov::pass::MatcherPass); IndirectGemmOpt(); }; class IndirectSDPAOpt : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("IndirectSDPAOpt", "0"); + OPENVINO_RTTI("IndirectSDPAOpt", "0", ov::pass::MatcherPass); IndirectSDPAOpt(); }; } // namespace intel_gpu diff --git a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp index b97389a7d18c76..2ae105218d3eb2 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.cpp @@ -30,7 +30,7 @@ namespace intel_gpu { class KVCacheFusionMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("KVCacheFusionMatcher", "0"); + OPENVINO_RTTI("KVCacheFusionMatcher", "0", ov::pass::MatcherPass); KVCacheFusionMatcher(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.hpp index dbe147da8d46b7..76768baf069dc2 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_fusion.hpp @@ -76,7 +76,7 @@ namespace intel_gpu { /// └─────────────┘ └───────────┘ └─────────┘ class KVCacheFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("KVCacheFusion", "0"); + OPENVINO_RTTI("KVCacheFusion", "0", ov::pass::GraphRewrite); KVCacheFusion(); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp b/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp index f573abd4589e8f..f41bd1eef316ca 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/move_fc_reshape_to_weights.hpp @@ -30,7 +30,7 @@ namespace intel_gpu { */ class MoveFCReshapeToWeights: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveFCReshapeToWeights", "0"); + OPENVINO_RTTI("MoveFCReshapeToWeights", "0", ov::pass::MatcherPass); MoveFCReshapeToWeights(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/print_model_statistics.hpp b/src/plugins/intel_gpu/src/plugin/transformations/print_model_statistics.hpp index 079028f0154848..4a6fa970fb545d 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/print_model_statistics.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/print_model_statistics.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class PrintModelStatistics : public ov::pass::ModelPass { public: - OPENVINO_RTTI("PrintModelStatistics", "0"); + OPENVINO_RTTI("PrintModelStatistics", "0", ov::pass::ModelPass); PrintModelStatistics() = default; bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp index 4869100054b819..97b355a18aecab 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/transpose_fusion.hpp @@ -11,25 +11,25 @@ namespace intel_gpu { class TransposeFusion: public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("TransposeFusion", "0"); + OPENVINO_RTTI("TransposeFusion", "0", ov::pass::GraphRewrite); TransposeFusion(bool supports_immad = false); }; class TransposeMatMulMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMulMatcher", "0"); + OPENVINO_RTTI("TransposeMatMulMatcher", "0", ov::pass::MatcherPass); TransposeMatMulMatcher(bool supports_immad); }; class TransposeMatMulTransposeMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMulTransposeMatcher", "0"); + OPENVINO_RTTI("TransposeMatMulTransposeMatcher", "0", ov::pass::MatcherPass); TransposeMatMulTransposeMatcher(bool supports_immad); }; class TransposeSDPAMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeSDPAMatcher", "0"); + OPENVINO_RTTI("TransposeSDPAMatcher", "0", ov::pass::MatcherPass); TransposeSDPAMatcher(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp index 35ed30cdc9726e..1f885a1e4f9758 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_matmul_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class UnsqueezeBroadcastReshapeMatmulFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsqueezeBroadcastReshapeMatmulFusion", "0"); + OPENVINO_RTTI("UnsqueezeBroadcastReshapeMatmulFusion", "0", ov::pass::MatcherPass); UnsqueezeBroadcastReshapeMatmulFusion(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp index ede3ac16fb51b5..dc3ac80022b3b5 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/unsqueeze_broadcast_reshape_sdpa_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class UnsqueezeBroadcastReshapeSDPAFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsqueezeBroadcastReshapeSDPAFusion", "0"); + OPENVINO_RTTI("UnsqueezeBroadcastReshapeSDPAFusion", "0", ov::pass::MatcherPass); UnsqueezeBroadcastReshapeSDPAFusion(); }; diff --git a/src/plugins/template/backend/ops/string_tensor_pack.cpp b/src/plugins/template/backend/ops/string_tensor_pack.cpp index dec0f8fd058e60..2d8c0e5dbd6014 100644 --- a/src/plugins/template/backend/ops/string_tensor_pack.cpp +++ b/src/plugins/template/backend/ops/string_tensor_pack.cpp @@ -11,7 +11,7 @@ template <> bool evaluate_node(std::shared_ptr node, ov::TensorVector& outputs, const ov::TensorVector& inputs) { - auto string_tensor_pack = std::dynamic_pointer_cast(node); + auto string_tensor_pack = ov::as_type_ptr(node); OPENVINO_ASSERT(string_tensor_pack, "Node passed to StringTensorPack evaluate function is invalid."); ov::Shape output_shape; output_shape = ov::op::v15::shape_infer(string_tensor_pack.get(), diff --git a/src/plugins/template/backend/ops/string_tensor_unpack.cpp b/src/plugins/template/backend/ops/string_tensor_unpack.cpp index 319762023265d5..ff3cd95efbac4b 100644 --- a/src/plugins/template/backend/ops/string_tensor_unpack.cpp +++ b/src/plugins/template/backend/ops/string_tensor_unpack.cpp @@ -12,7 +12,7 @@ bool evaluate_node(std::shared_ptr no ov::TensorVector& outputs, const ov::TensorVector& inputs) { if (node->get_input_element_type(0) == ov::element::string) { - auto string_tensor_unpack = std::dynamic_pointer_cast(node); + auto string_tensor_unpack = ov::as_type_ptr(node); OPENVINO_ASSERT(string_tensor_unpack, "Node passed to StringTensorUnpack evaluate function is invalid."); std::vector output_shapes; output_shapes = ov::op::v15::shape_infer(string_tensor_unpack.get(), From 0a8b4713c7ef3fa2f29fc757a7a5bc412667de8f Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 11:20:43 +0100 Subject: [PATCH 02/16] Resolve code style issues Signed-off-by: Tomasz Jankowski --- .../src/pruning/init_masks.cpp | 3 +-- .../common_optimizations/dimension_tracking.hpp | 2 +- .../fold_subgraph_empty_inputs.hpp | 2 +- .../remove_concat_zero_dim_input.hpp | 2 +- .../transformations/include/transformations/hash.hpp | 2 +- .../op_conversions/convert_maxpool_downgrade.hpp | 2 +- .../op_conversions/convert_maxpool_upgrade.hpp | 2 +- .../symbolic_optimizations.hpp | 4 ++-- .../include/transformations/utils/gen_pattern.hpp | 2 +- .../common_optimizations/pull_through_reduce.cpp | 6 ++---- .../common_optimizations/reduce_reshape_fusion.cpp | 3 +-- .../tests/utils/compare_functions_test.cpp | 2 +- .../include/openvino/pass/backward_graph_rewrite.hpp | 2 +- .../include/openvino/pass/convert_fp32_to_fp16.hpp | 2 +- src/core/include/openvino/pass/graph_rewrite.hpp | 2 +- src/core/include/openvino/pass/low_latency.hpp | 2 +- src/core/include/openvino/pass/make_stateful.hpp | 2 +- src/core/include/openvino/pass/pattern/op/any.hpp | 2 +- src/core/include/openvino/pass/pattern/op/any_of.hpp | 2 +- .../include/openvino/pass/pattern/op/any_output.hpp | 2 +- src/core/include/openvino/pass/pattern/op/label.hpp | 2 +- .../include/openvino/pass/pattern/op/optional.hpp | 2 +- src/core/include/openvino/pass/pattern/op/or.hpp | 2 +- src/core/include/openvino/pass/pattern/op/true.hpp | 2 +- .../include/openvino/pass/pattern/op/wrap_type.hpp | 2 +- .../include/openvino/pass/sdpa_to_paged_attention.hpp | 2 +- src/core/include/openvino/pass/serialize.hpp | 4 ++-- .../include/openvino/pass/stateful_to_stateless.hpp | 2 +- src/core/include/openvino/pass/validate.hpp | 2 +- src/core/include/openvino/pass/visualize_tree.hpp | 2 +- src/core/src/pass/low_latency.cpp | 3 +-- src/core/src/pass/stateful_to_stateless.cpp | 3 +-- src/core/src/type.cpp | 11 ----------- 33 files changed, 35 insertions(+), 52 deletions(-) diff --git a/src/common/offline_transformations/src/pruning/init_masks.cpp b/src/common/offline_transformations/src/pruning/init_masks.cpp index 66927cbfe0b49f..e14a75b895bd5c 100644 --- a/src/common/offline_transformations/src/pruning/init_masks.cpp +++ b/src/common/offline_transformations/src/pruning/init_masks.cpp @@ -66,8 +66,7 @@ class ov::pass::init_masks::InitMatMulMask : public MatcherPass { ov::matcher_pass_callback callback = [=](ov::pass::pattern::Matcher& m) { const auto& pattern_map = m.get_pattern_value_map(); - const auto& matmul = - ov::as_type_ptr(pattern_map.at(matmul_pattern).get_node_shared_ptr()); + const auto& matmul = ov::as_type_ptr(pattern_map.at(matmul_pattern).get_node_shared_ptr()); if (!matmul) return false; diff --git a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp index f67628099fcc3b..e02e77622c1a04 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dimension_tracking.hpp @@ -22,7 +22,7 @@ class TRANSFORMATIONS_API FindBatch; class ov::pass::FindBatch : public ov::pass::ModelPass { public: - OPENVINO_RTTI("FindBatch","0", ov::pass::ModelPass); + OPENVINO_RTTI("FindBatch", "0", ov::pass::ModelPass); FindBatch(bool detach_detection_output = false, bool track = true) : track(track), detach_do(detach_detection_output) {} diff --git a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp index 66197030697b18..351378845a87d3 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp @@ -40,7 +40,7 @@ class ov::pass::FoldSubgraphEmptyInputs : public ov::pass::MatcherPass { class ov::pass::DisableFoldSubgraphEmptyInputs : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("DisableFoldSubgraphEmptyInputs","0", ov::RuntimeAttribute); + OPENVINO_RTTI("DisableFoldSubgraphEmptyInputs", "0", ov::RuntimeAttribute); DisableFoldSubgraphEmptyInputs() = default; bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp index d1bbda23078277..21780d9c7dc2e2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp @@ -36,7 +36,7 @@ OPENVINO_API bool remove_concat_zerodim_input_is_disabled(const std::shared_ptr< class DisableRemoveConcatZeroDimInput : public ov::RuntimeAttribute { public: - OPENVINO_RTTI("DisableRemoveConcatZeroDimInput","0", ov::RuntimeAttribute); + OPENVINO_RTTI("DisableRemoveConcatZeroDimInput", "0", ov::RuntimeAttribute); DisableRemoveConcatZeroDimInput() = default; bool is_copyable() const override { return false; diff --git a/src/common/transformations/include/transformations/hash.hpp b/src/common/transformations/include/transformations/hash.hpp index 1b65f374bf0056..36c661b80272fc 100644 --- a/src/common/transformations/include/transformations/hash.hpp +++ b/src/common/transformations/include/transformations/hash.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TRANSFORMATIONS_API Hash : public ov::pass::ModelPass { public: - OPENVINO_RTTI("HashPass","0", ov::pass::ModelPass); + OPENVINO_RTTI("HashPass", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; 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 4512394271f967..c65fa970dd0c11 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","0", ov::pass::MatcherPass); + OPENVINO_RTTI("ConvertMaxPool8ToMaxPool1", "0", ov::pass::MatcherPass); ConvertMaxPool8ToMaxPool1(); }; 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 7cefed843a026d..23e23b908a01d4 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","0", ov::pass::MatcherPass); + OPENVINO_RTTI("ConvertMaxPool1ToMaxPool8", "0", ov::pass::MatcherPass); ConvertMaxPool1ToMaxPool8(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp index 0b5aecbcf25002..4bd8db99f941e2 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp @@ -42,7 +42,7 @@ class ov::pass::SymbolicOptimizations : public ov::pass::ModelPass { */ class ov::pass::SymbolicPropagation : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SymbolicPropagation","0", ov::pass::ModelPass); + OPENVINO_RTTI("SymbolicPropagation", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; @@ -60,4 +60,4 @@ class ov::pass::LabelResolvingThroughSelect : public ov::pass::MatcherPass { public: OPENVINO_RTTI("LabelResolvingThroughSelect", "0", ov::pass::MatcherPass); LabelResolvingThroughSelect(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/utils/gen_pattern.hpp b/src/common/transformations/include/transformations/utils/gen_pattern.hpp index b41cf07a2f9e88..f48931cef3e940 100644 --- a/src/common/transformations/include/transformations/utils/gen_pattern.hpp +++ b/src/common/transformations/include/transformations/utils/gen_pattern.hpp @@ -729,7 +729,7 @@ class AttrMatcher : public ov::AttributeVisitor { // from it. but we didn't use the predicate facility. class GenericPattern : public ov::pass::pattern::op::Pattern { public: - OPENVINO_RTTI("GenericPattern","0", ov::pass::pattern::op::Pattern); + OPENVINO_RTTI("GenericPattern", "0", ov::pass::pattern::op::Pattern); explicit GenericPattern(const DiscreteTypeInfo& type_info, const OutputVector& args, diff --git a/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp b/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp index 8c9cf5067bcc50..a3e3d22112e765 100644 --- a/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/pull_through_reduce.cpp @@ -120,8 +120,7 @@ ov::pass::PullUnsqueezeThroughReduce::PullUnsqueezeThroughReduce() { matcher_pass_callback callback = [=](pattern::Matcher& m) { auto& pattern_map = m.get_pattern_value_map(); const auto input_node = pattern_map.at(input); - const auto reduce_node = - ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); + const auto reduce_node = ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); const auto unsqueeze_node = pattern_map.at(unsqueeze).get_node_shared_ptr(); auto unsqueeze_axes_input = ov::as_type_ptr(pattern_map.at(unsqueeze_axes).get_node_shared_ptr()); @@ -193,8 +192,7 @@ ov::pass::PullReshapeThroughReduce::PullReshapeThroughReduce() { matcher_pass_callback callback = [=](pattern::Matcher& m) { auto& pattern_map = m.get_pattern_value_map(); const auto input_node = pattern_map.at(input); - const auto reduce_node = - ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); + const auto reduce_node = ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); if (!reduce_node) { return false; } diff --git a/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp b/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp index cdb89068d08002..c90afb3b9a7a23 100644 --- a/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/reduce_reshape_fusion.cpp @@ -31,8 +31,7 @@ ov::pass::ReduceReshapeFusion::ReduceReshapeFusion() { matcher_pass_callback callback = [=](pattern::Matcher& m) { auto& pattern_map = m.get_pattern_value_map(); auto reshape_node = pattern_map.at(reshape).get_node_shared_ptr(); - const auto reduce_node = - ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); + const auto reduce_node = ov::as_type_ptr(pattern_map.at(reduce).get_node_shared_ptr()); if (!reduce_node) { return false; } diff --git a/src/common/transformations/tests/utils/compare_functions_test.cpp b/src/common/transformations/tests/utils/compare_functions_test.cpp index bd83f2966f8068..82229f9c871c6d 100644 --- a/src/common/transformations/tests/utils/compare_functions_test.cpp +++ b/src/common/transformations/tests/utils/compare_functions_test.cpp @@ -602,7 +602,7 @@ class AttributeAdapter AttributeAdapter(TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION& value) : DirectValueAccessor(value) {} - OPENVINO_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION","0", pass::MatcherPass); + OPENVINO_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION", "0", pass::MatcherPass); }; } // namespace ov diff --git a/src/core/include/openvino/pass/backward_graph_rewrite.hpp b/src/core/include/openvino/pass/backward_graph_rewrite.hpp index d0e35160140f0d..d667b740bdfc2f 100644 --- a/src/core/include/openvino/pass/backward_graph_rewrite.hpp +++ b/src/core/include/openvino/pass/backward_graph_rewrite.hpp @@ -11,7 +11,7 @@ namespace ov { namespace pass { class OPENVINO_API BackwardGraphRewrite : public GraphRewrite { public: - OPENVINO_RTTI("ov::pass::BackwardGraphRewrite","0", GraphRewrite); + OPENVINO_RTTI("ov::pass::BackwardGraphRewrite", "0", GraphRewrite); BackwardGraphRewrite() = default; diff --git a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp index 56f17e779689f3..d4dc539c231517 100644 --- a/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp +++ b/src/core/include/openvino/pass/convert_fp32_to_fp16.hpp @@ -14,7 +14,7 @@ namespace pass { */ class OPENVINO_API ConvertFP32ToFP16 : public ModelPass { public: - OPENVINO_RTTI("ConvertFP32ToFP16","0", ModelPass); + OPENVINO_RTTI("ConvertFP32ToFP16", "0", ModelPass); bool run_on_model(const std::shared_ptr&) override; }; } // namespace pass diff --git a/src/core/include/openvino/pass/graph_rewrite.hpp b/src/core/include/openvino/pass/graph_rewrite.hpp index 691ed6ae33fc0e..0d68c559e6c0b1 100644 --- a/src/core/include/openvino/pass/graph_rewrite.hpp +++ b/src/core/include/openvino/pass/graph_rewrite.hpp @@ -34,7 +34,7 @@ namespace pass { /// \ingroup ov_pass_cpp_api class OPENVINO_API GraphRewrite : public ModelPass { public: - OPENVINO_RTTI("ov::pass::GraphRewrite","0", ModelPass); + OPENVINO_RTTI("ov::pass::GraphRewrite", "0", ModelPass); GraphRewrite() = default; diff --git a/src/core/include/openvino/pass/low_latency.hpp b/src/core/include/openvino/pass/low_latency.hpp index 07b618a2f5af44..01a57f64fc969d 100644 --- a/src/core/include/openvino/pass/low_latency.hpp +++ b/src/core/include/openvino/pass/low_latency.hpp @@ -36,7 +36,7 @@ namespace pass { */ class OPENVINO_API LowLatency2 : public ModelPass { public: - OPENVINO_RTTI("LowLatency2","0", ModelPass); + OPENVINO_RTTI("LowLatency2", "0", ModelPass); explicit LowLatency2(bool use_const_initializer = true) : m_use_const_initializer(use_const_initializer) {} diff --git a/src/core/include/openvino/pass/make_stateful.hpp b/src/core/include/openvino/pass/make_stateful.hpp index 48e0b4ec0a1482..07836a9e753ccd 100644 --- a/src/core/include/openvino/pass/make_stateful.hpp +++ b/src/core/include/openvino/pass/make_stateful.hpp @@ -18,7 +18,7 @@ namespace pass { */ class OPENVINO_API MakeStateful : public ModelPass { public: - OPENVINO_RTTI("MakeStateful","0", ModelPass); + OPENVINO_RTTI("MakeStateful", "0", ModelPass); using ParamResPairs = std::vector, std::shared_ptr>>; diff --git a/src/core/include/openvino/pass/pattern/op/any.hpp b/src/core/include/openvino/pass/pattern/op/any.hpp index 5cc45ce3737a01..a4e0bae48922d7 100644 --- a/src/core/include/openvino/pass/pattern/op/any.hpp +++ b/src/core/include/openvino/pass/pattern/op/any.hpp @@ -15,7 +15,7 @@ namespace op { /// and the arguments match, the match succeeds. class OPENVINO_API Any : public Pattern { public: - OPENVINO_RTTI("patternAny","0", Pattern); + OPENVINO_RTTI("patternAny", "0", Pattern); /// \brief creates a Any node containing a sub-pattern described by \sa type and \sa /// shape. Any(const element::Type& type, const PartialShape& s, ValuePredicate pred, const OutputVector& wrapped_values) diff --git a/src/core/include/openvino/pass/pattern/op/any_of.hpp b/src/core/include/openvino/pass/pattern/op/any_of.hpp index 1d71bc07c92d58..9384d4c68a9755 100644 --- a/src/core/include/openvino/pass/pattern/op/any_of.hpp +++ b/src/core/include/openvino/pass/pattern/op/any_of.hpp @@ -20,7 +20,7 @@ namespace op { /// AnyOf may be given a type and shape for use in strict mode. class OPENVINO_API AnyOf : public Pattern { public: - OPENVINO_RTTI("patternAnyOf","0", Pattern); + OPENVINO_RTTI("patternAnyOf", "0", Pattern); /// \brief creates a AnyOf node containing a sub-pattern described by \sa type and /// \sa shape. AnyOf(const element::Type& type, const PartialShape& s, ValuePredicate pred, const OutputVector& wrapped_values) diff --git a/src/core/include/openvino/pass/pattern/op/any_output.hpp b/src/core/include/openvino/pass/pattern/op/any_output.hpp index 9ca55319fd7a1d..cec6184ce74891 100644 --- a/src/core/include/openvino/pass/pattern/op/any_output.hpp +++ b/src/core/include/openvino/pass/pattern/op/any_output.hpp @@ -14,7 +14,7 @@ namespace op { /// Matches any output of a node class OPENVINO_API AnyOutput : public Pattern { public: - OPENVINO_RTTI("patternAnyOutput","0", Pattern); + OPENVINO_RTTI("patternAnyOutput", "0", Pattern); /// \brief creates an AnyOutput node matching any output of a node /// \param node The node to match AnyOutput(const std::shared_ptr& pattern) : Pattern({pattern->output(0)}) {} diff --git a/src/core/include/openvino/pass/pattern/op/label.hpp b/src/core/include/openvino/pass/pattern/op/label.hpp index 46d7a9e493ef16..b08cb82ed96fce 100644 --- a/src/core/include/openvino/pass/pattern/op/label.hpp +++ b/src/core/include/openvino/pass/pattern/op/label.hpp @@ -22,7 +22,7 @@ namespace op { /// more than one inputs are given, an Or pattern of the inputs serves as the input. class OPENVINO_API Label : public Pattern { public: - OPENVINO_RTTI("patternLabel","0", Pattern); + OPENVINO_RTTI("patternLabel", "0", Pattern); /// \brief creates a Label node containing a sub-pattern described by \sa type and /// \sa shape. /// diff --git a/src/core/include/openvino/pass/pattern/op/optional.hpp b/src/core/include/openvino/pass/pattern/op/optional.hpp index 8f188dc28be204..8686978f641c80 100644 --- a/src/core/include/openvino/pass/pattern/op/optional.hpp +++ b/src/core/include/openvino/pass/pattern/op/optional.hpp @@ -48,7 +48,7 @@ namespace op { // Issue: 139839 class OPENVINO_API Optional : public Pattern { public: - OPENVINO_RTTI("patternOptional","0", Pattern); + OPENVINO_RTTI("patternOptional", "0", Pattern); /// \brief creates an optional node matching one pattern. Add nodes to match list. /// \param type_infos Optional operation types to exclude them from the matching /// in case the following op types do not exist in a pattern to match. diff --git a/src/core/include/openvino/pass/pattern/op/or.hpp b/src/core/include/openvino/pass/pattern/op/or.hpp index cc9f1edfeba4ae..36c1a4fe0baf6b 100644 --- a/src/core/include/openvino/pass/pattern/op/or.hpp +++ b/src/core/include/openvino/pass/pattern/op/or.hpp @@ -15,7 +15,7 @@ namespace op { /// succeeds on the first match. Otherwise the match fails. class OPENVINO_API Or : public Pattern { public: - OPENVINO_RTTI("patternOr","0", Pattern); + OPENVINO_RTTI("patternOr", "0", Pattern); /// \brief creates an Or node matching one of several sub-patterns in order. Does /// not add node to match list. /// \param patterns The patterns to try for matching diff --git a/src/core/include/openvino/pass/pattern/op/true.hpp b/src/core/include/openvino/pass/pattern/op/true.hpp index 0fb0a32dd548c9..9c80bba0efc52d 100644 --- a/src/core/include/openvino/pass/pattern/op/true.hpp +++ b/src/core/include/openvino/pass/pattern/op/true.hpp @@ -14,7 +14,7 @@ namespace op { /// \brief The match always succeeds. class OPENVINO_API True : public Pattern { public: - OPENVINO_RTTI("patternTrue","0", Pattern); + OPENVINO_RTTI("patternTrue", "0", Pattern); /// \brief Always matches, does not add node to match list. True() : Pattern(OutputVector{}) {} bool match_value(pattern::Matcher* matcher, diff --git a/src/core/include/openvino/pass/pattern/op/wrap_type.hpp b/src/core/include/openvino/pass/pattern/op/wrap_type.hpp index d3d213985004b9..43e0e4a98b66bb 100644 --- a/src/core/include/openvino/pass/pattern/op/wrap_type.hpp +++ b/src/core/include/openvino/pass/pattern/op/wrap_type.hpp @@ -13,7 +13,7 @@ namespace pattern { namespace op { class OPENVINO_API WrapType : public Pattern { public: - OPENVINO_RTTI("patternAnyType","0", Pattern); + OPENVINO_RTTI("patternAnyType", "0", Pattern); explicit WrapType( NodeTypeInfo wrapped_type, diff --git a/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp b/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp index 72e16ea0da7764..50008adf709a52 100644 --- a/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp +++ b/src/core/include/openvino/pass/sdpa_to_paged_attention.hpp @@ -17,7 +17,7 @@ namespace pass { */ class OPENVINO_API SDPAToPagedAttention : public ModelPass { public: - OPENVINO_RTTI("SDPAToPagedAttention","0", ModelPass); + OPENVINO_RTTI("SDPAToPagedAttention", "0", ModelPass); SDPAToPagedAttention(bool use_block_indices_inputs = false, bool use_score_outputs = false); bool run_on_model(const std::shared_ptr& model) override; diff --git a/src/core/include/openvino/pass/serialize.hpp b/src/core/include/openvino/pass/serialize.hpp index fd641d9a70f160..87f34d35f08a9a 100644 --- a/src/core/include/openvino/pass/serialize.hpp +++ b/src/core/include/openvino/pass/serialize.hpp @@ -22,7 +22,7 @@ namespace pass { */ class OPENVINO_API Serialize : public ov::pass::ModelPass { public: - OPENVINO_RTTI("Serialize","0", ov::pass::ModelPass); + OPENVINO_RTTI("Serialize", "0", ov::pass::ModelPass); enum class Version : uint8_t { UNSPECIFIED = 0, // Use the latest or function version @@ -52,7 +52,7 @@ class OPENVINO_API Serialize : public ov::pass::ModelPass { */ class OPENVINO_API StreamSerialize : public ov::pass::ModelPass { public: - OPENVINO_RTTI("StreamSerialize","0", ov::pass::ModelPass); + OPENVINO_RTTI("StreamSerialize", "0", ov::pass::ModelPass); struct DataHeader { size_t custom_data_offset; diff --git a/src/core/include/openvino/pass/stateful_to_stateless.hpp b/src/core/include/openvino/pass/stateful_to_stateless.hpp index 252f8eefb64ab5..558b1eb0f3382f 100644 --- a/src/core/include/openvino/pass/stateful_to_stateless.hpp +++ b/src/core/include/openvino/pass/stateful_to_stateless.hpp @@ -14,7 +14,7 @@ namespace pass { */ class OPENVINO_API StatefulToStateless : public ModelPass { public: - OPENVINO_RTTI("StatefulToStateless","0", ModelPass); + OPENVINO_RTTI("StatefulToStateless", "0", ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/core/include/openvino/pass/validate.hpp b/src/core/include/openvino/pass/validate.hpp index ac3124b736e498..54b78f23d9254e 100644 --- a/src/core/include/openvino/pass/validate.hpp +++ b/src/core/include/openvino/pass/validate.hpp @@ -24,7 +24,7 @@ namespace pass { /// \ingroup ov_pass_cpp_api class OPENVINO_API Validate : public ModelPass { public: - OPENVINO_RTTI("ov::pass::Validate","0", ModelPass); + OPENVINO_RTTI("ov::pass::Validate", "0", ModelPass); Validate() : ModelPass() {} bool run_on_model(const std::shared_ptr& f) override; diff --git a/src/core/include/openvino/pass/visualize_tree.hpp b/src/core/include/openvino/pass/visualize_tree.hpp index 81261b5848bf80..c84d83086204ce 100644 --- a/src/core/include/openvino/pass/visualize_tree.hpp +++ b/src/core/include/openvino/pass/visualize_tree.hpp @@ -28,7 +28,7 @@ namespace pass { */ class OPENVINO_API VisualizeTree : public ModelPass { public: - OPENVINO_RTTI("ov::pass::VisualizeTree","0", ModelPass); + OPENVINO_RTTI("ov::pass::VisualizeTree", "0", ModelPass); using node_modifiers_t = std::function& attributes)>; VisualizeTree(const std::string& file_name, node_modifiers_t nm = nullptr, bool dot_only = false); diff --git a/src/core/src/pass/low_latency.cpp b/src/core/src/pass/low_latency.cpp index 721f9d5850c85b..ef761b452f18a8 100644 --- a/src/core/src/pass/low_latency.cpp +++ b/src/core/src/pass/low_latency.cpp @@ -258,8 +258,7 @@ bool ov::pass::LowLatency2::run_on_model(const std::shared_ptr& f) { generate_variable_name(sub_graph_op->get_friendly_name(), param_name, variable_id); const auto& input = sub_graph_op->input(merged_in->m_input_index); - if (ov::as_type_ptr(input.get_source_output().get_node_shared_ptr()) != - nullptr) { + if (ov::as_type_ptr(input.get_source_output().get_node_shared_ptr()) != nullptr) { OPENVINO_DEBUG(msg_low_latency_2_already_applied); return false; } diff --git a/src/core/src/pass/stateful_to_stateless.cpp b/src/core/src/pass/stateful_to_stateless.cpp index a8139a9fb37dfe..31e8e721d22857 100644 --- a/src/core/src/pass/stateful_to_stateless.cpp +++ b/src/core/src/pass/stateful_to_stateless.cpp @@ -97,8 +97,7 @@ bool ov::pass::StatefulToStateless::run_on_model(const std::shared_ptr& input : beam_idx->get_output_target_inputs(0)) { if (auto gather = std::dynamic_pointer_cast(input.get_node()->shared_from_this())) { - auto read_value = - ov::as_type_ptr(gather->get_input_node_shared_ptr(0)); + auto read_value = ov::as_type_ptr(gather->get_input_node_shared_ptr(0)); OPENVINO_ASSERT(read_value, "Unexpected model topology in StatefulToStateless: no ReadValue is found at the first " "input of Gather by `beam_idx` parameter"); diff --git a/src/core/src/type.cpp b/src/core/src/type.cpp index 7ad084417f57e6..19975697236610 100644 --- a/src/core/src/type.cpp +++ b/src/core/src/type.cpp @@ -5,7 +5,6 @@ #include "openvino/core/type.hpp" #include "openvino/util/common_util.hpp" -#include namespace std { size_t std::hash::operator()(const ov::DiscreteTypeInfo& k) const { return k.hash(); @@ -30,16 +29,6 @@ size_t DiscreteTypeInfo::hash() { } bool DiscreteTypeInfo::is_castable(const DiscreteTypeInfo& target_type) const { -#if 0 - std::cout << "is_castable " << std::endl; - std::cout << " this " << *this << std::endl; - std::cout << " target " << target_type << std::endl; - if(*this == target_type) { - std::cout << " this equals target" << std::endl; - } else { - std::cout << " this doesn't equals to target, comparing parent with target" << std::endl; - } -#endif return *this == target_type || (parent && parent->is_castable(target_type)); } From 474f83e4f8f205367261ce8b4720be746d1d4c84 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 11:41:32 +0100 Subject: [PATCH 03/16] Fix core unit test Signed-off-by: Tomasz Jankowski --- src/core/tests/graph_rewrite.cpp | 8 ++++---- src/core/tests/pass_config.cpp | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/core/tests/graph_rewrite.cpp b/src/core/tests/graph_rewrite.cpp index 3043e851aaf1d9..97cce64657644a 100644 --- a/src/core/tests/graph_rewrite.cpp +++ b/src/core/tests/graph_rewrite.cpp @@ -23,7 +23,7 @@ using namespace ov::pass; class TestPass : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TestPass"); + OPENVINO_RTTI("TestPass", "0", pass::MatcherPass); TestPass() : MatcherPass() { auto divide = std::make_shared(element::f32, Shape{}, @@ -44,7 +44,7 @@ class TestPass : public ov::pass::MatcherPass { class GatherNodesPass : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GatherNodesPass"); + OPENVINO_RTTI("GatherNodesPass", "0", pass::MatcherPass); GatherNodesPass(NodeVector& order) : MatcherPass() { ov::matcher_pass_callback callback = [&order](pattern::Matcher& m) { order.push_back(m.get_match_root()); @@ -58,7 +58,7 @@ class GatherNodesPass : public ov::pass::MatcherPass { class Anchor : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("Anchor"); + OPENVINO_RTTI("Anchor", "0", pass::GraphRewrite); Anchor() : GraphRewrite() {} }; @@ -388,7 +388,7 @@ TEST(PassConfigTest, Test1) { class CheckConsumers : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CheckConsumers"); + OPENVINO_RTTI("CheckConsumers", "0", pass::MatcherPass); CheckConsumers() { ov::matcher_pass_callback callback = [](pattern::Matcher& m) -> bool { auto node = m.get_match_root(); diff --git a/src/core/tests/pass_config.cpp b/src/core/tests/pass_config.cpp index 566534d4f46ce4..06bd66138de6de 100644 --- a/src/core/tests/pass_config.cpp +++ b/src/core/tests/pass_config.cpp @@ -19,7 +19,7 @@ using namespace ov::pass; class RenameReLU : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RanameReLU"); + OPENVINO_RTTI("RanameReLU", "0", pass::MatcherPass); RenameReLU() : MatcherPass() { auto relu = ov::pass::pattern::wrap_type(); ov::matcher_pass_callback callback = [](pattern::Matcher& m) { @@ -35,7 +35,7 @@ class RenameReLU : public ov::pass::MatcherPass { class RenameSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RenameSigmoid"); + OPENVINO_RTTI("RenameSigmoid", "0", pass::MatcherPass); RenameSigmoid() : MatcherPass() { auto sigmoid = pattern::wrap_type(); ov::matcher_pass_callback callback = [](pattern::Matcher& m) { @@ -51,7 +51,7 @@ class RenameSigmoid : public ov::pass::MatcherPass { class TestModelPass : public pass::ModelPass { public: - OPENVINO_RTTI("TestModelPass"); + OPENVINO_RTTI("TestModelPass", "0", pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override { pass::Manager manager(get_pass_config()); @@ -66,7 +66,7 @@ class TestModelPass : public pass::ModelPass { class TestGraphRewritePass : public pass::GraphRewrite { public: - OPENVINO_RTTI("TestGraphRewritePass"); + OPENVINO_RTTI("TestGraphRewritePass", "0", pass::GraphRewrite); TestGraphRewritePass() { add_matcher(); add_matcher(); @@ -259,7 +259,7 @@ TEST(PassConfig, EnableDisablePasses9) { class TestNestedMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TestNestedMatcher"); + OPENVINO_RTTI("TestNestedMatcher", "0", pass::MatcherPass); TestNestedMatcher() : MatcherPass() { auto any_op = pattern::any_input(); ov::matcher_pass_callback callback = [this](pattern::Matcher& m) { @@ -284,7 +284,7 @@ class TestNestedMatcher : public ov::pass::MatcherPass { class TestNestedGraphRewrite : public pass::GraphRewrite { public: - OPENVINO_RTTI("TestNestedGraphRewrite"); + OPENVINO_RTTI("TestNestedGraphRewrite", "0", pass::GraphRewrite); TestNestedGraphRewrite() { add_matcher(); } From 77a5c20462860e72fa294f38bfb3e225d40abe80 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 11:47:35 +0100 Subject: [PATCH 04/16] Fix transformations tests Signed-off-by: Tomasz Jankowski --- .../transformations/common_optimizations/glu_fusion.hpp | 2 +- .../common_optimizations/lora_subgraph_fusion.hpp | 2 +- .../fp16_compression/mark_floatpoint_range.hpp | 4 ++-- .../transformations/op_conversions/convert_slicescatter.hpp | 2 +- .../op_conversions/convert_squeeze15_downgrade.hpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp index 7ec71a05027d80..c5977f2b750810 100644 --- a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp @@ -13,7 +13,7 @@ namespace pass { class TRANSFORMATIONS_API GLUFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GLUFusion", "0"); + OPENVINO_RTTI("GLUFusion", "0", MatcherPass); GLUFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp index 8422ad95f262c6..5988af71dd317c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API LoraSubgraphFusion; class ov::pass::LoraSubgraphFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LoraSubgraphFusion", "0"); + OPENVINO_RTTI("LoraSubgraphFusion", "0", MatcherPass); LoraSubgraphFusion(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp index a61bd270c584ec..423dab8b5b5dc5 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkFloatingPointRange : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkFloatingPointRange", "0"); + OPENVINO_RTTI("MarkFloatingPointRange", "0", MatcherPass); MarkFloatingPointRange(); }; @@ -27,4 +27,4 @@ OPENVINO_API bool is_range_path(const std::shared_ptr& node); OPENVINO_API void erase_range_path(const std::shared_ptr& node); } // namespace pass -} // namespace ov \ No newline at end of file +} // namespace ov 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..2fdaeab412774b 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_RTTI("ConvertSliceScatter", "0", MatcherPass); ConvertSliceScatter(); }; 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..b466240fe8cc86 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_RTTI("ConvertSqueeze15ToSqueeze0", "0", MatcherPass); ConvertSqueeze15ToSqueeze0(); }; From e32b352e7edda4016d6ce13a9f82bdae343c8665 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 11:51:34 +0100 Subject: [PATCH 05/16] Fix ov_snippets_func_tests Signed-off-by: Tomasz Jankowski --- .../snippets/include/snippets/pass/align_element_types.hpp | 2 +- .../snippets/include/snippets/pass/canonicalization.hpp | 2 +- .../snippets/include/snippets/pass/collapse_subgraph.hpp | 2 +- .../snippets/include/snippets/pass/common_optimizations.hpp | 2 +- .../snippets/pass/explicit_transpose_matmul_inputs.hpp | 2 +- .../include/snippets/pass/extract_reshapes_from_mha.hpp | 2 +- .../snippets/include/snippets/pass/fuse_transpose_brgemm.hpp | 4 ++-- .../snippets/include/snippets/pass/gn_decomposition.hpp | 4 ++-- src/common/snippets/include/snippets/pass/gn_tokenization.hpp | 4 ++-- .../snippets/include/snippets/pass/matmul_to_brgemm.hpp | 2 +- .../snippets/include/snippets/pass/mha_tokenization.hpp | 2 +- .../snippets/include/snippets/pass/propagate_precision.hpp | 2 +- .../snippets/include/snippets/pass/softmax_decomposition.hpp | 2 +- src/common/snippets/include/snippets/pass/tokenization.hpp | 4 ++-- .../include/snippets/pass/transpose_decomposition.hpp | 2 +- 15 files changed, 19 insertions(+), 19 deletions(-) diff --git a/src/common/snippets/include/snippets/pass/align_element_types.hpp b/src/common/snippets/include/snippets/pass/align_element_types.hpp index 1d5a1fa9256c88..abc48890d5638a 100644 --- a/src/common/snippets/include/snippets/pass/align_element_types.hpp +++ b/src/common/snippets/include/snippets/pass/align_element_types.hpp @@ -19,7 +19,7 @@ namespace pass { */ class AlignElementTypes: public ov::pass::ModelPass { public: - OPENVINO_RTTI("AlignElementTypes"); + OPENVINO_RTTI("AlignElementTypes", "0", ov::pass::ModelPass); AlignElementTypes(std::vector input_precisions, std::vector output_precisions); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/snippets/include/snippets/pass/canonicalization.hpp b/src/common/snippets/include/snippets/pass/canonicalization.hpp index 5c7acaa781d2b8..f046289e443083 100644 --- a/src/common/snippets/include/snippets/pass/canonicalization.hpp +++ b/src/common/snippets/include/snippets/pass/canonicalization.hpp @@ -22,7 +22,7 @@ namespace pass { */ class Canonicalization: public ov::pass::ModelPass { public: - OPENVINO_RTTI("Canonicalization"); + OPENVINO_RTTI("Canonicalization", "0", ov::pass::ModelPass); using BlockedShapeVector = op::Subgraph::BlockedShapeVector; using Layout = std::vector; explicit Canonicalization(const BlockedShapeVector& blocked_input_shapes); diff --git a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp index 41236df12aa0ef..3bdb6a1a728e6d 100644 --- a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp +++ b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp @@ -35,7 +35,7 @@ namespace pass { */ class TokenizeSnippets: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeSnippets", "0"); + OPENVINO_RTTI("TokenizeSnippets", "0", ov::pass::MatcherPass); explicit TokenizeSnippets(const SnippetsTokenization::Config& config); static bool AppropriateForSubgraph(const std::shared_ptr&); diff --git a/src/common/snippets/include/snippets/pass/common_optimizations.hpp b/src/common/snippets/include/snippets/pass/common_optimizations.hpp index 1ff2d6293db649..951dd5a0834de4 100644 --- a/src/common/snippets/include/snippets/pass/common_optimizations.hpp +++ b/src/common/snippets/include/snippets/pass/common_optimizations.hpp @@ -19,7 +19,7 @@ class CommonOptimizations : public ov::pass::MatcherPass { friend class SplitDimensionM; public: - OPENVINO_RTTI("CommonOptimizations", "0"); + OPENVINO_RTTI("CommonOptimizations", "0", ov::pass::MatcherPass); CommonOptimizations(const SnippetsTokenization::Config& config); }; diff --git a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp index 5aeee244a76877..0334cb3b4b18b8 100644 --- a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp +++ b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp @@ -23,7 +23,7 @@ namespace pass { */ class ExplicitTransposeMatMulInputs: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ExplicitTransposeMatMulInputs", "0"); + OPENVINO_RTTI("ExplicitTransposeMatMulInputs", "0", ov::pass::MatcherPass); ExplicitTransposeMatMulInputs(); // Return `True` if all inputs (except 0-th input) have scalar shape. Otherwise returns `False` diff --git a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp index c4c23b6e247951..e53132d04419ac 100644 --- a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp +++ b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp @@ -31,7 +31,7 @@ namespace pass { */ class ExtractReshapesFromMHA: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ExtractReshapesFromMHA", "0"); + OPENVINO_RTTI("ExtractReshapesFromMHA", "0", ov::pass::MatcherPass); ExtractReshapesFromMHA(); }; diff --git a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp index d913df46caa890..a05008ca081ef7 100644 --- a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp +++ b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp @@ -23,7 +23,7 @@ namespace pass { */ class FuseTransposeBrgemm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseTransposeBrgemm", "0"); + OPENVINO_RTTI("FuseTransposeBrgemm", "0", ov::pass::MatcherPass); FuseTransposeBrgemm(); static bool is_supported_transpose(const Output& transpose_out); @@ -32,4 +32,4 @@ class FuseTransposeBrgemm: public ov::pass::MatcherPass { } // namespace pass } // namespace snippets -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp index 5c7b6478dec15f..e416e3b6b7e3ad 100644 --- a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp @@ -17,10 +17,10 @@ namespace pass { */ class GNDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GNDecomposition", "0"); + OPENVINO_RTTI("GNDecomposition", "0", ov::pass::MatcherPass); GNDecomposition(); }; } // namespace pass } // namespace snippets -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/snippets/include/snippets/pass/gn_tokenization.hpp b/src/common/snippets/include/snippets/pass/gn_tokenization.hpp index 220f05f0bbbc88..08ee090ba45c19 100644 --- a/src/common/snippets/include/snippets/pass/gn_tokenization.hpp +++ b/src/common/snippets/include/snippets/pass/gn_tokenization.hpp @@ -18,10 +18,10 @@ namespace pass { */ class TokenizeGNSnippets : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeGNSnippets", "0"); + OPENVINO_RTTI("TokenizeGNSnippets", "0", ov::pass::MatcherPass); TokenizeGNSnippets(); }; } // namespace pass } // namespace snippets -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp index 780b153b4f0487..90b23192fe61e5 100644 --- a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp +++ b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp @@ -19,7 +19,7 @@ namespace pass { */ class MatMulToBrgemm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MatMulToBrgemm", "0"); + OPENVINO_RTTI("MatMulToBrgemm", "0", ov::pass::MatcherPass); MatMulToBrgemm(); }; diff --git a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp index 78dad6ee8e6e19..5687a688999248 100644 --- a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp +++ b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp @@ -40,7 +40,7 @@ namespace pass { */ class TokenizeMHASnippets: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeMHASnippets", "0"); + OPENVINO_RTTI("TokenizeMHASnippets", "0", ov::pass::MatcherPass); TokenizeMHASnippets(const SnippetsTokenization::Config& config); static std::vector get_fusion_transpose_order(size_t rank); diff --git a/src/common/snippets/include/snippets/pass/propagate_precision.hpp b/src/common/snippets/include/snippets/pass/propagate_precision.hpp index 6f805cb1b68808..bbee9f3f20b85d 100644 --- a/src/common/snippets/include/snippets/pass/propagate_precision.hpp +++ b/src/common/snippets/include/snippets/pass/propagate_precision.hpp @@ -19,7 +19,7 @@ namespace pass { */ class PropagatePrecision: public ov::pass::ModelPass { public: - OPENVINO_RTTI("PropagatePrecision", "0"); + OPENVINO_RTTI("PropagatePrecision", "0", ov::pass::ModelPass); PropagatePrecision(const std::shared_ptr& target_machine); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp index 8e24c1532a72d3..50426e47a7a52e 100644 --- a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp @@ -17,7 +17,7 @@ namespace pass { */ class SoftmaxDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxDecomposition", "0"); + OPENVINO_RTTI("SoftmaxDecomposition", "0", ov::pass::MatcherPass); SoftmaxDecomposition(); }; diff --git a/src/common/snippets/include/snippets/pass/tokenization.hpp b/src/common/snippets/include/snippets/pass/tokenization.hpp index 24efcceec71a24..d92c12e302b096 100644 --- a/src/common/snippets/include/snippets/pass/tokenization.hpp +++ b/src/common/snippets/include/snippets/pass/tokenization.hpp @@ -37,7 +37,7 @@ int64_t GetTopologicalOrder(const std::shared_ptr&); */ class EnumerateNodes : public ov::pass::ModelPass { public: - OPENVINO_RTTI("EnumerateNodes", "0"); + OPENVINO_RTTI("EnumerateNodes", "0", ov::pass::ModelPass); EnumerateNodes() : ModelPass() {} bool run_on_model(const std::shared_ptr&) override; }; @@ -123,7 +123,7 @@ class SnippetsTokenization : public ov::pass::ModelPass { std::set m_mha_supported_transpose_ranks = { 3, 4 }; }; - OPENVINO_RTTI("SnippetsTokenization", "0"); + OPENVINO_RTTI("SnippetsTokenization", "0", ov::pass::ModelPass); SnippetsTokenization(const Config& config) : m_config(config) {} bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp index dbef9bc7b31c93..2bec6a6680e2be 100644 --- a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TransposeDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeDecomposition", "0"); + OPENVINO_RTTI("TransposeDecomposition", "0", ov::pass::MatcherPass); TransposeDecomposition(); static bool is_supported_transpose(const Output& transpose_out); From 375b0252fd7335301463beca49f2bde32fcc0173 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 12:00:37 +0100 Subject: [PATCH 06/16] Fix ov_lp_transformations_tests Signed-off-by: Tomasz Jankowski --- .../include/low_precision/add.hpp | 2 +- .../include/low_precision/align_quantization_intervals.hpp | 2 +- .../include/low_precision/align_quantization_parameters.hpp | 2 +- .../include/low_precision/assign_and_read_value.hpp | 2 +- .../include/low_precision/avg_pool.hpp | 2 +- .../include/low_precision/batch_to_space.hpp | 2 +- .../include/low_precision/broadcast.hpp | 2 +- .../include/low_precision/clamp.hpp | 2 +- .../include/low_precision/concat.hpp | 2 +- .../include/low_precision/convert.hpp | 2 +- .../include/low_precision/convert_subtract_constant.hpp | 2 +- .../include/low_precision/convolution.hpp | 2 +- .../include/low_precision/depth_to_space.hpp | 2 +- .../include/low_precision/eliminate_fake_quantize.hpp | 2 +- .../include/low_precision/fake_quantize.hpp | 2 +- .../include/low_precision/fake_quantize_decomposition.hpp | 2 +- .../include/low_precision/fold_convert.hpp | 2 +- .../include/low_precision/fold_fake_quantize.hpp | 2 +- .../include/low_precision/fuse_convert.hpp | 2 +- .../low_precision/fuse_multiply_to_fake_quantize.hpp | 2 +- .../low_precision/fuse_subtract_to_fake_quantize.hpp | 2 +- .../include/low_precision/gather.hpp | 2 +- .../include/low_precision/group_convolution.hpp | 2 +- .../include/low_precision/interpolate.hpp | 2 +- .../include/low_precision/low_precision.hpp | 6 +++--- .../low_precision/markup_avg_pool_precision_preserved.hpp | 2 +- .../include/low_precision/markup_bias.hpp | 4 ++-- .../include/low_precision/markup_can_be_quantized.hpp | 2 +- .../include/low_precision/markup_precisions.hpp | 2 +- .../low_precision/markup_quantization_granularity.hpp | 2 +- .../include/low_precision/mat_mul.hpp | 2 +- .../include/low_precision/max_pool.hpp | 2 +- .../include/low_precision/move_fake_quantize.hpp | 2 +- .../include/low_precision/multiply.hpp | 2 +- .../include/low_precision/multiply_partial.hpp | 2 +- .../include/low_precision/multiply_to_group_convolution.hpp | 2 +- .../include/low_precision/mvn.hpp | 2 +- .../include/low_precision/normalize_l2.hpp | 2 +- .../include/low_precision/pad.hpp | 2 +- .../include/low_precision/prelu.hpp | 2 +- .../include/low_precision/propagate_precisions.hpp | 2 +- .../low_precision/pull_reshape_through_dequantization.hpp | 2 +- .../low_precision/pull_transpose_through_dequantization.hpp | 2 +- .../include/low_precision/recurrent_cell.hpp | 2 +- .../include/low_precision/reduce_max.hpp | 2 +- .../include/low_precision/reduce_mean.hpp | 2 +- .../include/low_precision/reduce_min.hpp | 2 +- .../include/low_precision/reduce_sum.hpp | 2 +- .../include/low_precision/relu.hpp | 2 +- .../include/low_precision/reshape.hpp | 2 +- .../include/low_precision/shuffle_channels.hpp | 2 +- .../include/low_precision/slice.hpp | 2 +- .../include/low_precision/space_to_batch.hpp | 2 +- .../include/low_precision/split.hpp | 2 +- .../include/low_precision/squeeze.hpp | 2 +- .../include/low_precision/strided_slice.hpp | 2 +- .../include/low_precision/subtract.hpp | 2 +- .../include/low_precision/transpose.hpp | 2 +- .../include/low_precision/unsqueeze.hpp | 2 +- .../include/low_precision/variadic_split.hpp | 2 +- 60 files changed, 63 insertions(+), 63 deletions(-) diff --git a/src/common/low_precision_transformations/include/low_precision/add.hpp b/src/common/low_precision_transformations/include/low_precision/add.hpp index c71e2456a1cd94..ce90e1444a7a33 100644 --- a/src/common/low_precision_transformations/include/low_precision/add.hpp +++ b/src/common/low_precision_transformations/include/low_precision/add.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API AddTransformation : public EltwiseBaseTransformation { public: - OPENVINO_RTTI("AddTransformation", "0"); + OPENVINO_RTTI("AddTransformation", "0", EltwiseBaseTransformation); AddTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/align_quantization_intervals.hpp b/src/common/low_precision_transformations/include/low_precision/align_quantization_intervals.hpp index 2caf346bfc5da6..3e40f33593a8b3 100644 --- a/src/common/low_precision_transformations/include/low_precision/align_quantization_intervals.hpp +++ b/src/common/low_precision_transformations/include/low_precision/align_quantization_intervals.hpp @@ -30,7 +30,7 @@ class LP_TRANSFORMATIONS_API AlignQuantizationIntervals; */ class ov::pass::low_precision::AlignQuantizationIntervals : public ov::pass::ModelPass { public: - OPENVINO_RTTI("AlignQuantizationIntervals", "0"); + OPENVINO_RTTI("AlignQuantizationIntervals", "0", ov::pass::ModelPass); AlignQuantizationIntervals(const std::vector& defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support()); bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/common/low_precision_transformations/include/low_precision/align_quantization_parameters.hpp b/src/common/low_precision_transformations/include/low_precision/align_quantization_parameters.hpp index 89c9bf59747860..8e6cb4f1cc9915 100644 --- a/src/common/low_precision_transformations/include/low_precision/align_quantization_parameters.hpp +++ b/src/common/low_precision_transformations/include/low_precision/align_quantization_parameters.hpp @@ -31,7 +31,7 @@ class LP_TRANSFORMATIONS_API AlignQuantizationParameters; */ class ov::pass::low_precision::AlignQuantizationParameters : public ov::pass::ModelPass { public: - OPENVINO_RTTI("AlignQuantizationParameters", "0"); + OPENVINO_RTTI("AlignQuantizationParameters", "0", ov::pass::ModelPass); AlignQuantizationParameters(const std::vector defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support()); bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/common/low_precision_transformations/include/low_precision/assign_and_read_value.hpp b/src/common/low_precision_transformations/include/low_precision/assign_and_read_value.hpp index a5e299e472066c..c351b8bb859a45 100644 --- a/src/common/low_precision_transformations/include/low_precision/assign_and_read_value.hpp +++ b/src/common/low_precision_transformations/include/low_precision/assign_and_read_value.hpp @@ -13,7 +13,7 @@ namespace low_precision { class LP_TRANSFORMATIONS_API AssignAndReadValueTransformation : public LayerTransformation { public: - OPENVINO_RTTI("AssignAndReadValueTransformation", "0"); + OPENVINO_RTTI("AssignAndReadValueTransformation", "0", LayerTransformation); AssignAndReadValueTransformation(const std::shared_ptr model, const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/avg_pool.hpp b/src/common/low_precision_transformations/include/low_precision/avg_pool.hpp index 43138351cf9957..4806d94187c694 100644 --- a/src/common/low_precision_transformations/include/low_precision/avg_pool.hpp +++ b/src/common/low_precision_transformations/include/low_precision/avg_pool.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API AvgPoolTransformation : public LayerTransformation { public: - OPENVINO_RTTI("AvgPoolTransformation", "0"); + OPENVINO_RTTI("AvgPoolTransformation", "0", LayerTransformation); AvgPoolTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/batch_to_space.hpp b/src/common/low_precision_transformations/include/low_precision/batch_to_space.hpp index 0d198565dff23f..7859a29ec3a046 100644 --- a/src/common/low_precision_transformations/include/low_precision/batch_to_space.hpp +++ b/src/common/low_precision_transformations/include/low_precision/batch_to_space.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API BatchToSpaceTransformation : public LayerTransformation { public: - OPENVINO_RTTI("BatchToSpaceTransformation", "0"); + OPENVINO_RTTI("BatchToSpaceTransformation", "0", LayerTransformation); BatchToSpaceTransformation(const Params& params = Params()); bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/broadcast.hpp b/src/common/low_precision_transformations/include/low_precision/broadcast.hpp index 39ba4052535c29..05f7cadb88e888 100644 --- a/src/common/low_precision_transformations/include/low_precision/broadcast.hpp +++ b/src/common/low_precision_transformations/include/low_precision/broadcast.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API BroadcastTransformation : public TransparentBaseTransformation { public: - OPENVINO_RTTI("BroadcastTransformation", "0"); + OPENVINO_RTTI("BroadcastTransformation", "0", TransparentBaseTransformation); BroadcastTransformation(const Params& params = Params()); bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; }; diff --git a/src/common/low_precision_transformations/include/low_precision/clamp.hpp b/src/common/low_precision_transformations/include/low_precision/clamp.hpp index 0aa2ab3bd8259e..237b956238e809 100644 --- a/src/common/low_precision_transformations/include/low_precision/clamp.hpp +++ b/src/common/low_precision_transformations/include/low_precision/clamp.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ClampTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ClampTransformation", "0"); + OPENVINO_RTTI("ClampTransformation", "0", LayerTransformation); ClampTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/concat.hpp b/src/common/low_precision_transformations/include/low_precision/concat.hpp index c178cfe82ecd8a..9d5ef8fc84f1fe 100644 --- a/src/common/low_precision_transformations/include/low_precision/concat.hpp +++ b/src/common/low_precision_transformations/include/low_precision/concat.hpp @@ -29,7 +29,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ConcatTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ConcatTransformation", "0"); + OPENVINO_RTTI("ConcatTransformation", "0", LayerTransformation); ConcatTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/convert.hpp b/src/common/low_precision_transformations/include/low_precision/convert.hpp index 70fb76107f050d..930d7654be04bb 100644 --- a/src/common/low_precision_transformations/include/low_precision/convert.hpp +++ b/src/common/low_precision_transformations/include/low_precision/convert.hpp @@ -13,7 +13,7 @@ namespace low_precision { class LP_TRANSFORMATIONS_API ConvertTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ConvertTransformation", "0"); + OPENVINO_RTTI("ConvertTransformation", "0", LayerTransformation); ConvertTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp index d89384a8cd169f..605921f67c33e9 100644 --- a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp +++ b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp @@ -31,6 +31,6 @@ class LP_TRANSFORMATIONS_API ConvertSubtractConstant; */ class ov::pass::low_precision::ConvertSubtractConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtractConstant", "0"); + OPENVINO_RTTI("ConvertSubtractConstant", "0", ov::pass::MatcherPass); ConvertSubtractConstant(const std::vector& constantPrecisions = {}); }; diff --git a/src/common/low_precision_transformations/include/low_precision/convolution.hpp b/src/common/low_precision_transformations/include/low_precision/convolution.hpp index 0d687325692306..d91d3dd9747240 100644 --- a/src/common/low_precision_transformations/include/low_precision/convolution.hpp +++ b/src/common/low_precision_transformations/include/low_precision/convolution.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ConvolutionTransformation : public WeightableLayerTransformation { public: - OPENVINO_RTTI("ConvolutionTransformation", "0"); + OPENVINO_RTTI("ConvolutionTransformation", "0", WeightableLayerTransformation); ConvolutionTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isQuantized(const std::shared_ptr& layer, diff --git a/src/common/low_precision_transformations/include/low_precision/depth_to_space.hpp b/src/common/low_precision_transformations/include/low_precision/depth_to_space.hpp index 0b8c2f6a4f38e2..2e8515c49a01c6 100644 --- a/src/common/low_precision_transformations/include/low_precision/depth_to_space.hpp +++ b/src/common/low_precision_transformations/include/low_precision/depth_to_space.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API DepthToSpaceTransformation : public TransparentBaseTransformation { public: - OPENVINO_RTTI("DepthToSpaceTransformation", "0"); + OPENVINO_RTTI("DepthToSpaceTransformation", "0", TransparentBaseTransformation); DepthToSpaceTransformation(const Params& params = Params()); bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; }; diff --git a/src/common/low_precision_transformations/include/low_precision/eliminate_fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/eliminate_fake_quantize.hpp index 2ad435983364dc..bfaa0c3b3a2b1b 100644 --- a/src/common/low_precision_transformations/include/low_precision/eliminate_fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/eliminate_fake_quantize.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API EliminateFakeQuantizeTransformation : public CleanupTransformation { public: - OPENVINO_RTTI("EliminateFakeQuantizeTransformation", "0"); + OPENVINO_RTTI("EliminateFakeQuantizeTransformation", "0", CleanupTransformation); EliminateFakeQuantizeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/fake_quantize.hpp index 7d1fd56940f65d..554133df6cb205 100644 --- a/src/common/low_precision_transformations/include/low_precision/fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fake_quantize.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FakeQuantizeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("FakeQuantizeTransformation", "0"); + OPENVINO_RTTI("FakeQuantizeTransformation", "0", LayerTransformation); FakeQuantizeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/fake_quantize_decomposition.hpp b/src/common/low_precision_transformations/include/low_precision/fake_quantize_decomposition.hpp index bb898e37dd41c9..393e1bb28a2a49 100644 --- a/src/common/low_precision_transformations/include/low_precision/fake_quantize_decomposition.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fake_quantize_decomposition.hpp @@ -23,7 +23,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FakeQuantizeDecompositionTransformation : public LayerTransformation { public: - OPENVINO_RTTI("FakeQuantizeDecompositionTransformation", "0"); + OPENVINO_RTTI("FakeQuantizeDecompositionTransformation", "0", LayerTransformation); FakeQuantizeDecompositionTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/fold_convert.hpp b/src/common/low_precision_transformations/include/low_precision/fold_convert.hpp index f2eff4ec0bb9ad..e773f0c8d659c2 100644 --- a/src/common/low_precision_transformations/include/low_precision/fold_convert.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fold_convert.hpp @@ -23,7 +23,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FoldConvertTransformation : public CleanupTransformation { public: - OPENVINO_RTTI("FoldConvertTransformation", "0"); + OPENVINO_RTTI("FoldConvertTransformation", "0", CleanupTransformation); FoldConvertTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/fold_fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/fold_fake_quantize.hpp index 545c2eb430f1c5..75f0c1c80eeeee 100644 --- a/src/common/low_precision_transformations/include/low_precision/fold_fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fold_fake_quantize.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FoldFakeQuantizeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("FoldFakeQuantizeTransformation", "0"); + OPENVINO_RTTI("FoldFakeQuantizeTransformation", "0", LayerTransformation); FoldFakeQuantizeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/fuse_convert.hpp b/src/common/low_precision_transformations/include/low_precision/fuse_convert.hpp index bbcc934d305ca6..00c6659c50a45e 100644 --- a/src/common/low_precision_transformations/include/low_precision/fuse_convert.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fuse_convert.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FuseConvertTransformation : public CleanupTransformation { public: - OPENVINO_RTTI("FuseConvertTransformation", "0"); + OPENVINO_RTTI("FuseConvertTransformation", "0", CleanupTransformation); FuseConvertTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/fuse_multiply_to_fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/fuse_multiply_to_fake_quantize.hpp index 0bb4f874c16af2..173ec9a86b8e25 100644 --- a/src/common/low_precision_transformations/include/low_precision/fuse_multiply_to_fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fuse_multiply_to_fake_quantize.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FuseMultiplyToFakeQuantizeTransformation : public FuseElementwiseToFakeQuantizeTransformation { public: - OPENVINO_RTTI("FuseMultiplyToFakeQuantizeTransformation", "0"); + OPENVINO_RTTI("FuseMultiplyToFakeQuantizeTransformation", "0", FuseElementwiseToFakeQuantizeTransformation); FuseMultiplyToFakeQuantizeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/fuse_subtract_to_fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/fuse_subtract_to_fake_quantize.hpp index 74e5ce299f6296..72851801ae644f 100644 --- a/src/common/low_precision_transformations/include/low_precision/fuse_subtract_to_fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/fuse_subtract_to_fake_quantize.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API FuseSubtractToFakeQuantizeTransformation : public FuseElementwiseToFakeQuantizeTransformation { public: - OPENVINO_RTTI("FuseSubtractToFakeQuantizeTransformation", "0"); + OPENVINO_RTTI("FuseSubtractToFakeQuantizeTransformation", "0", FuseElementwiseToFakeQuantizeTransformation); FuseSubtractToFakeQuantizeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/gather.hpp b/src/common/low_precision_transformations/include/low_precision/gather.hpp index 16cf0fabd5427f..6aebd3fb094e0a 100644 --- a/src/common/low_precision_transformations/include/low_precision/gather.hpp +++ b/src/common/low_precision_transformations/include/low_precision/gather.hpp @@ -13,7 +13,7 @@ namespace low_precision { class LP_TRANSFORMATIONS_API GatherTransformation : public LayerTransformation { public: - OPENVINO_RTTI("GatherTransformation", "0"); + OPENVINO_RTTI("GatherTransformation", "0", LayerTransformation); GatherTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/group_convolution.hpp b/src/common/low_precision_transformations/include/low_precision/group_convolution.hpp index b51b7cb2a8ac84..b8a967e28bde7f 100644 --- a/src/common/low_precision_transformations/include/low_precision/group_convolution.hpp +++ b/src/common/low_precision_transformations/include/low_precision/group_convolution.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API GroupConvolutionTransformation : public ConvolutionTransformation { public: - OPENVINO_RTTI("GroupConvolutionTransformation", "0"); + OPENVINO_RTTI("GroupConvolutionTransformation", "0", ConvolutionTransformation); GroupConvolutionTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isQuantized(const std::shared_ptr& layer, diff --git a/src/common/low_precision_transformations/include/low_precision/interpolate.hpp b/src/common/low_precision_transformations/include/low_precision/interpolate.hpp index ad8b3268d05ea6..20bd5f5ba1af66 100644 --- a/src/common/low_precision_transformations/include/low_precision/interpolate.hpp +++ b/src/common/low_precision_transformations/include/low_precision/interpolate.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API InterpolateTransformation : public LayerTransformation { public: - OPENVINO_RTTI("InterpolateTransformation", "0"); + OPENVINO_RTTI("InterpolateTransformation", "0", LayerTransformation); InterpolateTransformation(const Params& params = Params()); bool transform(TransformationContext &context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/low_precision.hpp b/src/common/low_precision_transformations/include/low_precision/low_precision.hpp index d6bddd3643a4f6..8fe396850633ba 100644 --- a/src/common/low_precision_transformations/include/low_precision/low_precision.hpp +++ b/src/common/low_precision_transformations/include/low_precision/low_precision.hpp @@ -42,7 +42,7 @@ class LP_TRANSFORMATIONS_API LowPrecision; class ov::pass::low_precision::MarkupOptimizations : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MarkupOptimizations", "0"); + OPENVINO_RTTI("MarkupOptimizations", "0", ov::pass::ModelPass); MarkupOptimizations( const std::vector& precisionRestrictions, const std::vector& quantizationRestrictions, @@ -56,13 +56,13 @@ class ov::pass::low_precision::MarkupOptimizations : public ov::pass::ModelPass class ov::pass::low_precision::TypeRelaxedReplacer : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("TypeRelaxedReplacer", "0"); + OPENVINO_RTTI("TypeRelaxedReplacer", "0", ov::pass::GraphRewrite); TypeRelaxedReplacer(); }; class LP_TRANSFORMATIONS_API ov::pass::low_precision::LowPrecision : public ov::pass::ModelPass { public: - OPENVINO_RTTI("LowPrecision", "0"); + OPENVINO_RTTI("LowPrecision", "0", ov::pass::ModelPass); LowPrecision( const std::vector& precisionRestrictions = {}, const std::vector& quantizationRestrictions = {}, diff --git a/src/common/low_precision_transformations/include/low_precision/markup_avg_pool_precision_preserved.hpp b/src/common/low_precision_transformations/include/low_precision/markup_avg_pool_precision_preserved.hpp index da3605b4ee4ba5..1939c11aba9ee0 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_avg_pool_precision_preserved.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_avg_pool_precision_preserved.hpp @@ -29,7 +29,7 @@ class LP_TRANSFORMATIONS_API MarkupAvgPoolPrecisionPreserved; */ class ov::pass::low_precision::MarkupAvgPoolPrecisionPreserved : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MarkupAvgPoolPrecisionPreserved", "0"); + OPENVINO_RTTI("MarkupAvgPoolPrecisionPreserved", "0", ov::pass::ModelPass); MarkupAvgPoolPrecisionPreserved(const std::vector defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support()); bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp index a7f46f74dc0645..cf71ee66c5c328 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp @@ -23,10 +23,10 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MarkupBias : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkupBias", "0"); + OPENVINO_RTTI("MarkupBias", "0", ov::pass::MatcherPass); MarkupBias(); }; } // namespace low_precision } // namespace pass -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/low_precision_transformations/include/low_precision/markup_can_be_quantized.hpp b/src/common/low_precision_transformations/include/low_precision/markup_can_be_quantized.hpp index f886e69f2088c7..6954018f746501 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_can_be_quantized.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_can_be_quantized.hpp @@ -30,7 +30,7 @@ class LP_TRANSFORMATIONS_API MarkupCanBeQuantized; */ class ov::pass::low_precision::MarkupCanBeQuantized : public ov::pass::ModelPass { public: - OPENVINO_RTTI("MarkupCanBeQuantized", "0"); + OPENVINO_RTTI("MarkupCanBeQuantized", "0", ov::pass::ModelPass); MarkupCanBeQuantized(const std::vector defaultPrecisions = { ov::element::u8, ov::element::i8 }); bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/common/low_precision_transformations/include/low_precision/markup_precisions.hpp b/src/common/low_precision_transformations/include/low_precision/markup_precisions.hpp index 92ea93b2c3e5b1..c6a7c2ab15c7e0 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_precisions.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_precisions.hpp @@ -65,7 +65,7 @@ class ov::pass::low_precision::MarkupPrecisions : public ov::pass::ModelPass { std::unordered_map precisionsByVersion; }; - OPENVINO_RTTI("MarkupPrecisions", "0"); + OPENVINO_RTTI("MarkupPrecisions", "0", ov::pass::ModelPass); explicit MarkupPrecisions(const std::vector& restrictions = {}, const std::vector& defaultPrecisions = { ov::element::u8, ov::element::i8 }); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/markup_quantization_granularity.hpp b/src/common/low_precision_transformations/include/low_precision/markup_quantization_granularity.hpp index a61473cf263963..331e07ed595088 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_quantization_granularity.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_quantization_granularity.hpp @@ -45,7 +45,7 @@ class ov::pass::low_precision::MarkupQuantizationGranularity : public ov::pass:: std::unordered_map> portsByVersion; }; - OPENVINO_RTTI("MarkupPerTensorQuantization", "0"); + OPENVINO_RTTI("MarkupPerTensorQuantization", "0", ov::pass::ModelPass); explicit MarkupQuantizationGranularity(const std::vector& restrictions = {}); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/mat_mul.hpp b/src/common/low_precision_transformations/include/low_precision/mat_mul.hpp index bc0077a716f701..aef76d2b591e9a 100644 --- a/src/common/low_precision_transformations/include/low_precision/mat_mul.hpp +++ b/src/common/low_precision_transformations/include/low_precision/mat_mul.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MatMulTransformation : public LayerTransformation { public: - OPENVINO_RTTI("MatMulTransformation", "0"); + OPENVINO_RTTI("MatMulTransformation", "0", LayerTransformation); MatMulTransformation(const Params& params = Params()); bool transform(TransformationContext &context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/max_pool.hpp b/src/common/low_precision_transformations/include/low_precision/max_pool.hpp index 16b3fb659173e1..73b8b9b097a291 100644 --- a/src/common/low_precision_transformations/include/low_precision/max_pool.hpp +++ b/src/common/low_precision_transformations/include/low_precision/max_pool.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MaxPoolTransformation : public LayerTransformation { public: - OPENVINO_RTTI("MaxPoolTransformation", "0"); + OPENVINO_RTTI("MaxPoolTransformation", "0", LayerTransformation); MaxPoolTransformation(const Params& params = Params()); bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/move_fake_quantize.hpp b/src/common/low_precision_transformations/include/low_precision/move_fake_quantize.hpp index 169a4261a4aeaa..ba3740ecb417ec 100644 --- a/src/common/low_precision_transformations/include/low_precision/move_fake_quantize.hpp +++ b/src/common/low_precision_transformations/include/low_precision/move_fake_quantize.hpp @@ -14,7 +14,7 @@ namespace low_precision { class LP_TRANSFORMATIONS_API MoveFakeQuantize : public LayerTransformation { public: - OPENVINO_RTTI("MoveFakeQuantize", "0"); + OPENVINO_RTTI("MoveFakeQuantize", "0", LayerTransformation); MoveFakeQuantize(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/multiply.hpp b/src/common/low_precision_transformations/include/low_precision/multiply.hpp index 576cb7b23b6080..ef6f942448ca12 100644 --- a/src/common/low_precision_transformations/include/low_precision/multiply.hpp +++ b/src/common/low_precision_transformations/include/low_precision/multiply.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MultiplyTransformation : public WeightableLayerTransformation { public: - OPENVINO_RTTI("MultiplyTransformation", "0"); + OPENVINO_RTTI("MultiplyTransformation", "0", WeightableLayerTransformation); MultiplyTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/multiply_partial.hpp b/src/common/low_precision_transformations/include/low_precision/multiply_partial.hpp index f91f54cd1ad0df..0880d914d82b20 100644 --- a/src/common/low_precision_transformations/include/low_precision/multiply_partial.hpp +++ b/src/common/low_precision_transformations/include/low_precision/multiply_partial.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MultiplyPartialTransformation : public EltwiseBaseTransformation { public: - OPENVINO_RTTI("MultiplyPartialTransformation", "0"); + OPENVINO_RTTI("MultiplyPartialTransformation", "0", EltwiseBaseTransformation); MultiplyPartialTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/multiply_to_group_convolution.hpp b/src/common/low_precision_transformations/include/low_precision/multiply_to_group_convolution.hpp index b2091d44fdd8be..621813a373df58 100644 --- a/src/common/low_precision_transformations/include/low_precision/multiply_to_group_convolution.hpp +++ b/src/common/low_precision_transformations/include/low_precision/multiply_to_group_convolution.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MultiplyToGroupConvolutionTransformation : public CleanupTransformation { public: - OPENVINO_RTTI("MultiplyToGroupConvolutionTransformation", "0"); + OPENVINO_RTTI("MultiplyToGroupConvolutionTransformation", "0", CleanupTransformation); MultiplyToGroupConvolutionTransformation( const Params& params = Params(), const PrecisionsRestriction::PrecisionsByPorts& restrictions = {}); diff --git a/src/common/low_precision_transformations/include/low_precision/mvn.hpp b/src/common/low_precision_transformations/include/low_precision/mvn.hpp index f875e32d96e87a..3a3f087dba7c78 100644 --- a/src/common/low_precision_transformations/include/low_precision/mvn.hpp +++ b/src/common/low_precision_transformations/include/low_precision/mvn.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MVNTransformation : public LayerTransformation { public: - OPENVINO_RTTI("MVNTransformation", "0"); + OPENVINO_RTTI("MVNTransformation", "0", LayerTransformation); MVNTransformation(const Params& params = Params()); bool transform(TransformationContext &context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/normalize_l2.hpp b/src/common/low_precision_transformations/include/low_precision/normalize_l2.hpp index 5d31067bfbb5d9..1976a3f1e610bf 100644 --- a/src/common/low_precision_transformations/include/low_precision/normalize_l2.hpp +++ b/src/common/low_precision_transformations/include/low_precision/normalize_l2.hpp @@ -20,7 +20,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API NormalizeL2Transformation : public LayerTransformation { public: - OPENVINO_RTTI("NormalizeL2Transformation", "0"); + OPENVINO_RTTI("NormalizeL2Transformation", "0", LayerTransformation); NormalizeL2Transformation(const Params& params = Params()); bool transform(TransformationContext &context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/pad.hpp b/src/common/low_precision_transformations/include/low_precision/pad.hpp index 8eccf9f87e7c7e..f2aef2994f2484 100644 --- a/src/common/low_precision_transformations/include/low_precision/pad.hpp +++ b/src/common/low_precision_transformations/include/low_precision/pad.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API PadTransformation : public LayerTransformation { public: - OPENVINO_RTTI("PadTransformation", "0"); + OPENVINO_RTTI("PadTransformation", "0", LayerTransformation); PadTransformation(const Params& params = Params()); bool transform(TransformationContext& context, pattern::Matcher& m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/prelu.hpp b/src/common/low_precision_transformations/include/low_precision/prelu.hpp index 6a712b3e77306c..983aee4fcd4136 100644 --- a/src/common/low_precision_transformations/include/low_precision/prelu.hpp +++ b/src/common/low_precision_transformations/include/low_precision/prelu.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API PReluTransformation : public LayerTransformation { public: - OPENVINO_RTTI("PReluTransformation", "0"); + OPENVINO_RTTI("PReluTransformation", "0", LayerTransformation); PReluTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_precisions.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_precisions.hpp index c17fa2faded476..e9320849c8a86d 100644 --- a/src/common/low_precision_transformations/include/low_precision/propagate_precisions.hpp +++ b/src/common/low_precision_transformations/include/low_precision/propagate_precisions.hpp @@ -31,7 +31,7 @@ class LP_TRANSFORMATIONS_API PropagatePrecisions; */ class ov::pass::low_precision::PropagatePrecisions : public ov::pass::ModelPass { public: - OPENVINO_RTTI("PropagatePrecisions", "0"); + OPENVINO_RTTI("PropagatePrecisions", "0", ov::pass::ModelPass); PropagatePrecisions(const AttributeParameters& params = AttributeParameters()); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp index 75d0d3f6510048..e08ef95fdcec4a 100644 --- a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp +++ b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp @@ -30,6 +30,6 @@ class LP_TRANSFORMATIONS_API PullReshapeThroughDequantization; */ class ov::pass::low_precision::PullReshapeThroughDequantization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullReshapeThroughDequantization", "0"); + OPENVINO_RTTI("PullReshapeThroughDequantization", "0", ov::pass::MatcherPass); PullReshapeThroughDequantization(const std::vector& inputPrecisions = {}); }; diff --git a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp index 92e9eeebd2be52..5dd59d02fbcea7 100644 --- a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp +++ b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp @@ -30,6 +30,6 @@ class LP_TRANSFORMATIONS_API PullTransposeThroughDequantization; */ class ov::pass::low_precision::PullTransposeThroughDequantization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullTransposeThroughDequantization", "0"); + OPENVINO_RTTI("PullTransposeThroughDequantization", "0", ov::pass::MatcherPass); PullTransposeThroughDequantization(const std::vector& inputPrecisions = {}); }; diff --git a/src/common/low_precision_transformations/include/low_precision/recurrent_cell.hpp b/src/common/low_precision_transformations/include/low_precision/recurrent_cell.hpp index 22aaf3281c2b94..fc0401b08dd74e 100644 --- a/src/common/low_precision_transformations/include/low_precision/recurrent_cell.hpp +++ b/src/common/low_precision_transformations/include/low_precision/recurrent_cell.hpp @@ -14,7 +14,7 @@ namespace low_precision { class LP_TRANSFORMATIONS_API RecurrentCellTransformation : public LayerTransformation { public: - OPENVINO_RTTI("RecurrentCellTransformation", "0"); + OPENVINO_RTTI("RecurrentCellTransformation", "0", LayerTransformation); RecurrentCellTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr layer) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/reduce_max.hpp b/src/common/low_precision_transformations/include/low_precision/reduce_max.hpp index 813d5d7a4a6965..19721c4721f545 100644 --- a/src/common/low_precision_transformations/include/low_precision/reduce_max.hpp +++ b/src/common/low_precision_transformations/include/low_precision/reduce_max.hpp @@ -24,7 +24,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReduceMaxTransformation : public ReduceBaseTransformation { public: - OPENVINO_RTTI("ReduceMaxTransformation", "0"); + OPENVINO_RTTI("ReduceMaxTransformation", "0", ReduceBaseTransformation); ReduceMaxTransformation(const Params& params = Params()); bool isPrecisionPreserved(std::shared_ptr reduce) const noexcept override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr reduce) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/reduce_mean.hpp b/src/common/low_precision_transformations/include/low_precision/reduce_mean.hpp index 4bf3a98a628522..c295143d3fe7ee 100644 --- a/src/common/low_precision_transformations/include/low_precision/reduce_mean.hpp +++ b/src/common/low_precision_transformations/include/low_precision/reduce_mean.hpp @@ -24,7 +24,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReduceMeanTransformation : public ReduceBaseTransformation { public: - OPENVINO_RTTI("ReduceMeanTransformation", "0"); + OPENVINO_RTTI("ReduceMeanTransformation", "0", ReduceBaseTransformation); ReduceMeanTransformation(const Params& params = Params()); bool isPrecisionPreserved(std::shared_ptr reduce) const noexcept override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr reduce) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/reduce_min.hpp b/src/common/low_precision_transformations/include/low_precision/reduce_min.hpp index 0f82cfe52d7bc6..5da128c79c522e 100644 --- a/src/common/low_precision_transformations/include/low_precision/reduce_min.hpp +++ b/src/common/low_precision_transformations/include/low_precision/reduce_min.hpp @@ -24,7 +24,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReduceMinTransformation : public ReduceBaseTransformation { public: - OPENVINO_RTTI("ReduceMinTransformation", "0"); + OPENVINO_RTTI("ReduceMinTransformation", "0", ReduceBaseTransformation); ReduceMinTransformation(const Params& params = Params()); bool isPrecisionPreserved(std::shared_ptr reduce) const noexcept override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr reduce) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/reduce_sum.hpp b/src/common/low_precision_transformations/include/low_precision/reduce_sum.hpp index 2e6ab0505457cf..db296612aac04a 100644 --- a/src/common/low_precision_transformations/include/low_precision/reduce_sum.hpp +++ b/src/common/low_precision_transformations/include/low_precision/reduce_sum.hpp @@ -24,7 +24,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReduceSumTransformation : public ReduceBaseTransformation { public: - OPENVINO_RTTI("ReduceSumTransformation", "0"); + OPENVINO_RTTI("ReduceSumTransformation", "0", ReduceBaseTransformation); ReduceSumTransformation(const Params& params = Params()); bool isPrecisionPreserved(std::shared_ptr reduce) const noexcept override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr reduce) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/relu.hpp b/src/common/low_precision_transformations/include/low_precision/relu.hpp index 3c2a6dbb11422b..75d9141e80ac78 100644 --- a/src/common/low_precision_transformations/include/low_precision/relu.hpp +++ b/src/common/low_precision_transformations/include/low_precision/relu.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReluTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ReluTransformation", "0"); + OPENVINO_RTTI("ReluTransformation", "0", LayerTransformation); ReluTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/reshape.hpp b/src/common/low_precision_transformations/include/low_precision/reshape.hpp index b5885ccbbaa7de..072263f59a8a94 100644 --- a/src/common/low_precision_transformations/include/low_precision/reshape.hpp +++ b/src/common/low_precision_transformations/include/low_precision/reshape.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ReshapeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ReshapeTransformation", "0"); + OPENVINO_RTTI("ReshapeTransformation", "0", LayerTransformation); ReshapeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/shuffle_channels.hpp b/src/common/low_precision_transformations/include/low_precision/shuffle_channels.hpp index 7163269a5c0ad1..638a2580ade39f 100644 --- a/src/common/low_precision_transformations/include/low_precision/shuffle_channels.hpp +++ b/src/common/low_precision_transformations/include/low_precision/shuffle_channels.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API ShuffleChannelsTransformation : public LayerTransformation { public: - OPENVINO_RTTI("ShuffleChannelsTransformation", "0"); + OPENVINO_RTTI("ShuffleChannelsTransformation", "0", LayerTransformation); ShuffleChannelsTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/slice.hpp b/src/common/low_precision_transformations/include/low_precision/slice.hpp index 206a07d7bca9c7..c00028f0d71169 100644 --- a/src/common/low_precision_transformations/include/low_precision/slice.hpp +++ b/src/common/low_precision_transformations/include/low_precision/slice.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API SliceTransformation : public LayerTransformation { public: - OPENVINO_RTTI("SliceTransformation", "0"); + OPENVINO_RTTI("SliceTransformation", "0", LayerTransformation); SliceTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/space_to_batch.hpp b/src/common/low_precision_transformations/include/low_precision/space_to_batch.hpp index c381f9229c4455..e05353aaf24d1c 100644 --- a/src/common/low_precision_transformations/include/low_precision/space_to_batch.hpp +++ b/src/common/low_precision_transformations/include/low_precision/space_to_batch.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API SpaceToBatchTransformation : public LayerTransformation { public: - OPENVINO_RTTI("SpaceToBatchTransformation", "0"); + OPENVINO_RTTI("SpaceToBatchTransformation", "0", LayerTransformation); SpaceToBatchTransformation(const Params& params = Params()); bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; diff --git a/src/common/low_precision_transformations/include/low_precision/split.hpp b/src/common/low_precision_transformations/include/low_precision/split.hpp index 323ebcb3e3cabe..2e3db010801b03 100644 --- a/src/common/low_precision_transformations/include/low_precision/split.hpp +++ b/src/common/low_precision_transformations/include/low_precision/split.hpp @@ -23,7 +23,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API SplitTransformation : public LayerTransformation { public: - OPENVINO_RTTI("SplitTransformation", "0"); + OPENVINO_RTTI("SplitTransformation", "0", LayerTransformation); SplitTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/squeeze.hpp b/src/common/low_precision_transformations/include/low_precision/squeeze.hpp index c46111b95f7d4c..8709250ed85104 100644 --- a/src/common/low_precision_transformations/include/low_precision/squeeze.hpp +++ b/src/common/low_precision_transformations/include/low_precision/squeeze.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API SqueezeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("SqueezeTransformation", "0"); + OPENVINO_RTTI("SqueezeTransformation", "0", LayerTransformation); SqueezeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/strided_slice.hpp b/src/common/low_precision_transformations/include/low_precision/strided_slice.hpp index b00d520b465b1c..730531dd93f669 100644 --- a/src/common/low_precision_transformations/include/low_precision/strided_slice.hpp +++ b/src/common/low_precision_transformations/include/low_precision/strided_slice.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API StridedSliceTransformation : public LayerTransformation { public: - OPENVINO_RTTI("StridedSliceTransformation", "0"); + OPENVINO_RTTI("StridedSliceTransformation", "0", LayerTransformation); StridedSliceTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override; bool canBeTransformed(const TransformationContext& context, std::shared_ptr op) const override; diff --git a/src/common/low_precision_transformations/include/low_precision/subtract.hpp b/src/common/low_precision_transformations/include/low_precision/subtract.hpp index 07fdafcc4dd095..9bb9a3c94dfc95 100644 --- a/src/common/low_precision_transformations/include/low_precision/subtract.hpp +++ b/src/common/low_precision_transformations/include/low_precision/subtract.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API SubtractTransformation : public LayerTransformation { public: - OPENVINO_RTTI("SubtractTransformation", "0"); + OPENVINO_RTTI("SubtractTransformation", "0", LayerTransformation); SubtractTransformation(const Params& params); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; }; diff --git a/src/common/low_precision_transformations/include/low_precision/transpose.hpp b/src/common/low_precision_transformations/include/low_precision/transpose.hpp index 95a00cd5220f14..08e1dde9cbab8f 100644 --- a/src/common/low_precision_transformations/include/low_precision/transpose.hpp +++ b/src/common/low_precision_transformations/include/low_precision/transpose.hpp @@ -22,7 +22,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API TransposeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("TransposeTransformation", "0"); + OPENVINO_RTTI("TransposeTransformation", "0", LayerTransformation); TransposeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/unsqueeze.hpp b/src/common/low_precision_transformations/include/low_precision/unsqueeze.hpp index a210ade145088c..b9dff50ec2b894 100644 --- a/src/common/low_precision_transformations/include/low_precision/unsqueeze.hpp +++ b/src/common/low_precision_transformations/include/low_precision/unsqueeze.hpp @@ -21,7 +21,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API UnsqueezeTransformation : public LayerTransformation { public: - OPENVINO_RTTI("UnsqueezeTransformation", "0"); + OPENVINO_RTTI("UnsqueezeTransformation", "0", LayerTransformation); UnsqueezeTransformation(const Params& params = Params()); bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override; bool isPrecisionPreserved(std::shared_ptr layer) const noexcept override; diff --git a/src/common/low_precision_transformations/include/low_precision/variadic_split.hpp b/src/common/low_precision_transformations/include/low_precision/variadic_split.hpp index 3584866b5cc0ac..9c2c2d3eec25c9 100644 --- a/src/common/low_precision_transformations/include/low_precision/variadic_split.hpp +++ b/src/common/low_precision_transformations/include/low_precision/variadic_split.hpp @@ -23,7 +23,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API VariadicSplitTransformation : public SplitTransformation { public: - OPENVINO_RTTI("VariadicSplitTransformation", "0"); + OPENVINO_RTTI("VariadicSplitTransformation", "0", SplitTransformation); VariadicSplitTransformation(const Params& params = Params()); }; } // namespace low_precision From 440acde045c4e5ab47a1fb50cb42353e7f4c158c Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 9 Dec 2024 14:01:46 +0100 Subject: [PATCH 07/16] Update RTTI in cpu plugin transformations Signed-off-by: Tomasz Jankowski --- .../cpu_opset/arm/pass/convert_group_conv.hpp | 10 +++++----- .../arm/pass/convert_group_conv1d.hpp | 18 ++++++++--------- .../arm/pass/convert_reduce_multi_axis.hpp | 20 +++++++++---------- .../arm/pass/convert_reduce_no_keep_dims.hpp | 14 ++++++------- .../cpu_opset/arm/pass/mish_decomposition.hpp | 2 +- .../common/pass/align_matmul_input_ranks.hpp | 2 +- .../pass/causal_mask_preprocess_fusion.cpp | 2 +- .../pass/causal_mask_preprocess_fusion.hpp | 4 ++-- .../pass/convert_broadcast_to_tiles.hpp | 2 +- .../pass/convert_fq_rnn_to_quantized_rnn.hpp | 2 +- .../common/pass/convert_matmul_to_fc.hpp | 2 +- .../common/pass/convert_tile_to_seq_tiles.hpp | 2 +- .../common/pass/convert_to_leaky_relu.hpp | 2 +- .../common/pass/convert_to_power_static.hpp | 2 +- .../common/pass/convert_to_swish_cpu.hpp | 2 +- .../common/pass/decompose_integer_divide.hpp | 2 +- .../common/pass/decompose_rms_norm.hpp | 2 +- .../pass/insert_convert_after_extension.hpp | 2 +- .../pass/move_fc_reshape_to_weights.hpp | 2 +- .../cpu_opset/common/pass/ngram_fusion.hpp | 2 +- .../pass/permute_slice_n_interpolation.hpp | 2 +- .../pass/rnn_sequences_optimization.hpp | 8 ++++---- .../cpu_opset/common/pass/split_fc.hpp | 2 +- .../common/pass/stateful_sdpa_fusion.hpp | 2 +- .../x64/pass/convert_to_interaction.hpp | 6 +++--- .../cpu_opset/x64/pass/mha_fusion.hpp | 10 +++++----- .../cpu_opset/x64/pass/mlp_fusion.hpp | 4 ++-- .../cpu_opset/x64/pass/qkv_proj_fusion.hpp | 6 +++--- .../x64/pass/sdpa_fuse_transpose_reshape.hpp | 2 +- .../aarch64/pass/snippets_mark_skipped.hpp | 2 +- .../x64/pass/brgemm_to_brgemm_cpu.hpp | 2 +- .../x64/pass/eliminate_brgemm_copy_b.hpp | 4 ++-- .../snippets/x64/pass/enforce_precision.hpp | 2 +- .../snippets/x64/pass/remove_converts.hpp | 2 +- .../x64/pass/snippets_mark_skipped.hpp | 2 +- .../tpp/x64/pass/brgemm_to_brgemm_tpp.hpp | 2 +- .../tpp/x64/pass/eltwise_to_eltwise_tpp.hpp | 2 +- .../tpp/x64/pass/fuse_tpp_to_equations.hpp | 2 +- .../tpp/x64/pass/scalar_to_scalar_tpp.hpp | 2 +- 39 files changed, 80 insertions(+), 80 deletions(-) diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp index eadbf5ff9cd7e2..0488340cebc5c9 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp @@ -13,7 +13,7 @@ * equals to number of groups. * * Before: - * + * * +--------------+ +---------------+ * | Input tensor | | Kernel tensor | * +-----------+--+ +-+-------------+ @@ -25,9 +25,9 @@ * +------v------+ * | Result | * +-------------+ - * + * * After: - * + * * +--------------+ +--------------+ +---------------+ +--------------+ * | Input tensor | | Constant (1) | | Kernel tensor | | Constant (0) | * +-----------+--+ +-+------------+ +-----------+---+ +-+------------+ @@ -53,7 +53,7 @@ * +----------v------------+ * | Result | * +-----------------------+ - * + * */ namespace ov { @@ -61,7 +61,7 @@ namespace intel_cpu { class ConvertGroupConvolution: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGroupConvolution", "0"); + OPENVINO_RTTI("ConvertGroupConvolution", "0", ov::pass::MatcherPass); ConvertGroupConvolution(); }; } // namespace intel_cpu diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp index f1edd9d363df10..72f42579d4e0ac 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp @@ -9,11 +9,11 @@ * Description: * ConvertConv1DBase detects 1D Convolution / GroupConvolution and replaces * it with the sequence Unsqueeze - 2D Convolution / GroupConvolution - Squeeze. - * Unsqueeze adds the additional dimension to Convolution inputs and Squeeze + * Unsqueeze adds the additional dimension to Convolution inputs and Squeeze * removes the additional dimension from the Convolution output. * * Before: - * + * * +--------------+ +---------------+ * | Input tensor | | Kernel tensor | * +-----------+--+ +-+-------------+ @@ -25,9 +25,9 @@ * +------v------+ * | Result | * +-------------+ - * + * * After: - * + * * +--------------+ +--------------+ +---------------+ +--------------+ * | Input tensor | | Constant (1) | | Kernel tensor | | Constant (1) | * +-----------+--+ +-+------------+ +-----------+---+ +-+------------+ @@ -47,28 +47,28 @@ * +------v------+ * | Result | * +-------------+ - * + * */ namespace ov { namespace intel_cpu { class ConvertConv1DBase: public ov::pass::MatcherPass { protected: - OPENVINO_RTTI("ConvertConv1DBase", "0"); + OPENVINO_RTTI("ConvertConv1DBase", "0", ov::pass::MatcherPass); template ov::matcher_pass_callback convert_conv1d_to_conv2d(); }; class ConvertConv1D: public ConvertConv1DBase { public: - OPENVINO_RTTI("ConvertConv1D", "0"); + OPENVINO_RTTI("ConvertConv1D", "0", ConvertConv1DBase); ConvertConv1D(); }; class ConvertGroupConv1D: public ConvertConv1DBase { public: - OPENVINO_RTTI("ConvertGroupConv1D", "0"); + OPENVINO_RTTI("ConvertGroupConv1D", "0", ConvertConv1DBase); ConvertGroupConv1D(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp index 38a1f8a9c0c601..fc8618fce8ebeb 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp @@ -13,7 +13,7 @@ * is replaced with a sequence of single-axe Reduce operations. * * Before: - * + * * +--------------+ +-------------------+ * | Data | | Axes tensor [A,B] | * +-----------+--+ +-+-----------------+ @@ -25,9 +25,9 @@ * +------v------+ * | Result | * +-------------+ - * + * * After: - * + * * +-------------+ +---------------+ * | Data | | Axes scalar A | * +---------+---+ +----+----------+ @@ -43,7 +43,7 @@ * +-------v---------+ * | Result | * +-----------------+ - * + * */ namespace ov { @@ -51,38 +51,38 @@ namespace intel_cpu { class ConvertReduceMultiAxisBase: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceMultiAxisBase", "0"); + OPENVINO_RTTI("ConvertReduceMultiAxisBase", "0", ov::pass::MatcherPass); template ov::matcher_pass_callback convert_reduce(); }; class ConvertReduceProd: public ConvertReduceMultiAxisBase { public: - OPENVINO_RTTI("ConvertReduceProd", "0"); + OPENVINO_RTTI("ConvertReduceProd", "0", ConvertReduceMultiAxisBase); ConvertReduceProd(); }; class ConvertReduceMin: public ConvertReduceMultiAxisBase { public: - OPENVINO_RTTI("ConvertReduceMin", "0"); + OPENVINO_RTTI("ConvertReduceMin", "0", ConvertReduceMultiAxisBase); ConvertReduceMin(); }; class ConvertReduceMax: public ConvertReduceMultiAxisBase { public: - OPENVINO_RTTI("ConvertReduceMax", "0"); + OPENVINO_RTTI("ConvertReduceMax", "0", ConvertReduceMultiAxisBase); ConvertReduceMax(); }; class ConvertReduceSum: public ConvertReduceMultiAxisBase { public: - OPENVINO_RTTI("ConvertReduceSum", "0"); + OPENVINO_RTTI("ConvertReduceSum", "0", ConvertReduceMultiAxisBase); ConvertReduceSum(); }; class ConvertReduceMultiAxis: public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertReduceMultiAxis", "0"); + OPENVINO_RTTI("ConvertReduceMultiAxis", "0", ov::pass::GraphRewrite); ConvertReduceMultiAxis() { add_matcher(); add_matcher(); diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp index 2f3c7d19726513..8bd08ee1d692ad 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp @@ -15,7 +15,7 @@ * which removes undesired dimensions. * * Before: - * + * * +--------------+ +-----------------+ * | Data | | Axes tensor | * +-----------+--+ +-+---------------+ @@ -23,9 +23,9 @@ * +---------------------------+ * | Reduce (keepDims = false) | * +---------------------------+ - * + * * After: - * + * * +--------------+ +-----------------+ * | Data | | Axes tensor | * +-----------+--+ +-+------------+--+ @@ -37,7 +37,7 @@ * +--------v------v-+ * | Squeeze | * +-----------------+ - * + * */ namespace ov { @@ -45,7 +45,7 @@ namespace intel_cpu { class ConvertReduceNoKeepDimsBase: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceNoKeepDims", "0"); + OPENVINO_RTTI("ConvertReduceNoKeepDims", "0", ov::pass::MatcherPass); template ov::matcher_pass_callback convert_reduce(); }; @@ -53,14 +53,14 @@ class ConvertReduceNoKeepDimsBase: public ov::pass::MatcherPass { template class ConvertReduction: public ConvertReduceNoKeepDimsBase { public: - OPENVINO_RTTI("ConvertReduction", "0"); + OPENVINO_RTTI("ConvertReduction", "0", ConvertReduceNoKeepDimsBase); ConvertReduction(); }; class ConvertReduceNoKeepDims: public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("ConvertReduceNoKeepDims", "0"); + OPENVINO_RTTI("ConvertReduceNoKeepDims", "0", ov::pass::GraphRewrite); ConvertReduceNoKeepDims() { add_matcher>(); add_matcher>(); diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp index 0b93cea24053f5..afeee8d048529a 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class MishDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishDecomposition", "0"); + OPENVINO_RTTI("MishDecomposition", "0", ov::pass::MatcherPass); MishDecomposition(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp index 23a561de67f5e5..a614b7ae92481f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp @@ -19,7 +19,7 @@ namespace intel_cpu { class AlignMatMulInputRanks: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AlignMatMulInputRanks", "0"); + OPENVINO_RTTI("AlignMatMulInputRanks", "0", ov::pass::MatcherPass); AlignMatMulInputRanks(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp index 68e30e2f43a66a..86fb669ca0e165 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp @@ -24,7 +24,7 @@ using namespace ov::gen_pattern; class CausalMaskPreprocess : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CausalMaskPreprocess", "0"); + OPENVINO_RTTI("CausalMaskPreprocess", "0", ov::pass::MatcherPass); CausalMaskPreprocess(); private: diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.hpp index f9db370aea49bb..eaa44317ee0c47 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.hpp @@ -11,9 +11,9 @@ namespace intel_cpu { class CausalMaskPreprocessFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("CausalMaskPreprocessFusion", "0"); + OPENVINO_RTTI("CausalMaskPreprocessFusion", "0", ov::pass::GraphRewrite); CausalMaskPreprocessFusion(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp index ef6cd5ddffb6ea..3403866720d21f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertBroadcastToTiles: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBroadcastToTiles", "0"); + OPENVINO_RTTI("ConvertBroadcastToTiles", "0", ov::pass::MatcherPass); ConvertBroadcastToTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp index f3485609cd026d..a3241f57c435bd 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp @@ -76,7 +76,7 @@ namespace intel_cpu { class ConvertFqRnnToQuantizedRnn: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertFqRnnToQuantizedRnn", "0"); + OPENVINO_RTTI("ConvertFqRnnToQuantizedRnn", "0", ov::pass::MatcherPass); ConvertFqRnnToQuantizedRnn(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp index 69991802101138..c7ceaa297a56c3 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertMatMulToFC: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMatMulToFC", "0"); + OPENVINO_RTTI("ConvertMatMulToFC", "0", ov::pass::MatcherPass); ConvertMatMulToFC(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp index a22104c53267af..8e532f60db425d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertTileToSeqTiles: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTileToSeqTiles", "0"); + OPENVINO_RTTI("ConvertTileToSeqTiles", "0", ov::pass::MatcherPass); ConvertTileToSeqTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp index ba0ba4da6e4466..30c9eafd550c28 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToLeakyRelu: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToLeakyRelu", "0"); + OPENVINO_RTTI("ConvertToLeakyRelu", "0", ov::pass::MatcherPass); ConvertToLeakyRelu(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp index c1d60ae9be19f0..6685c1dfbe4e57 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToPowerStatic: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToPowerStatic", "0"); + OPENVINO_RTTI("ConvertToPowerStatic", "0", ov::pass::MatcherPass); ConvertToPowerStatic(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp index 9ecba3d03cf733..aa391d801bbd47 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToSwishCPU: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToSwishCPU", "0"); + OPENVINO_RTTI("ConvertToSwishCPU", "0", ov::pass::MatcherPass); ConvertToSwishCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp index f1d65445571ff1..634affa742257d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeIntegerDivide: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeIntegerDivide", "0"); + OPENVINO_RTTI("DecomposeIntegerDivide", "0", ov::pass::MatcherPass); DecomposeIntegerDivide(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp index 33ad0346dd6c27..441e7df90ed128 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeRMSNorm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeRMSNorm", "0"); + OPENVINO_RTTI("DecomposeRMSNorm", "0", ov::pass::MatcherPass); DecomposeRMSNorm(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp index 06048de3f79443..85a8a309fd734c 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp @@ -14,7 +14,7 @@ namespace pass { class InsertConvertAfterExtension: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InsertConvertAfterExtension", "0"); + OPENVINO_RTTI("InsertConvertAfterExtension", "0", ov::pass::MatcherPass); InsertConvertAfterExtension(bool convert_output_precision = true); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp index 08017b4b49cd8a..5a8a24e3c457b6 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp @@ -30,7 +30,7 @@ namespace intel_cpu { */ class MoveFCReshapeToWeights: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveFCReshapeToWeights", "0"); + OPENVINO_RTTI("MoveFCReshapeToWeights", "0", ov::pass::MatcherPass); MoveFCReshapeToWeights(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp index 44e21984981bbc..76d17e68308d72 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class NgramFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NgramFusion", "0"); + OPENVINO_RTTI("NgramFusion", "0", ov::pass::MatcherPass); NgramFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp index 3c7994ac765f59..38627569bdbe80 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp @@ -14,7 +14,7 @@ namespace intel_cpu { class PermuteSliceAndInterpolation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PermuteSliceAndInterpolation", "0"); + OPENVINO_RTTI("PermuteSliceAndInterpolation", "0", ov::pass::MatcherPass); PermuteSliceAndInterpolation(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp index d7a2ced08e1745..cd485976457bd3 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp @@ -11,25 +11,25 @@ namespace intel_cpu { class OptimizeGRUSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeGRUSequenceTransposes", "0"); + OPENVINO_RTTI("OptimizeGRUSequenceTransposes", "0", ov::pass::MatcherPass); OptimizeGRUSequenceTransposes(); }; class OptimizeLSTMSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeLSTMSequenceTransposes", "0"); + OPENVINO_RTTI("OptimizeLSTMSequenceTransposes", "0", ov::pass::MatcherPass); OptimizeLSTMSequenceTransposes(); }; class OptimizeRNNSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeRNNSequenceTransposes", "0"); + OPENVINO_RTTI("OptimizeRNNSequenceTransposes", "0", ov::pass::MatcherPass); OptimizeRNNSequenceTransposes(); }; class OptimizeSequenceTransposes : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("OptimizeSequenceTransposes", "0"); + OPENVINO_RTTI("OptimizeSequenceTransposes", "0", ov::pass::GraphRewrite); OptimizeSequenceTransposes(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/split_fc.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/split_fc.hpp index f8434770b278ef..56994512ff436f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/split_fc.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/split_fc.hpp @@ -73,7 +73,7 @@ namespace intel_cpu { class SplitFC: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitFC", "0"); + OPENVINO_RTTI("SplitFC", "0", ov::pass::MatcherPass); SplitFC(int sub_stream_num); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp index 2833f19a6bc138..02bb142e0e0597 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class StatefulSDPAFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StatefulSDPAFusion", "0"); + OPENVINO_RTTI("StatefulSDPAFusion", "0", ov::pass::MatcherPass); StatefulSDPAFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp index 79c9c1e1aa6e6e..26d5372610af95 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp @@ -11,19 +11,19 @@ namespace intel_cpu { class ConvertToInteraction: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToInteraction", "0"); + OPENVINO_RTTI("ConvertToInteraction", "0", ov::pass::MatcherPass); ConvertToInteraction(); }; class FuseFQtoInteraction: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseFQtoInteraction", "0"); + OPENVINO_RTTI("FuseFQtoInteraction", "0", ov::pass::MatcherPass); FuseFQtoInteraction(); }; class ConvertInteractionInt8: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertInteractionInt8", "0"); + OPENVINO_RTTI("ConvertInteractionInt8", "0", ov::pass::MatcherPass); ConvertInteractionInt8(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp index e28506afe0aa58..8a0a43706a5a86 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mha_fusion.hpp @@ -27,31 +27,31 @@ class MHAFusionBase : public ov::pass::MatcherPass { class MHAFloatFusion: public MHAFusionBase { public: - OPENVINO_RTTI("MHAFloatFusion", "0"); + OPENVINO_RTTI("MHAFloatFusion", "0", MHAFusionBase); MHAFloatFusion(); }; class MHAFloatFusion2: public MHAFusionBase { public: - OPENVINO_RTTI("MHAFloatFusion2", "0"); + OPENVINO_RTTI("MHAFloatFusion2", "0", MHAFusionBase); MHAFloatFusion2(); }; class MHAQuantFusion: public MHAFusionBase { public: - OPENVINO_RTTI("MHAQuantFusion", "0"); + OPENVINO_RTTI("MHAQuantFusion", "0", MHAFusionBase); MHAQuantFusion(); }; class MHAQuantFusion2: public MHAFusionBase { public: - OPENVINO_RTTI("MHAQuantFusion2", "0"); + OPENVINO_RTTI("MHAQuantFusion2", "0", MHAFusionBase); MHAQuantFusion2(); }; class MHAFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("MHAFusion", "0"); + OPENVINO_RTTI("MHAFusion", "0", ov::pass::GraphRewrite); MHAFusion() { add_matcher(); add_matcher(); diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp index aecb9292807e96..68adcd35322b6b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp @@ -11,9 +11,9 @@ namespace intel_cpu { class MLPFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MLPFusion", "0"); + OPENVINO_RTTI("MLPFusion", "0", ov::pass::MatcherPass); MLPFusion(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp index 4c398cb478a340..ebc822080e4a40 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp @@ -11,15 +11,15 @@ namespace intel_cpu { class QKVProjFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion", "0"); + OPENVINO_RTTI("QKVProjFusion", "0", ov::pass::MatcherPass); QKVProjFusion(); }; class QKVProjFusion2: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion2", "0"); + OPENVINO_RTTI("QKVProjFusion2", "0", ov::pass::MatcherPass); QKVProjFusion2(); }; } // namespace intel_cpu -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp index 74ba6ec6221d1e..14683a6213257d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class SDPAFuseTransposeReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SDPAFuseTransposeReshape", "0"); + OPENVINO_RTTI("SDPAFuseTransposeReshape", "0", ov::pass::MatcherPass); SDPAFuseTransposeReshape(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.hpp b/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.hpp index 7fdc7244d21de2..86c96a01cdfe26 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/aarch64/pass/snippets_mark_skipped.hpp @@ -16,7 +16,7 @@ namespace intel_cpu { */ class SnippetsMarkSkipped : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SnippetsMarkSkipped", "0"); + OPENVINO_RTTI("SnippetsMarkSkipped", "0", ov::pass::ModelPass); SnippetsMarkSkipped() : ModelPass() {} bool run_on_model(const std::shared_ptr &) override; }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp index aa61b7a8293ce2..eb0d7e101c8ed7 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp @@ -34,7 +34,7 @@ namespace pass { */ class BrgemmToBrgemmCPU: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmCPU", "0"); + OPENVINO_RTTI("BrgemmToBrgemmCPU", "0", ov::pass::MatcherPass); BrgemmToBrgemmCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp index 2cdeae53fab026..d807023e64bee2 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp @@ -14,12 +14,12 @@ namespace pass { * @interface EliminateBrgemmCopyB * @brief EliminateBrgemmCopyB identifies BrgemmCopyB nodes which can be inferred outside the Subgraph. * If this is possible, CopyB node is removed, and the external repacking is configured on the further pipeline stages in RuntimeConfigurator. - * + * * @ingroup snippets */ class EliminateBrgemmCopyB: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateBrgemmCopyB", "0"); + OPENVINO_RTTI("EliminateBrgemmCopyB", "0", ov::pass::MatcherPass); EliminateBrgemmCopyB(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/enforce_precision.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/enforce_precision.hpp index 3af14277f7936c..954c849e46a838 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/enforce_precision.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/enforce_precision.hpp @@ -15,7 +15,7 @@ namespace pass { class EnforcePrecision: public ov::pass::ModelPass { public: - OPENVINO_RTTI("EnforcePrecision", "0"); + OPENVINO_RTTI("EnforcePrecision", "0", ov::pass::ModelPass); EnforcePrecision( const element::Type source, diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp index 000321a8918ccd..fc7a1cbac8cd77 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp @@ -17,7 +17,7 @@ namespace pass { */ class RemoveConverts : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConverts", "0"); + OPENVINO_RTTI("RemoveConverts", "0", ov::pass::MatcherPass); RemoveConverts(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/snippets_mark_skipped.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/snippets_mark_skipped.hpp index 856e3e64736899..77741e7ccc54c9 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/snippets_mark_skipped.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/snippets_mark_skipped.hpp @@ -16,7 +16,7 @@ namespace intel_cpu { */ class SnippetsMarkSkipped : public ov::pass::ModelPass { public: - OPENVINO_RTTI("SnippetsMarkSkipped", "0"); + OPENVINO_RTTI("SnippetsMarkSkipped", "0", ov::pass::ModelPass); SnippetsMarkSkipped(bool enableBF16 = false) : ModelPass(), enableBF16(enableBF16) {} bool run_on_model(const std::shared_ptr &) override; private: diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp index 0fb26f6df1d6b2..9947422a8cae51 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class BrgemmToBrgemmTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmTPP", "0"); + OPENVINO_RTTI("BrgemmToBrgemmTPP", "0", ov::pass::MatcherPass); BrgemmToBrgemmTPP(); static bool is_supported_brgemm_configuration(const std::vector>& layouts, diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp index 189d048e86ffd7..2fd35b4dfb6a43 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class EltwiseToEltwiseTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EltwiseToEltwiseTPP", "0"); + OPENVINO_RTTI("EltwiseToEltwiseTPP", "0", ov::pass::MatcherPass); EltwiseToEltwiseTPP(); }; diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/fuse_tpp_to_equations.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/fuse_tpp_to_equations.hpp index 9a00f97d9c464d..8b62b75013a92d 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/fuse_tpp_to_equations.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/fuse_tpp_to_equations.hpp @@ -18,7 +18,7 @@ namespace pass { */ class FuseTPPToEquations: public ov::pass::ModelPass { public: - OPENVINO_RTTI("FuseTPPToEquations", "0"); + OPENVINO_RTTI("FuseTPPToEquations", "0", ov::pass::ModelPass); FuseTPPToEquations() = default; bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp index 8bbfcf80c751ac..f5ecad99db2e3d 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class ScalarToScalarTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ScalarToScalarTPP", "0"); + OPENVINO_RTTI("ScalarToScalarTPP", "0", ov::pass::MatcherPass); ScalarToScalarTPP(); }; From b94f2f458d9d69190f95659c618faed18a92d8dd Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Tue, 10 Dec 2024 21:54:32 +0100 Subject: [PATCH 08/16] Remove not needed changes plus minor fixes Signed-off-by: Tomasz Jankowski --- src/common/transformations/include/ov_ops/nms_ie_internal.hpp | 2 +- src/common/transformations/include/ov_ops/rms.hpp | 2 +- src/core/include/openvino/op/adaptive_avg_pool.hpp | 2 +- src/core/include/openvino/op/adaptive_max_pool.hpp | 2 +- src/core/include/openvino/op/batch_norm.hpp | 2 +- src/core/include/openvino/op/concat.hpp | 2 +- src/core/include/openvino/op/constant.hpp | 2 +- src/core/include/openvino/op/convert.hpp | 2 +- src/core/include/openvino/op/ctc_greedy_decoder.hpp | 2 +- src/core/include/openvino/op/cum_sum.hpp | 2 +- src/core/include/openvino/op/depth_to_space.hpp | 2 +- src/core/include/openvino/op/eye.hpp | 2 +- src/core/include/openvino/op/fake_convert.hpp | 2 +- src/core/include/openvino/op/fake_quantize.hpp | 2 +- src/core/include/openvino/op/generate_proposals.hpp | 2 +- src/core/include/openvino/op/grid_sample.hpp | 2 +- src/core/include/openvino/op/group_normalization.hpp | 2 +- src/core/include/openvino/op/hard_sigmoid.hpp | 2 +- src/core/include/openvino/op/interpolate.hpp | 2 +- src/core/include/openvino/op/inverse.hpp | 2 +- src/core/include/openvino/op/is_finite.hpp | 2 +- src/core/include/openvino/op/is_inf.hpp | 2 +- src/core/include/openvino/op/is_nan.hpp | 2 +- src/core/include/openvino/op/lrn.hpp | 2 +- src/core/include/openvino/op/matmul.hpp | 2 +- src/core/include/openvino/op/matrix_nms.hpp | 2 +- src/core/include/openvino/op/multinomial.hpp | 2 +- src/core/include/openvino/op/mvn.hpp | 2 +- src/core/include/openvino/op/normalize_l2.hpp | 2 +- src/core/include/openvino/op/parameter.hpp | 2 +- src/core/include/openvino/op/prelu.hpp | 2 +- src/core/include/openvino/op/prior_box.hpp | 4 ++-- src/core/include/openvino/op/prior_box_clustered.hpp | 2 +- src/core/include/openvino/op/proposal.hpp | 2 +- src/core/include/openvino/op/psroi_pooling.hpp | 2 +- src/core/include/openvino/op/random_uniform.hpp | 2 +- src/core/include/openvino/op/range.hpp | 2 +- src/core/include/openvino/op/region_yolo.hpp | 2 +- src/core/include/openvino/op/reorg_yolo.hpp | 2 +- src/core/include/openvino/op/result.hpp | 2 +- src/core/include/openvino/op/reverse_sequence.hpp | 2 +- src/core/include/openvino/op/roi_pooling.hpp | 2 +- src/core/include/openvino/op/selu.hpp | 2 +- src/core/include/openvino/op/shuffle_channels.hpp | 2 +- src/core/include/openvino/op/slice.hpp | 2 +- src/core/include/openvino/op/slice_scatter.hpp | 2 +- src/core/include/openvino/op/softmax.hpp | 2 +- src/core/include/openvino/op/space_to_depth.hpp | 2 +- src/core/include/openvino/op/squeeze.hpp | 4 ++-- src/core/include/openvino/op/tile.hpp | 2 +- src/core/include/openvino/op/unique.hpp | 2 +- src/core/include/openvino/op/unsqueeze.hpp | 2 +- src/core/include/openvino/op/util/avg_pool_base.hpp | 2 +- src/core/include/openvino/op/util/convert_color_nv12_base.hpp | 2 +- src/core/include/openvino/op/util/convolution_base.hpp | 2 +- .../include/openvino/op/util/embeddingbag_offsets_base.hpp | 2 +- .../include/openvino/op/util/embeddingbag_packed_base.hpp | 2 +- src/core/include/openvino/op/util/fft_base.hpp | 2 +- src/core/include/openvino/op/util/gather_base.hpp | 2 +- src/core/include/openvino/op/util/gather_nd_base.hpp | 2 +- src/core/include/openvino/op/util/interpolate_base.hpp | 2 +- src/core/include/openvino/op/util/max_pool_base.hpp | 2 +- src/core/include/openvino/op/util/multiclass_nms_base.hpp | 2 +- src/core/include/openvino/op/util/pad_base.hpp | 2 +- src/core/include/openvino/op/util/read_value_base.hpp | 2 +- src/core/include/openvino/op/util/rnn_cell_base.hpp | 2 +- src/core/include/openvino/op/util/roi_align_base.hpp | 2 +- src/core/include/openvino/op/util/scatter_base.hpp | 2 +- .../include/openvino/op/util/scatter_elements_update_base.hpp | 2 +- src/core/include/openvino/op/util/scatter_nd_base.hpp | 2 +- src/core/include/openvino/op/util/shape_of_base.hpp | 2 +- src/core/include/openvino/pass/pattern/op/pattern.hpp | 2 +- src/core/tests/opset.cpp | 2 +- .../intel_gpu/include/intel_gpu/op/fully_connected.hpp | 2 +- src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp | 2 +- src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp | 2 +- src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp | 2 +- 77 files changed, 79 insertions(+), 79 deletions(-) diff --git a/src/common/transformations/include/ov_ops/nms_ie_internal.hpp b/src/common/transformations/include/ov_ops/nms_ie_internal.hpp index 9764845a55ff21..2ca134ce0d8278 100644 --- a/src/common/transformations/include/ov_ops/nms_ie_internal.hpp +++ b/src/common/transformations/include/ov_ops/nms_ie_internal.hpp @@ -17,7 +17,7 @@ namespace internal { class TRANSFORMATIONS_API NonMaxSuppressionIEInternal : public Op { public: - OPENVINO_OP("NonMaxSuppressionIEInternal", "ie_internal_opset", Op); + OPENVINO_OP("NonMaxSuppressionIEInternal", "ie_internal_opset"); NonMaxSuppressionIEInternal() = default; diff --git a/src/common/transformations/include/ov_ops/rms.hpp b/src/common/transformations/include/ov_ops/rms.hpp index 9c2732954b9a12..3cebf4caaf8daf 100644 --- a/src/common/transformations/include/ov_ops/rms.hpp +++ b/src/common/transformations/include/ov_ops/rms.hpp @@ -15,7 +15,7 @@ namespace internal { /// \note Performs re-scaling invariance and regularizes the summed input according to RMS statistics class TRANSFORMATIONS_API RMS : public ov::op::Op { public: - OPENVINO_OP("RMS", "ie_internal_opset", ov::op::Op); + OPENVINO_OP("RMS", "ie_internal_opset"); RMS() = default; /// \brief Constructs an RMS operation. diff --git a/src/core/include/openvino/op/adaptive_avg_pool.hpp b/src/core/include/openvino/op/adaptive_avg_pool.hpp index 2507375ba05ff4..5d50d5ecd49f22 100644 --- a/src/core/include/openvino/op/adaptive_avg_pool.hpp +++ b/src/core/include/openvino/op/adaptive_avg_pool.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API AdaptiveAvgPool : public Op { public: - OPENVINO_OP("AdaptiveAvgPool", "opset8", Op); + OPENVINO_OP("AdaptiveAvgPool", "opset8"); AdaptiveAvgPool() = default; diff --git a/src/core/include/openvino/op/adaptive_max_pool.hpp b/src/core/include/openvino/op/adaptive_max_pool.hpp index 37b5be3c8bd4fe..727db6ba460ab4 100644 --- a/src/core/include/openvino/op/adaptive_max_pool.hpp +++ b/src/core/include/openvino/op/adaptive_max_pool.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API AdaptiveMaxPool : public Op { public: - OPENVINO_OP("AdaptiveMaxPool", "opset8", Op); + OPENVINO_OP("AdaptiveMaxPool", "opset8"); AdaptiveMaxPool() = default; diff --git a/src/core/include/openvino/op/batch_norm.hpp b/src/core/include/openvino/op/batch_norm.hpp index acdd63c0d50d84..eb539d298d7b8e 100644 --- a/src/core/include/openvino/op/batch_norm.hpp +++ b/src/core/include/openvino/op/batch_norm.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API BatchNormInference : public Op { public: - OPENVINO_OP("BatchNormInference", "opset1", Op); + OPENVINO_OP("BatchNormInference", "opset1"); BatchNormInference() = default; /// \param input [., C, ...] /// \param gamma gamma scaling for normalized value. [C] diff --git a/src/core/include/openvino/op/concat.hpp b/src/core/include/openvino/op/concat.hpp index 21068c75034380..d32171c9facbc1 100644 --- a/src/core/include/openvino/op/concat.hpp +++ b/src/core/include/openvino/op/concat.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Concat : public Op { public: - OPENVINO_OP("Concat", "opset1", Op); + OPENVINO_OP("Concat", "opset1"); /// \brief Constructs a concatenation operation. Concat() = default; diff --git a/src/core/include/openvino/op/constant.hpp b/src/core/include/openvino/op/constant.hpp index 4026af4872bb40..ccaae01586d612 100644 --- a/src/core/include/openvino/op/constant.hpp +++ b/src/core/include/openvino/op/constant.hpp @@ -31,7 +31,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Constant : public Op { public: - OPENVINO_OP("Constant", "opset1", Op); + OPENVINO_OP("Constant", "opset1"); Constant() = default; diff --git a/src/core/include/openvino/op/convert.hpp b/src/core/include/openvino/op/convert.hpp index 548d9796b09cfd..c82c2a84c71011 100644 --- a/src/core/include/openvino/op/convert.hpp +++ b/src/core/include/openvino/op/convert.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Convert : public Op { public: - OPENVINO_OP("Convert", "opset1", Op); + OPENVINO_OP("Convert", "opset1"); /// \brief Constructs a conversion operation. Convert() = default; diff --git a/src/core/include/openvino/op/ctc_greedy_decoder.hpp b/src/core/include/openvino/op/ctc_greedy_decoder.hpp index 958afe688aa418..224c12bfb10b9f 100644 --- a/src/core/include/openvino/op/ctc_greedy_decoder.hpp +++ b/src/core/include/openvino/op/ctc_greedy_decoder.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API CTCGreedyDecoder : public Op { public: - OPENVINO_OP("CTCGreedyDecoder", "opset1", Op); + OPENVINO_OP("CTCGreedyDecoder", "opset1"); CTCGreedyDecoder() = default; /// \brief Constructs a CTCGreedyDecoder operation diff --git a/src/core/include/openvino/op/cum_sum.hpp b/src/core/include/openvino/op/cum_sum.hpp index f06a6de5fafa89..38656f0d228b1e 100644 --- a/src/core/include/openvino/op/cum_sum.hpp +++ b/src/core/include/openvino/op/cum_sum.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API CumSum : public Op { public: - OPENVINO_OP("CumSum", "opset3", Op); + OPENVINO_OP("CumSum", "opset3"); /// \brief Constructs a cumulative summation operation. CumSum() = default; diff --git a/src/core/include/openvino/op/depth_to_space.hpp b/src/core/include/openvino/op/depth_to_space.hpp index 660d609f3093e0..33cff25f773584 100644 --- a/src/core/include/openvino/op/depth_to_space.hpp +++ b/src/core/include/openvino/op/depth_to_space.hpp @@ -21,7 +21,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API DepthToSpace : public Op { public: - OPENVINO_OP("DepthToSpace", "opset1", Op); + OPENVINO_OP("DepthToSpace", "opset1"); enum class DepthToSpaceMode { // The input depth is divided to [block_size, ..., block_size, new_depth] diff --git a/src/core/include/openvino/op/eye.hpp b/src/core/include/openvino/op/eye.hpp index d2325446d261c5..52b6c699e281ce 100644 --- a/src/core/include/openvino/op/eye.hpp +++ b/src/core/include/openvino/op/eye.hpp @@ -13,7 +13,7 @@ namespace v9 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Eye : public Op { public: - OPENVINO_OP("Eye", "opset9", Op); + OPENVINO_OP("Eye", "opset9"); Eye() = default; diff --git a/src/core/include/openvino/op/fake_convert.hpp b/src/core/include/openvino/op/fake_convert.hpp index 39a5803ce75538..c3eaa43b98a51b 100644 --- a/src/core/include/openvino/op/fake_convert.hpp +++ b/src/core/include/openvino/op/fake_convert.hpp @@ -17,7 +17,7 @@ namespace v13 { /// \ingroup ov_ops_cpp_api class OPENVINO_API FakeConvert : public Op { public: - OPENVINO_OP("FakeConvert", "opset13", Op); + OPENVINO_OP("FakeConvert", "opset13"); FakeConvert() = default; diff --git a/src/core/include/openvino/op/fake_quantize.hpp b/src/core/include/openvino/op/fake_quantize.hpp index 8b204847fba17c..52caca885a02cc 100644 --- a/src/core/include/openvino/op/fake_quantize.hpp +++ b/src/core/include/openvino/op/fake_quantize.hpp @@ -26,7 +26,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API FakeQuantize : public Op { public: - OPENVINO_OP("FakeQuantize", "opset1", Op); + OPENVINO_OP("FakeQuantize", "opset1"); FakeQuantize(); /// diff --git a/src/core/include/openvino/op/generate_proposals.hpp b/src/core/include/openvino/op/generate_proposals.hpp index 759a80f4987af3..b5944429fd39b1 100644 --- a/src/core/include/openvino/op/generate_proposals.hpp +++ b/src/core/include/openvino/op/generate_proposals.hpp @@ -14,7 +14,7 @@ namespace v9 { /// computes ROIs and their scores based on input data. class OPENVINO_API GenerateProposals : public Op { public: - OPENVINO_OP("GenerateProposals", "opset9", Op); + OPENVINO_OP("GenerateProposals", "opset9"); /// \brief Structure that specifies attributes of the operation struct Attributes { diff --git a/src/core/include/openvino/op/grid_sample.hpp b/src/core/include/openvino/op/grid_sample.hpp index 19d40bb387235e..c0bf94109e8e12 100644 --- a/src/core/include/openvino/op/grid_sample.hpp +++ b/src/core/include/openvino/op/grid_sample.hpp @@ -16,7 +16,7 @@ namespace v9 { /// \ingroup ov_ops_cpp_api class OPENVINO_API GridSample : public Op { public: - OPENVINO_OP("GridSample", "opset9", Op); + OPENVINO_OP("GridSample", "opset9"); enum class InterpolationMode { BILINEAR, BICUBIC, NEAREST }; enum class PaddingMode { ZEROS, BORDER, REFLECTION }; diff --git a/src/core/include/openvino/op/group_normalization.hpp b/src/core/include/openvino/op/group_normalization.hpp index 59f3a3ae07d7a4..f766b0f99243a2 100644 --- a/src/core/include/openvino/op/group_normalization.hpp +++ b/src/core/include/openvino/op/group_normalization.hpp @@ -14,7 +14,7 @@ namespace v12 { /// \ingroup ov_ops_cpp_api class OPENVINO_API GroupNormalization : public Op { public: - OPENVINO_OP("GroupNormalization", "opset12", Op); + OPENVINO_OP("GroupNormalization", "opset12"); GroupNormalization(); /// \param data The input tensor to be normalized /// \param scale The tensor containing scale values for each channel diff --git a/src/core/include/openvino/op/hard_sigmoid.hpp b/src/core/include/openvino/op/hard_sigmoid.hpp index f6df09377c7c86..27efcd58cc822d 100644 --- a/src/core/include/openvino/op/hard_sigmoid.hpp +++ b/src/core/include/openvino/op/hard_sigmoid.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API HardSigmoid : public Op { public: - OPENVINO_OP("HardSigmoid", "opset1", Op); + OPENVINO_OP("HardSigmoid", "opset1"); HardSigmoid(); diff --git a/src/core/include/openvino/op/interpolate.hpp b/src/core/include/openvino/op/interpolate.hpp index 606b4af4e20345..0776cccd476d62 100644 --- a/src/core/include/openvino/op/interpolate.hpp +++ b/src/core/include/openvino/op/interpolate.hpp @@ -21,7 +21,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Interpolate : public Op { public: - OPENVINO_OP("Interpolate", "opset1", Op); + OPENVINO_OP("Interpolate", "opset1"); /// \brief Structure that specifies attributes for interpolation struct Attributes { // specify dimension indices where interpolation is applied, and `axes` is any diff --git a/src/core/include/openvino/op/inverse.hpp b/src/core/include/openvino/op/inverse.hpp index 1e21bd57985254..66c5520c7826f1 100644 --- a/src/core/include/openvino/op/inverse.hpp +++ b/src/core/include/openvino/op/inverse.hpp @@ -14,7 +14,7 @@ namespace v14 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Inverse : public Op { public: - OPENVINO_OP("Inverse", "opset14", Op); + OPENVINO_OP("Inverse", "opset14"); Inverse() = default; /** * @brief Inverse operation computes the inverse of the input matrices. The inverse is computed for each MxM matrix diff --git a/src/core/include/openvino/op/is_finite.hpp b/src/core/include/openvino/op/is_finite.hpp index 27257bce601fc5..73f49a851a2694 100644 --- a/src/core/include/openvino/op/is_finite.hpp +++ b/src/core/include/openvino/op/is_finite.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsFinite : public Op { public: - OPENVINO_OP("IsFinite", "opset10", Op); + OPENVINO_OP("IsFinite", "opset10"); IsFinite() = default; /// \brief Constructs a IsFinite operation. /// diff --git a/src/core/include/openvino/op/is_inf.hpp b/src/core/include/openvino/op/is_inf.hpp index 0b9659bf6d58bb..9ce3c75698efea 100644 --- a/src/core/include/openvino/op/is_inf.hpp +++ b/src/core/include/openvino/op/is_inf.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsInf : public Op { public: - OPENVINO_OP("IsInf", "opset10", Op); + OPENVINO_OP("IsInf", "opset10"); /// \brief A Structure which contains all IsInf attributes struct Attributes { // A flag which specifies whether to map negative infinities to true. diff --git a/src/core/include/openvino/op/is_nan.hpp b/src/core/include/openvino/op/is_nan.hpp index cf2a6bf70add29..0df2b1a021dcda 100644 --- a/src/core/include/openvino/op/is_nan.hpp +++ b/src/core/include/openvino/op/is_nan.hpp @@ -13,7 +13,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API IsNaN : public Op { public: - OPENVINO_OP("IsNaN", "opset10", Op); + OPENVINO_OP("IsNaN", "opset10"); IsNaN() = default; /// \brief Constructs a IsNaN operation. /// diff --git a/src/core/include/openvino/op/lrn.hpp b/src/core/include/openvino/op/lrn.hpp index 0c802f1ea55c13..edadf7e050ca9d 100644 --- a/src/core/include/openvino/op/lrn.hpp +++ b/src/core/include/openvino/op/lrn.hpp @@ -27,7 +27,7 @@ namespace v0 { // clang-format on class OPENVINO_API LRN : public Op { public: - OPENVINO_OP("LRN", "opset1", Op); + OPENVINO_OP("LRN", "opset1"); /// \brief Constructs a LRN operation. LRN() = default; diff --git a/src/core/include/openvino/op/matmul.hpp b/src/core/include/openvino/op/matmul.hpp index f2d2e356827fc5..69b7e21cfceb8c 100644 --- a/src/core/include/openvino/op/matmul.hpp +++ b/src/core/include/openvino/op/matmul.hpp @@ -13,7 +13,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MatMul : public Op { public: - OPENVINO_OP("MatMul", "opset1", Op); + OPENVINO_OP("MatMul", "opset1"); MatMul() = default; /// \brief Constructs an Matrix Multiplication operation. /// diff --git a/src/core/include/openvino/op/matrix_nms.hpp b/src/core/include/openvino/op/matrix_nms.hpp index 30603025ea3f9d..e7e9ec59441bbe 100644 --- a/src/core/include/openvino/op/matrix_nms.hpp +++ b/src/core/include/openvino/op/matrix_nms.hpp @@ -14,7 +14,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MatrixNms : public Op { public: - OPENVINO_OP("MatrixNms", "opset8", Op); + OPENVINO_OP("MatrixNms", "opset8"); enum class DecayFunction { GAUSSIAN, LINEAR }; diff --git a/src/core/include/openvino/op/multinomial.hpp b/src/core/include/openvino/op/multinomial.hpp index 410bba3804751c..fa40df540c0e5d 100644 --- a/src/core/include/openvino/op/multinomial.hpp +++ b/src/core/include/openvino/op/multinomial.hpp @@ -14,7 +14,7 @@ namespace v13 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Multinomial : public Op { public: - OPENVINO_OP("Multinomial", "opset13", Op); + OPENVINO_OP("Multinomial", "opset13"); Multinomial() = default; /** * @brief Multinomial operation creates a sequence of indices of classes sampled from the multinomial distribution. diff --git a/src/core/include/openvino/op/mvn.hpp b/src/core/include/openvino/op/mvn.hpp index afcc5eb5dd06a0..de0537fac2626d 100644 --- a/src/core/include/openvino/op/mvn.hpp +++ b/src/core/include/openvino/op/mvn.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API MVN : public Op { public: - OPENVINO_OP("MVN", "opset2", Op); + OPENVINO_OP("MVN", "opset2"); MVN() = default; /// \brief Constructs an MVN operation. diff --git a/src/core/include/openvino/op/normalize_l2.hpp b/src/core/include/openvino/op/normalize_l2.hpp index 32fdc64496d046..9b254aead6f9bb 100644 --- a/src/core/include/openvino/op/normalize_l2.hpp +++ b/src/core/include/openvino/op/normalize_l2.hpp @@ -17,7 +17,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API NormalizeL2 : public Op { public: - OPENVINO_OP("NormalizeL2", "opset1", Op); + OPENVINO_OP("NormalizeL2", "opset1"); NormalizeL2() = default; /// diff --git a/src/core/include/openvino/op/parameter.hpp b/src/core/include/openvino/op/parameter.hpp index 2eda36512844f4..a29e35ad51be46 100644 --- a/src/core/include/openvino/op/parameter.hpp +++ b/src/core/include/openvino/op/parameter.hpp @@ -18,7 +18,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Parameter : public op::Op { public: - OPENVINO_OP("Parameter", "opset1", op::Op); + OPENVINO_OP("Parameter", "opset1"); /// \brief Constructions a tensor-typed parameter node. Parameter() = default; /// \brief Constructions a tensor-typed parameter node. diff --git a/src/core/include/openvino/op/prelu.hpp b/src/core/include/openvino/op/prelu.hpp index 7bcf79552a14ce..a4d98e5d169a1a 100644 --- a/src/core/include/openvino/op/prelu.hpp +++ b/src/core/include/openvino/op/prelu.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PRelu : public Op { public: - OPENVINO_OP("PRelu", "opset1", Op); + OPENVINO_OP("PRelu", "opset1"); PRelu(); /// \brief Constructs a PRelu operation. /// diff --git a/src/core/include/openvino/op/prior_box.hpp b/src/core/include/openvino/op/prior_box.hpp index f7ce286faaa4a3..801883aae6860f 100644 --- a/src/core/include/openvino/op/prior_box.hpp +++ b/src/core/include/openvino/op/prior_box.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBox : public Op { public: - OPENVINO_OP("PriorBox", "opset1", Op); + OPENVINO_OP("PriorBox", "opset1"); struct Attributes { // min_size Desired min_size of prior boxes // max_size Desired max_size of prior boxes @@ -73,7 +73,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBox : public Op { public: - OPENVINO_OP("PriorBox", "opset8", Op); + OPENVINO_OP("PriorBox", "opset8"); struct Attributes { // min_size Desired min_size of prior boxes // max_size Desired max_size of prior boxes diff --git a/src/core/include/openvino/op/prior_box_clustered.hpp b/src/core/include/openvino/op/prior_box_clustered.hpp index 2626732253e559..2c1945dc91c7be 100644 --- a/src/core/include/openvino/op/prior_box_clustered.hpp +++ b/src/core/include/openvino/op/prior_box_clustered.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PriorBoxClustered : public Op { public: - OPENVINO_OP("PriorBoxClustered", "opset1", Op); + OPENVINO_OP("PriorBoxClustered", "opset1"); struct Attributes { // widths Desired widths of prior boxes // heights Desired heights of prior boxes diff --git a/src/core/include/openvino/op/proposal.hpp b/src/core/include/openvino/op/proposal.hpp index 66c60db17f1456..67f62bde20fda2 100644 --- a/src/core/include/openvino/op/proposal.hpp +++ b/src/core/include/openvino/op/proposal.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Proposal : public Op { public: - OPENVINO_OP("Proposal", "opset1", Op); + OPENVINO_OP("Proposal", "opset1"); // base_size Anchor sizes // pre_nms_topn Number of boxes before nms // post_nms_topn Number of boxes after nms diff --git a/src/core/include/openvino/op/psroi_pooling.hpp b/src/core/include/openvino/op/psroi_pooling.hpp index 5f96e3625653b3..b7a66316c587c5 100644 --- a/src/core/include/openvino/op/psroi_pooling.hpp +++ b/src/core/include/openvino/op/psroi_pooling.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API PSROIPooling : public Op { public: - OPENVINO_OP("PSROIPooling", "opset1", Op); + OPENVINO_OP("PSROIPooling", "opset1"); PSROIPooling() = default; /// \brief Constructs a PSROIPooling operation diff --git a/src/core/include/openvino/op/random_uniform.hpp b/src/core/include/openvino/op/random_uniform.hpp index a6e8944454a9c7..22f06f79402135 100644 --- a/src/core/include/openvino/op/random_uniform.hpp +++ b/src/core/include/openvino/op/random_uniform.hpp @@ -14,7 +14,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API RandomUniform : public Op { public: - OPENVINO_OP("RandomUniform", "opset8", Op); + OPENVINO_OP("RandomUniform", "opset8"); RandomUniform() = default; diff --git a/src/core/include/openvino/op/range.hpp b/src/core/include/openvino/op/range.hpp index a75227e66229da..cc7e3acefb203b 100644 --- a/src/core/include/openvino/op/range.hpp +++ b/src/core/include/openvino/op/range.hpp @@ -54,7 +54,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Range : public Op { public: - OPENVINO_OP("Range", "opset1", Op); + OPENVINO_OP("Range", "opset1"); /// \brief Constructs an unitialized range operation. Range() = default; diff --git a/src/core/include/openvino/op/region_yolo.hpp b/src/core/include/openvino/op/region_yolo.hpp index 1e7fb04d4c1454..533b5b7c3962b1 100644 --- a/src/core/include/openvino/op/region_yolo.hpp +++ b/src/core/include/openvino/op/region_yolo.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API RegionYolo : public Op { public: - OPENVINO_OP("RegionYolo", "opset1", Op); + OPENVINO_OP("RegionYolo", "opset1"); RegionYolo() = default; /// diff --git a/src/core/include/openvino/op/reorg_yolo.hpp b/src/core/include/openvino/op/reorg_yolo.hpp index 7d4df9842fa783..1530c692582415 100644 --- a/src/core/include/openvino/op/reorg_yolo.hpp +++ b/src/core/include/openvino/op/reorg_yolo.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ReorgYolo : public Op { public: - OPENVINO_OP("ReorgYolo", "opset2", Op); + OPENVINO_OP("ReorgYolo", "opset2"); ReorgYolo() = default; /// \brief Constructs a ReorgYolo operation diff --git a/src/core/include/openvino/op/result.hpp b/src/core/include/openvino/op/result.hpp index 3be7ae332cdcd3..00e805d1f2aeb5 100644 --- a/src/core/include/openvino/op/result.hpp +++ b/src/core/include/openvino/op/result.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Result : public Op { public: - OPENVINO_OP("Result", "opset1", Op); + OPENVINO_OP("Result", "opset1"); /// \brief Allows a value to be used as a function result. Result() = default; diff --git a/src/core/include/openvino/op/reverse_sequence.hpp b/src/core/include/openvino/op/reverse_sequence.hpp index fdab77a000a00d..2581999836dfd4 100644 --- a/src/core/include/openvino/op/reverse_sequence.hpp +++ b/src/core/include/openvino/op/reverse_sequence.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ReverseSequence : public Op { public: - OPENVINO_OP("ReverseSequence", "opset1", Op); + OPENVINO_OP("ReverseSequence", "opset1"); ReverseSequence() = default; /// \brief Constructs a ReverseSequence operation. diff --git a/src/core/include/openvino/op/roi_pooling.hpp b/src/core/include/openvino/op/roi_pooling.hpp index 0b65407cd884a8..87ba126f788fd6 100644 --- a/src/core/include/openvino/op/roi_pooling.hpp +++ b/src/core/include/openvino/op/roi_pooling.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ROIPooling : public Op { public: - OPENVINO_OP("ROIPooling", "opset2", Op); + OPENVINO_OP("ROIPooling", "opset2"); ROIPooling() = default; /// \brief Constructs a ROIPooling operation diff --git a/src/core/include/openvino/op/selu.hpp b/src/core/include/openvino/op/selu.hpp index 63b1e472b17172..d152975b9cb23c 100644 --- a/src/core/include/openvino/op/selu.hpp +++ b/src/core/include/openvino/op/selu.hpp @@ -13,7 +13,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Selu : public Op { public: - OPENVINO_OP("Selu", "opset1", Op); + OPENVINO_OP("Selu", "opset1"); Selu() = default; /// \brief Constructs a Selu node. diff --git a/src/core/include/openvino/op/shuffle_channels.hpp b/src/core/include/openvino/op/shuffle_channels.hpp index f26bc694bef92b..321319d2e904d8 100644 --- a/src/core/include/openvino/op/shuffle_channels.hpp +++ b/src/core/include/openvino/op/shuffle_channels.hpp @@ -15,7 +15,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API ShuffleChannels : public Op { public: - OPENVINO_OP("ShuffleChannels", "opset1", Op); + OPENVINO_OP("ShuffleChannels", "opset1"); ShuffleChannels() = default; /// \brief Constructs a ShuffleChannels node. diff --git a/src/core/include/openvino/op/slice.hpp b/src/core/include/openvino/op/slice.hpp index edf171073cf4bb..923f84521d8500 100644 --- a/src/core/include/openvino/op/slice.hpp +++ b/src/core/include/openvino/op/slice.hpp @@ -15,7 +15,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Slice : public Op { public: - OPENVINO_OP("Slice", "opset8", Op); + OPENVINO_OP("Slice", "opset8"); Slice() = default; diff --git a/src/core/include/openvino/op/slice_scatter.hpp b/src/core/include/openvino/op/slice_scatter.hpp index 218c029ff5f2b5..0ffed5e5ac2462 100644 --- a/src/core/include/openvino/op/slice_scatter.hpp +++ b/src/core/include/openvino/op/slice_scatter.hpp @@ -14,7 +14,7 @@ namespace v15 { /// \ingroup ov_ops_cpp_api class OPENVINO_API SliceScatter : public Op { public: - OPENVINO_OP("SliceScatter", "opset15", Op); + OPENVINO_OP("SliceScatter", "opset15"); SliceScatter() = default; diff --git a/src/core/include/openvino/op/softmax.hpp b/src/core/include/openvino/op/softmax.hpp index be698d838a0888..598832a61d83ab 100644 --- a/src/core/include/openvino/op/softmax.hpp +++ b/src/core/include/openvino/op/softmax.hpp @@ -51,7 +51,7 @@ namespace v8 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Softmax : public Op { public: - OPENVINO_OP("Softmax", "opset8", Op); + OPENVINO_OP("Softmax", "opset8"); Softmax() = default; /// \brief Constructs a softmax operation. diff --git a/src/core/include/openvino/op/space_to_depth.hpp b/src/core/include/openvino/op/space_to_depth.hpp index d98d09474f08bc..9eda253c31bf1f 100644 --- a/src/core/include/openvino/op/space_to_depth.hpp +++ b/src/core/include/openvino/op/space_to_depth.hpp @@ -19,7 +19,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API SpaceToDepth : public Op { public: - OPENVINO_OP("SpaceToDepth", "opset1", Op); + OPENVINO_OP("SpaceToDepth", "opset1"); enum class SpaceToDepthMode { // The output depth is gathered from [block_size, ..., block_size, C] diff --git a/src/core/include/openvino/op/squeeze.hpp b/src/core/include/openvino/op/squeeze.hpp index dde456aa2eef47..1e91008dc9868e 100644 --- a/src/core/include/openvino/op/squeeze.hpp +++ b/src/core/include/openvino/op/squeeze.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Squeeze : public util::SqueezeBase { public: - OPENVINO_OP("Squeeze", "opset1"); + OPENVINO_OP("Squeeze", "opset1", util::SqueezeBase); Squeeze(); /// \brief Constructs a squeeze v0 operation. @@ -43,7 +43,7 @@ namespace v15 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Squeeze : public util::SqueezeBase { public: - OPENVINO_OP("Squeeze", "opset15"); + OPENVINO_OP("Squeeze", "opset15", util::SqueezeBase); Squeeze(); /// \brief Constructs a squeeze v15 operation. diff --git a/src/core/include/openvino/op/tile.hpp b/src/core/include/openvino/op/tile.hpp index 1f71f98755ab50..cf4f41be1d9085 100644 --- a/src/core/include/openvino/op/tile.hpp +++ b/src/core/include/openvino/op/tile.hpp @@ -14,7 +14,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Tile : public Op { public: - OPENVINO_OP("Tile", "opset1", Op); + OPENVINO_OP("Tile", "opset1"); Tile() = default; /// \brief Perform dynamic padding of a tensor diff --git a/src/core/include/openvino/op/unique.hpp b/src/core/include/openvino/op/unique.hpp index 4f6238631d7fec..9fc1ed6344f55c 100644 --- a/src/core/include/openvino/op/unique.hpp +++ b/src/core/include/openvino/op/unique.hpp @@ -14,7 +14,7 @@ namespace v10 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Unique : public Op { public: - OPENVINO_OP("Unique", "opset10", Op); + OPENVINO_OP("Unique", "opset10"); Unique() = default; diff --git a/src/core/include/openvino/op/unsqueeze.hpp b/src/core/include/openvino/op/unsqueeze.hpp index 1c505e60332e4b..4701df2dd4d4ec 100644 --- a/src/core/include/openvino/op/unsqueeze.hpp +++ b/src/core/include/openvino/op/unsqueeze.hpp @@ -16,7 +16,7 @@ namespace v0 { /// \ingroup ov_ops_cpp_api class OPENVINO_API Unsqueeze : public Op { public: - OPENVINO_OP("Unsqueeze", "opset1", Op); + OPENVINO_OP("Unsqueeze", "opset1"); Unsqueeze() = default; Unsqueeze(const Output& data, const Output& axes); diff --git a/src/core/include/openvino/op/util/avg_pool_base.hpp b/src/core/include/openvino/op/util/avg_pool_base.hpp index aae1e05477169d..a92f9826f56f93 100644 --- a/src/core/include/openvino/op/util/avg_pool_base.hpp +++ b/src/core/include/openvino/op/util/avg_pool_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API AvgPoolBase : public Op { public: - OPENVINO_OP("AvgPool", "util", Op); + OPENVINO_OP("AvgPool", "util"); AvgPoolBase() = default; /// \brief Constructs a batched average pooling operation. diff --git a/src/core/include/openvino/op/util/convert_color_nv12_base.hpp b/src/core/include/openvino/op/util/convert_color_nv12_base.hpp index ce9703117e938e..6727944eb0e5c9 100644 --- a/src/core/include/openvino/op/util/convert_color_nv12_base.hpp +++ b/src/core/include/openvino/op/util/convert_color_nv12_base.hpp @@ -61,7 +61,7 @@ class OPENVINO_API ConvertColorNV12Base : public Op { ConvertColorNV12Base(const Output& arg_y, const Output& arg_uv, ColorConversion format); public: - OPENVINO_OP("ConvertColorNV12Base", "util", Op); + OPENVINO_OP("ConvertColorNV12Base", "util"); void validate_and_infer_types() override; diff --git a/src/core/include/openvino/op/util/convolution_base.hpp b/src/core/include/openvino/op/util/convolution_base.hpp index 6c7e4dc0e9b93e..c58d1add2cd5b6 100644 --- a/src/core/include/openvino/op/util/convolution_base.hpp +++ b/src/core/include/openvino/op/util/convolution_base.hpp @@ -14,7 +14,7 @@ namespace util { /// \brief Base class for operations like convolutions class OPENVINO_API ConvolutionBase : public Op { public: - OPENVINO_OP("ConvolutionBase", "util", Op); + OPENVINO_OP("ConvolutionBase", "util"); /// \brief Constructs a conversion operation. ConvolutionBase() = default; diff --git a/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp b/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp index a66ece42aa480d..eac03e913c2771 100644 --- a/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp +++ b/src/core/include/openvino/op/util/embeddingbag_offsets_base.hpp @@ -13,7 +13,7 @@ namespace util { /// \brief Returns embeddings for given indices class OPENVINO_API EmbeddingBagOffsetsBase : public Op { public: - OPENVINO_OP("EmbeddingBagOffsetsBase", "util", Op); + OPENVINO_OP("EmbeddingBagOffsetsBase", "util"); enum class Reduction { SUM, MEAN }; diff --git a/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp b/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp index f8961cad65d9f7..c33afb4ad2bbbb 100644 --- a/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp +++ b/src/core/include/openvino/op/util/embeddingbag_packed_base.hpp @@ -14,7 +14,7 @@ namespace util { class OPENVINO_API EmbeddingBagPackedBase : public Op { public: enum class Reduction { SUM, MEAN }; - OPENVINO_OP("EmbeddingBagPackedBase", "util", Op); + OPENVINO_OP("EmbeddingBagPackedBase", "util"); /// \brief Constructs a EmbeddingBagPackedBase operation. EmbeddingBagPackedBase() = default; /// \brief Constructs a EmbeddingBagPackedBase operation. diff --git a/src/core/include/openvino/op/util/fft_base.hpp b/src/core/include/openvino/op/util/fft_base.hpp index 7d2814ece9a19d..9c3b7106a53f10 100644 --- a/src/core/include/openvino/op/util/fft_base.hpp +++ b/src/core/include/openvino/op/util/fft_base.hpp @@ -13,7 +13,7 @@ namespace util { /// \brief Base class for operations DFT and DFT. class OPENVINO_API FFTBase : public Op { public: - OPENVINO_OP("FFTBase", "util", Op); + OPENVINO_OP("FFTBase", "util"); FFTBase() = default; void validate_and_infer_types() override; diff --git a/src/core/include/openvino/op/util/gather_base.hpp b/src/core/include/openvino/op/util/gather_base.hpp index ce313052d958e6..9fa8387aee6b3a 100644 --- a/src/core/include/openvino/op/util/gather_base.hpp +++ b/src/core/include/openvino/op/util/gather_base.hpp @@ -12,7 +12,7 @@ namespace util { /// \brief GatherBase basic class for Gather v1 and v7 class OPENVINO_API GatherBase : public Op { public: - OPENVINO_OP("GatherBase", "util", Op); + OPENVINO_OP("GatherBase", "util"); GatherBase() = default; /// \param data The tensor from which slices are gathered diff --git a/src/core/include/openvino/op/util/gather_nd_base.hpp b/src/core/include/openvino/op/util/gather_nd_base.hpp index f240a0e38ba6a8..8bd1c6ed30c43b 100644 --- a/src/core/include/openvino/op/util/gather_nd_base.hpp +++ b/src/core/include/openvino/op/util/gather_nd_base.hpp @@ -12,7 +12,7 @@ namespace util { /// \brief GatherNDBase basic class for GatherND v5 and v8 class OPENVINO_API GatherNDBase : public Op { public: - OPENVINO_OP("GatherNDBase", "util", Op); + OPENVINO_OP("GatherNDBase", "util"); GatherNDBase() = default; /// \brief Constructs a GatherND operation. diff --git a/src/core/include/openvino/op/util/interpolate_base.hpp b/src/core/include/openvino/op/util/interpolate_base.hpp index 8c78902a741c16..858ee639b400d5 100644 --- a/src/core/include/openvino/op/util/interpolate_base.hpp +++ b/src/core/include/openvino/op/util/interpolate_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API InterpolateBase : public Op { public: - OPENVINO_OP("InterpolateBase", "util", Op); + OPENVINO_OP("InterpolateBase", "util"); /// \brief PartialShape calculation mode /// /// SIZES - output shape for interpolated axes is calculated using input `sizes` diff --git a/src/core/include/openvino/op/util/max_pool_base.hpp b/src/core/include/openvino/op/util/max_pool_base.hpp index d38c36730943c1..4fc3529c435b14 100644 --- a/src/core/include/openvino/op/util/max_pool_base.hpp +++ b/src/core/include/openvino/op/util/max_pool_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API MaxPoolBase : public Op { public: - OPENVINO_OP("MaxPoolBase", "util", Op); + OPENVINO_OP("MaxPoolBase", "util"); MaxPoolBase() = default; /// \param arg The node producing the input data batch tensor. diff --git a/src/core/include/openvino/op/util/multiclass_nms_base.hpp b/src/core/include/openvino/op/util/multiclass_nms_base.hpp index 7d70800288a746..1be7eecd50ff61 100644 --- a/src/core/include/openvino/op/util/multiclass_nms_base.hpp +++ b/src/core/include/openvino/op/util/multiclass_nms_base.hpp @@ -13,7 +13,7 @@ namespace util { /// v9. class OPENVINO_API MulticlassNmsBase : public Op { public: - OPENVINO_OP("MulticlassNmsBase", "util", Op); + OPENVINO_OP("MulticlassNmsBase", "util"); enum class SortResultType { CLASSID, // sort selected boxes by class id (ascending) in each batch element diff --git a/src/core/include/openvino/op/util/pad_base.hpp b/src/core/include/openvino/op/util/pad_base.hpp index 4bffc157faf68a..1f6d6dc173d5d2 100644 --- a/src/core/include/openvino/op/util/pad_base.hpp +++ b/src/core/include/openvino/op/util/pad_base.hpp @@ -13,7 +13,7 @@ namespace op { namespace util { class OPENVINO_API PadBase : public Op { public: - OPENVINO_OP("PadBase", "util", Op); + OPENVINO_OP("PadBase", "util"); PadBase() = default; diff --git a/src/core/include/openvino/op/util/read_value_base.hpp b/src/core/include/openvino/op/util/read_value_base.hpp index f644fe1d2b3878..a2ccf77b5ebe06 100644 --- a/src/core/include/openvino/op/util/read_value_base.hpp +++ b/src/core/include/openvino/op/util/read_value_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API ReadValueBase : public Op, public VariableExtension { public: - OPENVINO_OP("ReadValueBase", "util", Op); + OPENVINO_OP("ReadValueBase", "util"); ReadValueBase() = default; diff --git a/src/core/include/openvino/op/util/rnn_cell_base.hpp b/src/core/include/openvino/op/util/rnn_cell_base.hpp index f36dff37a43653..e5aa4e59ba5ec6 100644 --- a/src/core/include/openvino/op/util/rnn_cell_base.hpp +++ b/src/core/include/openvino/op/util/rnn_cell_base.hpp @@ -61,7 +61,7 @@ convert_lstm_peepholes_format(const Output& node, /// class OPENVINO_API RNNCellBase : public Op { public: - OPENVINO_OP("RNNCellBase", "util", Op); + OPENVINO_OP("RNNCellBase", "util"); /// /// \brief Constructs a RNNCellBase class. diff --git a/src/core/include/openvino/op/util/roi_align_base.hpp b/src/core/include/openvino/op/util/roi_align_base.hpp index 64a981e6534c96..b35d241bec7c98 100644 --- a/src/core/include/openvino/op/util/roi_align_base.hpp +++ b/src/core/include/openvino/op/util/roi_align_base.hpp @@ -15,7 +15,7 @@ namespace util { /// class OPENVINO_API ROIAlignBase : public Op { public: - OPENVINO_OP("ROIAlignBase", "util", Op); + OPENVINO_OP("ROIAlignBase", "util"); protected: ROIAlignBase() = default; diff --git a/src/core/include/openvino/op/util/scatter_base.hpp b/src/core/include/openvino/op/util/scatter_base.hpp index 26b3fb9bd28770..4aa2afeac2f657 100644 --- a/src/core/include/openvino/op/util/scatter_base.hpp +++ b/src/core/include/openvino/op/util/scatter_base.hpp @@ -14,7 +14,7 @@ namespace util { /// class OPENVINO_API ScatterBase : public Op { public: - OPENVINO_OP("ScatterBase", "util", Op); + OPENVINO_OP("ScatterBase", "util"); void validate_and_infer_types() override; bool visit_attributes(AttributeVisitor& visitor) override; diff --git a/src/core/include/openvino/op/util/scatter_elements_update_base.hpp b/src/core/include/openvino/op/util/scatter_elements_update_base.hpp index 217b01b7af660d..bcf6ae11f455bf 100644 --- a/src/core/include/openvino/op/util/scatter_elements_update_base.hpp +++ b/src/core/include/openvino/op/util/scatter_elements_update_base.hpp @@ -12,7 +12,7 @@ namespace op { namespace util { class OPENVINO_API ScatterElementsUpdateBase : public Op { public: - OPENVINO_OP("ScatterElementsUpdateBase", "util", Op); + OPENVINO_OP("ScatterElementsUpdateBase", "util"); ScatterElementsUpdateBase() = default; /// \brief The common base class for all ScatterElementsUpdate operator versions diff --git a/src/core/include/openvino/op/util/scatter_nd_base.hpp b/src/core/include/openvino/op/util/scatter_nd_base.hpp index 1e58237b6f18a2..f46b23cb16411b 100644 --- a/src/core/include/openvino/op/util/scatter_nd_base.hpp +++ b/src/core/include/openvino/op/util/scatter_nd_base.hpp @@ -14,7 +14,7 @@ namespace util { /// class OPENVINO_API ScatterNDBase : public Op { public: - OPENVINO_OP("ScatterNDBase", "util", Op); + OPENVINO_OP("ScatterNDBase", "util"); // Respective input ordinal number. static constexpr int INPUTS = 0; static constexpr int INDICES = 1; diff --git a/src/core/include/openvino/op/util/shape_of_base.hpp b/src/core/include/openvino/op/util/shape_of_base.hpp index 2c3723d7032e0f..87e529ab839c94 100644 --- a/src/core/include/openvino/op/util/shape_of_base.hpp +++ b/src/core/include/openvino/op/util/shape_of_base.hpp @@ -11,7 +11,7 @@ namespace op { namespace util { class OPENVINO_API ShapeOfBase : public Op { public: - OPENVINO_OP("ShapeOfBase", "util", Op); + OPENVINO_OP("ShapeOfBase", "util"); ShapeOfBase() = default; diff --git a/src/core/include/openvino/pass/pattern/op/pattern.hpp b/src/core/include/openvino/pass/pattern/op/pattern.hpp index ff463d1096fbef..6cef92ab812d14 100644 --- a/src/core/include/openvino/pass/pattern/op/pattern.hpp +++ b/src/core/include/openvino/pass/pattern/op/pattern.hpp @@ -83,7 +83,7 @@ ValuePredicate as_value_predicate(NodePredicate pred); class OPENVINO_API Pattern : public Node { public: - OPENVINO_RTTI("pattern"); + OPENVINO_RTTI("Pattern"); /// \brief \p a base class for \sa Skip and \sa Label /// Pattern(const OutputVector& patterns, ValuePredicate pred); diff --git a/src/core/tests/opset.cpp b/src/core/tests/opset.cpp index 81f6e80c28189f..7157eaea01c152 100644 --- a/src/core/tests/opset.cpp +++ b/src/core/tests/opset.cpp @@ -117,7 +117,7 @@ class MyOpIncorrect : public MyOpOld { class MyOpNew : public ov::op::Op { public: - OPENVINO_OP("MyOpNew", "custom_opset", MyOpOld); + OPENVINO_OP("MyOpNew", "custom_opset"); MyOpNew() = default; std::shared_ptr clone_with_new_inputs(const ov::OutputVector& inputs) const override { diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp index 27a50df6a0a5d7..cc7be806fa4837 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/fully_connected.hpp @@ -13,7 +13,7 @@ namespace op { class FullyConnected : public ov::op::Op { public: - OPENVINO_OP("FullyConnected", "gpu_opset", ov::op::Op); + OPENVINO_OP("FullyConnected", "gpu_opset"); FullyConnected() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp index e23bafa9d3fb0b..7048d5229f25db 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache.hpp @@ -17,7 +17,7 @@ namespace op { /// This operation updates data of the corresponding Variable class KVCache : public ov::op::Op, public ov::op::util::VariableExtension { public: - OPENVINO_OP("KVCache", "gpu_opset", ov::op::Op); + OPENVINO_OP("KVCache", "gpu_opset"); KVCache() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp index 07496aa0ac9236..5e2bdc3ff87dda 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/placeholder.hpp @@ -12,7 +12,7 @@ namespace op { class Placeholder : public ov::op::Op { public: - OPENVINO_OP("Placeholder", "gpu_opset", ov::op::Op); + OPENVINO_OP("Placeholder", "gpu_opset"); Placeholder(); diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp index c232aa95b25da7..419c18118229ff 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/read_value.hpp @@ -16,7 +16,7 @@ namespace op { /// This is needed to have ReadValue-KVCache pair instead of ReadValue-Assign class ReadValue : public ov::op::Op, public ov::op::util::VariableExtension { public: - OPENVINO_OP("ReadValue", "gpu_opset", ov::op::Op); + OPENVINO_OP("ReadValue", "gpu_opset"); ReadValue() = default; From 5e44aad1e318e328681070ac0af41621f374537d Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Tue, 10 Dec 2024 23:03:10 +0100 Subject: [PATCH 09/16] Add missing rtti parent Signed-off-by: Tomasz Jankowski --- src/frontends/pytorch/src/helper_ops/internal_op.hpp | 3 +++ src/frontends/pytorch/src/helper_ops/packed_sequence.hpp | 4 ++-- .../intel_gpu/include/intel_gpu/op/kv_cache_compressed.hpp | 2 +- src/plugins/intel_gpu/include/intel_gpu/op/read_values.hpp | 2 +- src/plugins/intel_gpu/include/intel_gpu/op/sdpa.hpp | 2 +- .../ov_snippets_models/include/precision_propagation.hpp | 2 +- .../ov_helpers/ov_snippets_models/include/two_binary_ops.hpp | 4 ++-- 7 files changed, 11 insertions(+), 8 deletions(-) diff --git a/src/frontends/pytorch/src/helper_ops/internal_op.hpp b/src/frontends/pytorch/src/helper_ops/internal_op.hpp index 8c10192dedda04..b7fe3b5fdc2f44 100644 --- a/src/frontends/pytorch/src/helper_ops/internal_op.hpp +++ b/src/frontends/pytorch/src/helper_ops/internal_op.hpp @@ -41,6 +41,9 @@ class InternalOpDecoder : public DummyDecoder { }; class InternalOperation : public PtFrameworkNode { +public: + OPENVINO_OP("InternalOperation", "internal", PtFrameworkNode); + protected: InternalOperation(const std::string& op_type, const OutputVector& inputs, diff --git a/src/frontends/pytorch/src/helper_ops/packed_sequence.hpp b/src/frontends/pytorch/src/helper_ops/packed_sequence.hpp index 30e1a37c9d1d96..e652832aa65c78 100644 --- a/src/frontends/pytorch/src/helper_ops/packed_sequence.hpp +++ b/src/frontends/pytorch/src/helper_ops/packed_sequence.hpp @@ -13,7 +13,7 @@ namespace pytorch { class PackPadded : public InternalOperation { public: - OPENVINO_OP("PackPadded", "util", ov::op::util::FrameworkNode); + OPENVINO_OP("PackPadded", "util", InternalOperation); PackPadded(const Output& input, const Output& lengths) : InternalOperation("prim::PackPadded", {input, lengths}, 2, "This is PackedSequence pack operation.") { validate_and_infer_types(); @@ -27,7 +27,7 @@ class PackPadded : public InternalOperation { class PadPacked : public InternalOperation { public: - OPENVINO_OP("PadPacked", "util", ov::op::util::FrameworkNode); + OPENVINO_OP("PadPacked", "util", InternalOperation); PadPacked(const Output& input, const Output& lengths) : InternalOperation("prim::PadPacked", {input, lengths}, 2, "This is PackedSequence unpack operation.") { validate_and_infer_types(); diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache_compressed.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache_compressed.hpp index 4ee8cb388b61ea..ee8e9d0e026b8f 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache_compressed.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/kv_cache_compressed.hpp @@ -15,7 +15,7 @@ namespace op { /// This operation updates data of the corresponding Variable class KVCacheCompressed : public ov::intel_gpu::op::KVCache { public: - OPENVINO_OP("KVCacheCompressed", "gpu_opset"); + OPENVINO_OP("KVCacheCompressed", "gpu_opset", ov::intel_gpu::op::KVCache); using QuantizationAttrs = ov::op::internal::DynamicQuantize::Attributes; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/read_values.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/read_values.hpp index ecbda9364d7b3b..6cf6c14f2b1d2f 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/read_values.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/read_values.hpp @@ -14,7 +14,7 @@ namespace op { // representation (which can store multiple states in a single variable) at the graph level. class ReadValues : public ReadValue { public: - OPENVINO_OP("ReadValues", "gpu_opset"); + OPENVINO_OP("ReadValues", "gpu_opset", ReadValue); ReadValues() = default; diff --git a/src/plugins/intel_gpu/include/intel_gpu/op/sdpa.hpp b/src/plugins/intel_gpu/include/intel_gpu/op/sdpa.hpp index f7bc0d780ffd38..47e3922e39c3a5 100644 --- a/src/plugins/intel_gpu/include/intel_gpu/op/sdpa.hpp +++ b/src/plugins/intel_gpu/include/intel_gpu/op/sdpa.hpp @@ -16,7 +16,7 @@ namespace op { class SDPA : public ov::op::v13::ScaledDotProductAttention { public: - OPENVINO_OP("SDPA", "gpu_opset"); + OPENVINO_OP("SDPA", "gpu_opset", ov::op::v13::ScaledDotProductAttention); using QuantizationAttribute = ov::op::internal::DynamicQuantize::Attributes; diff --git a/src/tests/ov_helpers/ov_snippets_models/include/precision_propagation.hpp b/src/tests/ov_helpers/ov_snippets_models/include/precision_propagation.hpp index 876dcec4e5bc28..730dae0f24e72b 100644 --- a/src/tests/ov_helpers/ov_snippets_models/include/precision_propagation.hpp +++ b/src/tests/ov_helpers/ov_snippets_models/include/precision_propagation.hpp @@ -21,7 +21,7 @@ namespace snippets { */ class DummyAdd : public ov::opset1::Add { public: - OPENVINO_OP("DummyAdd", "test::snippets"); + OPENVINO_OP("DummyAdd", "test::snippets", ov::opset1::Add); DummyAdd(const Output& arg0, const Output& arg1, diff --git a/src/tests/ov_helpers/ov_snippets_models/include/two_binary_ops.hpp b/src/tests/ov_helpers/ov_snippets_models/include/two_binary_ops.hpp index d469b3740542c4..7a7b97c450f93c 100644 --- a/src/tests/ov_helpers/ov_snippets_models/include/two_binary_ops.hpp +++ b/src/tests/ov_helpers/ov_snippets_models/include/two_binary_ops.hpp @@ -45,7 +45,7 @@ class BaseDummyOperation : public ov::op::Op { */ class DummyOperation1 : public BaseDummyOperation { public: - OPENVINO_OP("DummyOperation1", "test::snippets"); + OPENVINO_OP("DummyOperation1", "test::snippets", BaseDummyOperation); DummyOperation1( const Output& arg0, @@ -69,7 +69,7 @@ class DummyOperation1 : public BaseDummyOperation { */ class DummyOperation2 : public BaseDummyOperation { public: - OPENVINO_OP("DummyOperation2", "test::snippets"); + OPENVINO_OP("DummyOperation2", "test::snippets", BaseDummyOperation); DummyOperation2( const Output& arg0, From 3df5172c933639571d5401a8e49c075023c41137 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Tue, 10 Dec 2024 23:19:08 +0100 Subject: [PATCH 10/16] Update RTTI in paddlepaddle FE Signed-off-by: Tomasz Jankowski --- .../paddle/src/internal/pass/transform_fakequantize.hpp | 4 ++-- src/frontends/paddle/src/internal/pass/transform_if.hpp | 2 +- .../paddle/src/internal/pass/transform_tensorarray.hpp | 2 +- src/frontends/paddle/src/internal/pass/transform_while.hpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp b/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp index 6d45edd8ea818a..59ede10efc6ac2 100644 --- a/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformFakeQuantize"); + OPENVINO_RTTI("ov::frontend::paddle::pass::TransformFakeQuantize", "0", ov::pass::MatcherPass); TransformFakeQuantize(); private: @@ -23,4 +23,4 @@ class TransformFakeQuantize : public ov::pass::MatcherPass { } // namespace pass } // namespace paddle } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/paddle/src/internal/pass/transform_if.hpp b/src/frontends/paddle/src/internal/pass/transform_if.hpp index 98c66800d6fea6..6ec1df370fc901 100644 --- a/src/frontends/paddle/src/internal/pass/transform_if.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_if.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformIf : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformIf"); + OPENVINO_RTTI("ov::frontend::paddle::pass::TransformIf", "0", ov::pass::MatcherPass); TransformIf(std::vector> functions); private: diff --git a/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp b/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp index c992bf1eefa4c9..5a7b2380af268f 100644 --- a/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformTensorArray : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformTensorArray"); + OPENVINO_RTTI("ov::frontend::paddle::pass::TransformTensorArray", "0", ov::pass::MatcherPass); TransformTensorArray(std::vector> functions); private: diff --git a/src/frontends/paddle/src/internal/pass/transform_while.hpp b/src/frontends/paddle/src/internal/pass/transform_while.hpp index de6f381222a554..74b8b1e1514b0a 100644 --- a/src/frontends/paddle/src/internal/pass/transform_while.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_while.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformWhile : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformWhile"); + OPENVINO_RTTI("ov::frontend::paddle::pass::TransformWhile", "0", ov::pass::MatcherPass); TransformWhile(std::vector> functions); private: From 1684ea757f7974c85ecab4600ec9d979f1285492 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Wed, 11 Dec 2024 13:15:20 +0100 Subject: [PATCH 11/16] Update RTTI in tensorflow FE Signed-off-by: Tomasz Jankowski --- .../src/transformations/switch_merge_resolve.hpp | 2 +- .../transformations/uninitialized_variable_resolve.hpp | 2 +- .../helper_transforms/const_to_result_remover.hpp | 2 +- .../embedding_segments_feature_fusing.hpp | 2 +- .../helper_transforms/saved_model_unused_remover.hpp | 2 +- .../helper_transforms/tensor_array_v3_replacer.hpp | 2 +- .../helper_transforms/tensor_list_ops_resolver.hpp | 10 +++++----- .../tflite_quantize_resolver.hpp | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/frontends/tensorflow/src/transformations/switch_merge_resolve.hpp b/src/frontends/tensorflow/src/transformations/switch_merge_resolve.hpp index 6038005e2eb4c4..fed01588fbc790 100644 --- a/src/frontends/tensorflow/src/transformations/switch_merge_resolve.hpp +++ b/src/frontends/tensorflow/src/transformations/switch_merge_resolve.hpp @@ -20,7 +20,7 @@ namespace pass { // Merge nodes can have the same eliminated markers that means the fused If will have several outputs. class SwitchMergeResolver : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::SwitchMergeResolver"); + OPENVINO_RTTI("ov::frontend::tensorflow::SwitchMergeResolver", "util", ov::pass::ModelPass); SwitchMergeResolver() = default; bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp b/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp index 5e0f8bd6dfdec0..de25eb399d1bf1 100644 --- a/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp +++ b/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp @@ -19,7 +19,7 @@ namespace pass { // it borrows value of Variable that was used for some state (or node) in a graph class UninitializedVariableResolver : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::UninitializedVariableResolver"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::UninitializedVariableResolver", "0", ov::pass::MatcherPass); UninitializedVariableResolver(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/const_to_result_remover.hpp b/src/frontends/tensorflow_common/include/helper_transforms/const_to_result_remover.hpp index fc4d1c36fac3af..a80c25ab1b5e75 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/const_to_result_remover.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/const_to_result_remover.hpp @@ -17,7 +17,7 @@ namespace pass { // We need to remove them because separate sub-graphs can solidly affect performance class ConstToResultRemover : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::UnsupportedConstToResultRemover"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::UnsupportedConstToResultRemover", "util", ov::pass::ModelPass); ConstToResultRemover() {} bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp b/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp index ec2ce348cb5a1b..2323c984a3a71c 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp @@ -20,7 +20,7 @@ namespace pass { // Such sub-graph is met in the Wide and Deep model in case of the SINGLE categorical feature. class EmbeddingSegmentSingleFeatureFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::EmbeddingSegmentSingleFeatureFusion"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::EmbeddingSegmentSingleFeatureFusion", "0", ov::pass::MatcherPass); EmbeddingSegmentSingleFeatureFusion(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/saved_model_unused_remover.hpp b/src/frontends/tensorflow_common/include/helper_transforms/saved_model_unused_remover.hpp index c7d457d8d6a361..80c80695595f08 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/saved_model_unused_remover.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/saved_model_unused_remover.hpp @@ -15,7 +15,7 @@ namespace pass { // Results marked as unused by Saved Model settings class SavedModelUnusedRemover : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::SavedModelUnusedRemover"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::SavedModelUnusedRemover", "util", ov::pass::ModelPass); SavedModelUnusedRemover() {} bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp b/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp index ad442e3e5dbe29..94d24bd5a328d3 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp @@ -19,7 +19,7 @@ namespace pass { // that simulates initial state of tensor array container class TensorArrayV3Replacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorArrayV3Replacer"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorArrayV3Replacer", "0", ov::pass::MatcherPass); TensorArrayV3Replacer(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp b/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp index 764b7dfc472d2a..7df127f142b7a8 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp @@ -15,14 +15,14 @@ namespace pass { // Replace internal operation TensorListReserve with a sub-graph producing initial container class TensorListReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListReplacer"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListReplacer", "0", ov::pass::MatcherPass); TensorListReplacer(); }; // Replace internal operation TensorListSetItem with a sub-graph that inserts a new tensor into container class TensorListSetItemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListSetItemReplacer"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListSetItemReplacer", "0", ov::pass::MatcherPass); TensorListSetItemReplacer(); }; @@ -30,14 +30,14 @@ class TensorListSetItemReplacer : public ov::pass::MatcherPass { // that inserts a new tensor into the tail of the container class TensorListPushBackReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListPushBackReplacer"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListPushBackReplacer", "0", ov::pass::MatcherPass); TensorListPushBackReplacer(); }; // Replace internal operation TensorListGetItem with a sub-graph that gets a tensor from container by index class TensorListGetItemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListGetItemReplacer"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListGetItemReplacer", "0", ov::pass::MatcherPass); TensorListGetItemReplacer(); }; @@ -45,7 +45,7 @@ class TensorListGetItemReplacer : public ov::pass::MatcherPass { // Replace TensorListSetItem and TensorListGetItem with ConcatOutput and SlicedInput class TensorListInLoopOptimization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListInLoopOptimization"); + OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListInLoopOptimization", "0", ov::pass::MatcherPass); TensorListInLoopOptimization(); }; diff --git a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp index 91f88ea4508f8c..4b4d26a7d635b0 100644 --- a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp +++ b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp @@ -32,7 +32,7 @@ class TFLQuantizeReplacer : public ov::pass::MatcherPass { // This transformation simplifies type manipulations in the graph class TFLQuantizeResolver : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeResolver", "0", ov::pass::ModelPass); + OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeResolver", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; }; From 53f5c9ff9ec3d1c266ff048a4ca6efe7c57ed25b Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Wed, 11 Dec 2024 16:57:44 +0100 Subject: [PATCH 12/16] Add OPENVINO_MATCHER_PASS_RTTI macro definition Signed-off-by: Tomasz Jankowski --- .../convert_subtract_constant.hpp | 2 +- .../include/low_precision/markup_bias.hpp | 2 +- .../pull_reshape_through_dequantization.hpp | 2 +- .../pull_transpose_through_dequantization.hpp | 2 +- .../snippets/pass/collapse_subgraph.hpp | 2 +- .../snippets/pass/common_optimizations.hpp | 2 +- .../pass/explicit_transpose_matmul_inputs.hpp | 2 +- .../pass/extract_reshapes_from_mha.hpp | 2 +- .../snippets/pass/fuse_transpose_brgemm.hpp | 2 +- .../snippets/pass/gn_decomposition.hpp | 2 +- .../include/snippets/pass/gn_tokenization.hpp | 2 +- .../snippets/pass/matmul_to_brgemm.hpp | 2 +- .../snippets/pass/mha_tokenization.hpp | 2 +- .../snippets/pass/softmax_decomposition.hpp | 2 +- .../snippets/pass/transpose_decomposition.hpp | 2 +- .../adaptive_pool_to_reduce.hpp | 2 +- .../add_fake_quantize_fusion.hpp | 2 +- .../align_eltwise_input_ranks.hpp | 2 +- .../augru_cell_fusion.hpp | 2 +- .../batch_to_space_fusion.hpp | 2 +- .../common_optimizations/binarize_weights.hpp | 2 +- .../broadcast_elementwise_fusion.hpp | 2 +- .../broadcast_transition.hpp | 2 +- .../common_optimizations/clamp_fusion.hpp | 2 +- .../compress_float_constants.hpp | 2 +- .../common_optimizations/concat_fusion.hpp | 2 +- .../concat_reduce_fusion.hpp | 4 +-- .../concat_to_broadcast.hpp | 4 +-- .../common_optimizations/conv_mul_fusion.hpp | 8 ++--- .../conv_to_binary_conv.hpp | 2 +- .../convert_quantize_dequantize.hpp | 2 +- ...onvert_u4_weights_zero_point_to_scalar.hpp | 2 +- ...onvolution_to_group_convolution_fusion.hpp | 2 +- .../depth_to_space_fusion.hpp | 2 +- .../dilated_convolution_converter.hpp | 2 +- ...isable_random_uniform_constant_folding.hpp | 2 +- .../disable_shapeof_constant_folding.hpp | 2 +- .../common_optimizations/divide_fusion.hpp | 2 +- .../dropout_with_random_uniform_replacer.hpp | 2 +- .../eliminate_duplicate_ti_inputs.hpp | 2 +- .../eliminate_loop_inputs_outputs.hpp | 2 +- .../eliminate_unsqueeze_gather.hpp | 4 +-- .../enable_shapeof_constant_folding.hpp | 2 +- .../fold_subgraph_empty_inputs.hpp | 2 +- .../common_optimizations/fq_mul_fusion.hpp | 2 +- .../fq_reshape_fusion.hpp | 2 +- .../common_optimizations/gelu_fusion.hpp | 12 +++---- .../common_optimizations/glu_fusion.hpp | 2 +- .../common_optimizations/gru_cell_fusion.hpp | 2 +- .../common_optimizations/hsigmoid_fusion.hpp | 10 +++--- .../common_optimizations/hswish_fusion.hpp | 8 ++--- .../interpolate_sequence_fusion.hpp | 2 +- .../leaky_relu_fusion.hpp | 2 +- .../lin_op_sequence_fusion.hpp | 6 ++-- .../lora_subgraph_fusion.hpp | 2 +- .../common_optimizations/lstm_cell_fusion.hpp | 4 +-- ..._rope_input_to_keep_in_mixed_precision.hpp | 4 +-- .../matmul_const_transposes_extraction.hpp | 2 +- .../matmul_multiply_fusion.hpp | 2 +- .../common_optimizations/mish_fusion.hpp | 2 +- .../move_eltwise_up_data_movement.hpp | 4 +-- .../common_optimizations/mul_conv_fusion.hpp | 8 ++--- .../mul_fake_quantize_fusion.hpp | 2 +- .../common_optimizations/mvn_fusion.hpp | 4 +-- .../nearest_neighbor_upsampling_fusion.hpp | 2 +- .../nonzero_horizontal_fusion.hpp | 2 +- .../common_optimizations/nop_elimination.hpp | 34 +++++++++---------- .../normalize_l2_fusion.hpp | 2 +- .../optimize_strided_slice.hpp | 2 +- .../common_optimizations/pad_fusion.hpp | 10 +++--- .../common_optimizations/prelu_fusion.hpp | 12 +++---- .../pull_through_reduce.hpp | 4 +-- .../pull_transpose_through_fq.hpp | 2 +- .../random_uniform_fusion.hpp | 2 +- .../common_optimizations/reduce_merge.hpp | 2 +- .../reduce_reshape_fusion.hpp | 2 +- .../relu_fake_quantize_fusion.hpp | 2 +- .../remove_concat_zero_dim_input.hpp | 2 +- .../remove_filtering_boxes_by_size.hpp | 2 +- .../common_optimizations/reshape_prelu.hpp | 2 +- .../reshape_sequence_fusion.hpp | 2 +- .../common_optimizations/rms_fusion.hpp | 2 +- .../select_with_one_value_condition.hpp | 2 +- .../common_optimizations/sequence_fusion.hpp | 2 +- .../shuffle_channels_fusion.hpp | 2 +- .../simplify_shape_of_sub_graph.hpp | 10 +++--- ...ip_gather_before_transpose_and_reshape.hpp | 2 +- .../common_optimizations/softmax_fusion.hpp | 2 +- .../common_optimizations/softplus_fusion.hpp | 2 +- .../softplus_to_mish_fusion.hpp | 2 +- .../space_to_batch_fusion.hpp | 2 +- ...plit_concat_pair_to_interpolate_fusion.hpp | 2 +- .../split_squeeze_concat_fusion.hpp | 2 +- .../strides_optimization.hpp | 6 ++-- .../common_optimizations/subtract_fusion.hpp | 2 +- .../common_optimizations/swish_fusion.hpp | 8 ++--- ...anspose_reshape_elimination_for_matmul.hpp | 2 +- .../transpose_sinking.hpp | 10 +++--- .../transpose_to_reshape.hpp | 2 +- .../weights_dequantize_to_fake_quantize.hpp | 2 +- .../wrap_interpolate_into_transposes.hpp | 2 +- .../flush_fp32_subnormals_to_zero.hpp | 2 +- ...decompression_convert_constant_folding.hpp | 10 +++--- .../mark_floatpoint_range.hpp | 2 +- .../mark_dequantization_subgraph.hpp | 2 +- .../batch_norm_decomposition.hpp | 2 +- .../bidirectional_sequences_decomposition.hpp | 6 ++-- .../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 +- .../convert_broadcast_to_tiles.hpp | 2 +- .../op_conversions/convert_convertlike.hpp | 2 +- .../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 +-- ...vert_embedding_bag_offsets15_downgrade.hpp | 2 +- ...nvert_embedding_bag_packed15_downgrade.hpp | 2 +- .../op_conversions/convert_gather_0d.hpp | 2 +- .../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 +- .../convert_maxpool_downgrade.hpp | 4 +-- .../convert_maxpool_upgrade.hpp | 2 +- .../convert_minimum_to_power_and_max.hpp | 2 +- .../op_conversions/convert_mod.hpp | 2 +- ...rt_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 +- .../convert_pad12_downgrade.hpp | 2 +- .../convert_pad_to_group_conv.hpp | 2 +- .../convert_previous_nms_to_nms_5.hpp | 6 ++-- .../convert_previous_nms_to_nms_9.hpp | 8 ++--- .../convert_prior_box_v8_to_v0.hpp | 2 +- .../convert_roi_align_v3_to_v9.hpp | 2 +- .../convert_roi_align_v9_to_v3.hpp | 2 +- .../convert_scatter_elements_to_scatter.hpp | 2 +- ...rt_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 +- .../convert_shuffle_channels3.hpp | 2 +- .../convert_slice_to_strided_slice.hpp | 2 +- .../op_conversions/convert_slicescatter.hpp | 2 +- .../convert_softmax_downgrade.hpp | 2 +- .../convert_softmax_upgrade.hpp | 2 +- .../op_conversions/convert_space_to_batch.hpp | 2 +- .../op_conversions/convert_space_to_depth.hpp | 2 +- .../convert_squeeze15_downgrade.hpp | 2 +- .../op_conversions/convert_subtract.hpp | 4 +-- .../convert_ti_to_sequences.hpp | 14 ++++---- .../convert_topk11_downgrade.hpp | 2 +- .../op_conversions/convert_topk3.hpp | 2 +- .../convert_xor_to_logical_xor.hpp | 2 +- .../detection_output_downgrade.hpp | 2 +- .../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 +- .../hard_sigmoid_decomposition.hpp | 2 +- .../op_conversions/hsigmoid_decomposition.hpp | 2 +- .../op_conversions/hswish_decomposition.hpp | 2 +- .../log_softmax_decomposition.hpp | 2 +- .../lstm_cell_decomposition.hpp | 2 +- .../op_conversions/mvn6_decomposition.hpp | 2 +- .../normalize_l2_decomposition.hpp | 2 +- .../reduce_l1_decomposition.hpp | 2 +- .../reduce_l2_decomposition.hpp | 2 +- .../op_conversions/rnn_cell_decomposition.hpp | 2 +- ...ed_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 +- .../position_ids_replacer.hpp | 4 +-- .../prev_sequence_length_pattern.hpp | 4 +-- .../state_management_pattern.hpp | 4 +-- .../total_sequence_length_pattern.hpp | 2 +- .../broadcast_const_range_replacement.hpp | 2 +- .../smart_reshape/matmul_sr.hpp | 6 ++-- .../proposal_scales_stridedslice.hpp | 4 +-- .../smart_reshape/reshape_sinking.hpp | 2 +- .../smart_reshape/reshape_to_1D.hpp | 2 +- .../smart_reshape/shape_of_const_folding.hpp | 2 +- .../smart_reshape/strided_slice_squeeze.hpp | 4 +-- .../chained_maximum.hpp | 4 +-- .../dereshape_matmul.hpp | 4 +-- .../nop_broadcast.hpp | 4 +-- .../reshape_optimizations.hpp | 2 +- .../symbolic_optimizations.hpp | 2 +- .../transpose_sinking/ts_base.hpp | 2 +- .../transpose_sinking/ts_binary.hpp | 2 +- .../transpose_sinking/ts_concat.hpp | 2 +- .../transpose_sinking/ts_cumsum.hpp | 2 +- .../transpose_sinking/ts_data_movement.hpp | 2 +- .../transpose_sinking/ts_fuse.hpp | 4 +-- .../transpose_sinking/ts_gather.hpp | 4 +-- .../transpose_sinking/ts_interpolate.hpp | 2 +- .../transpose_sinking/ts_reduction.hpp | 4 +-- .../ts_reset_no_sinking_attribute.hpp | 2 +- .../transpose_sinking/ts_slice.hpp | 2 +- .../transpose_sinking/ts_split.hpp | 2 +- .../transpose_sinking/ts_squeeze.hpp | 2 +- .../transpose_sinking/ts_tile.hpp | 2 +- .../transpose_sinking/ts_unary.hpp | 2 +- .../transpose_sinking/ts_unsqueeze.hpp | 2 +- .../convert_nms_gather_path_to_unsigned.cpp | 6 ++-- ...k_subgraphs_to_keep_in_mixed_precision.cpp | 14 ++++---- .../tests/utils/compare_functions_test.cpp | 2 +- .../include/openvino/pass/matcher_pass.hpp | 15 +++++++- src/core/tests/graph_rewrite.cpp | 6 ++-- src/core/tests/pass_config.cpp | 6 ++-- .../internal/pass/transform_fakequantize.hpp | 2 +- .../paddle/src/internal/pass/transform_if.hpp | 2 +- .../internal/pass/transform_tensorarray.hpp | 2 +- .../src/internal/pass/transform_while.hpp | 2 +- .../uninitialized_variable_resolve.hpp | 2 +- .../embedding_segments_feature_fusing.hpp | 2 +- .../tensor_array_v3_replacer.hpp | 2 +- .../tensor_list_ops_resolver.hpp | 10 +++--- .../rfft2d_complex_abs.h | 2 +- .../tflite_quantize_resolver.hpp | 4 +-- .../cpu_opset/arm/pass/convert_group_conv.hpp | 2 +- .../arm/pass/convert_group_conv1d.hpp | 2 +- .../arm/pass/convert_reduce_multi_axis.hpp | 2 +- .../arm/pass/convert_reduce_no_keep_dims.hpp | 2 +- .../cpu_opset/arm/pass/mish_decomposition.hpp | 2 +- .../common/pass/align_matmul_input_ranks.hpp | 2 +- .../pass/causal_mask_preprocess_fusion.cpp | 2 +- .../pass/convert_broadcast_to_tiles.hpp | 2 +- .../pass/convert_fq_rnn_to_quantized_rnn.hpp | 2 +- .../common/pass/convert_matmul_to_fc.hpp | 2 +- .../common/pass/convert_tile_to_seq_tiles.hpp | 2 +- .../common/pass/convert_to_leaky_relu.hpp | 2 +- .../common/pass/convert_to_power_static.hpp | 2 +- .../common/pass/convert_to_swish_cpu.hpp | 2 +- .../common/pass/decompose_integer_divide.hpp | 2 +- .../common/pass/decompose_rms_norm.hpp | 2 +- .../pass/insert_convert_after_extension.hpp | 2 +- .../pass/move_fc_reshape_to_weights.hpp | 2 +- .../cpu_opset/common/pass/ngram_fusion.hpp | 2 +- .../pass/permute_slice_n_interpolation.hpp | 2 +- .../pass/rnn_sequences_optimization.hpp | 6 ++-- .../common/pass/stateful_sdpa_fusion.hpp | 2 +- .../x64/pass/convert_to_interaction.hpp | 6 ++-- .../cpu_opset/x64/pass/mlp_fusion.hpp | 2 +- .../cpu_opset/x64/pass/qkv_proj_fusion.hpp | 4 +-- .../x64/pass/sdpa_fuse_transpose_reshape.hpp | 2 +- .../x64/pass/brgemm_to_brgemm_cpu.hpp | 2 +- .../x64/pass/eliminate_brgemm_copy_b.hpp | 2 +- .../snippets/x64/pass/remove_converts.hpp | 2 +- .../tpp/x64/pass/brgemm_to_brgemm_tpp.hpp | 2 +- .../tpp/x64/pass/eltwise_to_eltwise_tpp.hpp | 2 +- .../tpp/x64/pass/scalar_to_scalar_tpp.hpp | 2 +- .../bcast_and_pad_zp_buffers.hpp | 2 +- .../transformations/binary_conv_to_conv.hpp | 2 +- .../transformations/clamp_fp16_output.hpp | 2 +- .../transformations/convert_convolution.cpp | 4 +-- .../transformations/convert_matmul_to_fc.hpp | 2 +- .../convert_pooling_to_reduce.hpp | 2 +- .../transformations/convert_shapeof.hpp | 2 +- ...convert_stridedslices_to_variadicsplit.hpp | 2 +- .../decompose_reduce_scalar_output.hpp | 2 +- .../dynamic_quantize_fully_connected.hpp | 2 +- .../transformations/fc_convert_fusion.hpp | 2 +- .../transformations/fc_horizontal_fusion.hpp | 2 +- .../group_norm_composition.hpp | 2 +- .../increase_position_ids_precision.hpp | 2 +- .../transformations/indirect_kv_cache.hpp | 4 +-- .../transformations/kv_cache_fusion.cpp | 2 +- .../move_fc_reshape_to_weights.hpp | 2 +- .../transformations/transpose_fusion.hpp | 6 ++-- ...queeze_broadcast_reshape_matmul_fusion.hpp | 2 +- ...nsqueeze_broadcast_reshape_sdpa_fusion.hpp | 2 +- 288 files changed, 434 insertions(+), 421 deletions(-) diff --git a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp index 605921f67c33e9..7d9d8d0120588c 100644 --- a/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp +++ b/src/common/low_precision_transformations/include/low_precision/convert_subtract_constant.hpp @@ -31,6 +31,6 @@ class LP_TRANSFORMATIONS_API ConvertSubtractConstant; */ class ov::pass::low_precision::ConvertSubtractConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtractConstant", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertSubtractConstant"); ConvertSubtractConstant(const std::vector& constantPrecisions = {}); }; diff --git a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp index cf71ee66c5c328..46d3c4f930ba6d 100644 --- a/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp +++ b/src/common/low_precision_transformations/include/low_precision/markup_bias.hpp @@ -23,7 +23,7 @@ namespace low_precision { */ class LP_TRANSFORMATIONS_API MarkupBias : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkupBias", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkupBias"); MarkupBias(); }; diff --git a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp index e08ef95fdcec4a..bce4858c69648e 100644 --- a/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp +++ b/src/common/low_precision_transformations/include/low_precision/pull_reshape_through_dequantization.hpp @@ -30,6 +30,6 @@ class LP_TRANSFORMATIONS_API PullReshapeThroughDequantization; */ class ov::pass::low_precision::PullReshapeThroughDequantization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullReshapeThroughDequantization", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullReshapeThroughDequantization"); PullReshapeThroughDequantization(const std::vector& inputPrecisions = {}); }; diff --git a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp index 5dd59d02fbcea7..61edde02c9b36c 100644 --- a/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp +++ b/src/common/low_precision_transformations/include/low_precision/pull_transpose_through_dequantization.hpp @@ -30,6 +30,6 @@ class LP_TRANSFORMATIONS_API PullTransposeThroughDequantization; */ class ov::pass::low_precision::PullTransposeThroughDequantization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullTransposeThroughDequantization", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullTransposeThroughDequantization"); PullTransposeThroughDequantization(const std::vector& inputPrecisions = {}); }; diff --git a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp index 3bdb6a1a728e6d..dc75997e19a28e 100644 --- a/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp +++ b/src/common/snippets/include/snippets/pass/collapse_subgraph.hpp @@ -35,7 +35,7 @@ namespace pass { */ class TokenizeSnippets: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeSnippets", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TokenizeSnippets"); explicit TokenizeSnippets(const SnippetsTokenization::Config& config); static bool AppropriateForSubgraph(const std::shared_ptr&); diff --git a/src/common/snippets/include/snippets/pass/common_optimizations.hpp b/src/common/snippets/include/snippets/pass/common_optimizations.hpp index 951dd5a0834de4..ec3808add92908 100644 --- a/src/common/snippets/include/snippets/pass/common_optimizations.hpp +++ b/src/common/snippets/include/snippets/pass/common_optimizations.hpp @@ -19,7 +19,7 @@ class CommonOptimizations : public ov::pass::MatcherPass { friend class SplitDimensionM; public: - OPENVINO_RTTI("CommonOptimizations", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("CommonOptimizations"); CommonOptimizations(const SnippetsTokenization::Config& config); }; diff --git a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp index 0334cb3b4b18b8..aac774a2e23044 100644 --- a/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp +++ b/src/common/snippets/include/snippets/pass/explicit_transpose_matmul_inputs.hpp @@ -23,7 +23,7 @@ namespace pass { */ class ExplicitTransposeMatMulInputs: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ExplicitTransposeMatMulInputs", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ExplicitTransposeMatMulInputs"); ExplicitTransposeMatMulInputs(); // Return `True` if all inputs (except 0-th input) have scalar shape. Otherwise returns `False` diff --git a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp index e53132d04419ac..2630c8e259f8c4 100644 --- a/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp +++ b/src/common/snippets/include/snippets/pass/extract_reshapes_from_mha.hpp @@ -31,7 +31,7 @@ namespace pass { */ class ExtractReshapesFromMHA: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ExtractReshapesFromMHA", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ExtractReshapesFromMHA"); ExtractReshapesFromMHA(); }; diff --git a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp index a05008ca081ef7..5393034bf65775 100644 --- a/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp +++ b/src/common/snippets/include/snippets/pass/fuse_transpose_brgemm.hpp @@ -23,7 +23,7 @@ namespace pass { */ class FuseTransposeBrgemm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseTransposeBrgemm", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FuseTransposeBrgemm"); FuseTransposeBrgemm(); static bool is_supported_transpose(const Output& transpose_out); diff --git a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp index e416e3b6b7e3ad..fb286fff442eaa 100644 --- a/src/common/snippets/include/snippets/pass/gn_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/gn_decomposition.hpp @@ -17,7 +17,7 @@ namespace pass { */ class GNDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GNDecomposition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GNDecomposition"); GNDecomposition(); }; diff --git a/src/common/snippets/include/snippets/pass/gn_tokenization.hpp b/src/common/snippets/include/snippets/pass/gn_tokenization.hpp index 08ee090ba45c19..cd2be0fe4944cf 100644 --- a/src/common/snippets/include/snippets/pass/gn_tokenization.hpp +++ b/src/common/snippets/include/snippets/pass/gn_tokenization.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TokenizeGNSnippets : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeGNSnippets", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TokenizeGNSnippets"); TokenizeGNSnippets(); }; diff --git a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp index 90b23192fe61e5..2afc43af507e0d 100644 --- a/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp +++ b/src/common/snippets/include/snippets/pass/matmul_to_brgemm.hpp @@ -19,7 +19,7 @@ namespace pass { */ class MatMulToBrgemm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MatMulToBrgemm", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MatMulToBrgemm"); MatMulToBrgemm(); }; diff --git a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp index 5687a688999248..61910752e4cfe6 100644 --- a/src/common/snippets/include/snippets/pass/mha_tokenization.hpp +++ b/src/common/snippets/include/snippets/pass/mha_tokenization.hpp @@ -40,7 +40,7 @@ namespace pass { */ class TokenizeMHASnippets: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TokenizeMHASnippets", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TokenizeMHASnippets"); TokenizeMHASnippets(const SnippetsTokenization::Config& config); static std::vector get_fusion_transpose_order(size_t rank); diff --git a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp index 50426e47a7a52e..02e236d7d71422 100644 --- a/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/softmax_decomposition.hpp @@ -17,7 +17,7 @@ namespace pass { */ class SoftmaxDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxDecomposition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SoftmaxDecomposition"); SoftmaxDecomposition(); }; diff --git a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp index 2bec6a6680e2be..e7179ba0abdab4 100644 --- a/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/transpose_decomposition.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TransposeDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeDecomposition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeDecomposition"); TransposeDecomposition(); static bool is_supported_transpose(const Output& transpose_out); diff --git a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp index c5c3bec14a01e1..be271bc71f4b55 100644 --- a/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/adaptive_pool_to_reduce.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API AdaptivePoolToReduce; class ov::pass::AdaptivePoolToReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AdaptivePoolToReduce", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AdaptivePoolToReduce"); AdaptivePoolToReduce(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp index f3e4d4ac0bbb06..3dc06301c838f2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/add_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API AddFakeQuantizeFusion; */ class ov::pass::AddFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddFakeQuantizeFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AddFakeQuantizeFusion"); AddFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp index 34817d3592d478..c18f1c96bc41bc 100644 --- a/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/align_eltwise_input_ranks.hpp @@ -17,7 +17,7 @@ namespace pass { class TRANSFORMATIONS_API AlignEltwiseInputRanks : public MatcherPass { public: - OPENVINO_RTTI("AlignEltwiseInputRanks", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AlignEltwiseInputRanks"); AlignEltwiseInputRanks(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp index e3a9e5fc60f8be..2d458e5e18f87f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/augru_cell_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API AUGRUCellFusion; class ov::pass::AUGRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AUGRUCellFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AUGRUCellFusion"); AUGRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp index 225289077125cf..4ab3210a633798 100644 --- a/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/batch_to_space_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API BatchToSpaceFusion; class ov::pass::BatchToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BatchToSpaceFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BatchToSpaceFusion"); BatchToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp index b31ce32ba83e88..2e975e27b26f97 100644 --- a/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/binarize_weights.hpp @@ -76,6 +76,6 @@ class TRANSFORMATIONS_API BinarizeWeights; class ov::pass::BinarizeWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BinarizeWeights", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BinarizeWeights"); BinarizeWeights(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp index 80c912a3779ad2..0fffa95e62b04c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_elementwise_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastElementwiseFusion; class ov::pass::BroadcastElementwiseFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastElementwiseFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BroadcastElementwiseFusion"); BroadcastElementwiseFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp index 79478e7812180a..ff9b8151e7e47f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/broadcast_transition.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API BroadcastTransition; */ class ov::pass::BroadcastTransition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastTransition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BroadcastTransition"); BroadcastTransition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp index 6a94e46ba1260f..69870870d8758a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/clamp_fusion.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API ClampFusion; class ov::pass::ClampFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ClampFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ClampFusion"); ClampFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp index c870444ed80ddb..4384e109467a37 100644 --- a/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/compress_float_constants.hpp @@ -25,7 +25,7 @@ bool TRANSFORMATIONS_API is_model_optimized(const std::shared_ptr& mo */ class ov::pass::CompressFloatConstantsImpl : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CompressFloatConstantsImpl", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("CompressFloatConstantsImpl"); /// @brief Transformation constructor /// @param postponed If true then the transformation won't compress the constants /// keeping them in the original type but still will insert Converts. This is diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp index 871cb0da7832ad..2642e0cc35c39c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ConcatFusion; class ov::pass::ConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConcatFusion"); ConcatFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp index 8d00b84d224a87..ac7e508e6589a4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_reduce_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API ConcatReduceFusion; */ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReplaceConcatReduceByMinOrMax", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReplaceConcatReduceByMinOrMax"); ReplaceConcatReduceByMinOrMax(); }; @@ -34,7 +34,7 @@ class ov::pass::ReplaceConcatReduceByMinOrMax : public ov::pass::MatcherPass { */ class ov::pass::PullSqueezeThroughEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullSqueezeThroughEltwise", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullSqueezeThroughEltwise"); PullSqueezeThroughEltwise(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp index da469b2afdf77f..7859673f08e309 100644 --- a/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/concat_to_broadcast.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ConcatToBroadcast; */ class ov::pass::ConcatToBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConcatToBroadcast", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConcatToBroadcast"); ConcatToBroadcast(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp index 68b61076b98d35..0ae7cc67bd4be4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_mul_fusion.hpp @@ -23,24 +23,24 @@ class TRANSFORMATIONS_API GroupConvolutionBackpropDataMultiplyFusion; class ov::pass::ConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionMultiplyFusion"); ConvolutionMultiplyFusion(); }; class ov::pass::GroupConvolutionMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GroupConvolutionMultiplyFusion"); GroupConvolutionMultiplyFusion(); }; class ov::pass::ConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvolutionBackpropDataMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionBackpropDataMultiplyFusion"); ConvolutionBackpropDataMultiplyFusion(); }; class ov::pass::GroupConvolutionBackpropDataMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupConvolutionBackpropDataMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GroupConvolutionBackpropDataMultiplyFusion"); GroupConvolutionBackpropDataMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp index f06c9d92efdb09..b87013067ca18c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/conv_to_binary_conv.hpp @@ -72,6 +72,6 @@ class TRANSFORMATIONS_API ConvToBinaryConv; */ class ov::pass::ConvToBinaryConv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvToBinaryConv", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvToBinaryConv"); ConvToBinaryConv(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp index 4ce3162dc637e5..7dc5639d5e7cf4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_quantize_dequantize.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API ConvertQuantizeDequantize; class ov::pass::ConvertQuantizeDequantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertQuantizeDequantize", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertQuantizeDequantize"); ConvertQuantizeDequantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp index ae779da6aeff39..f20716cbdc7023 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convert_u4_weights_zero_point_to_scalar.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ConvertU4WeightsZeroPointToScalar; */ class ov::pass::ConvertU4WeightsZeroPointToScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertU4WeightsZeroPointToScalar", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertU4WeightsZeroPointToScalar"); ConvertU4WeightsZeroPointToScalar(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp index b56a9cfa6bf29e..b6b909f23afc18 100644 --- a/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/convolution_to_group_convolution_fusion.hpp @@ -24,7 +24,7 @@ namespace pass { */ class TRANSFORMATIONS_API ConvolutionToGroupConvolutionFusion : public MatcherPass { public: - OPENVINO_RTTI("ConvolutionToGroupConvolutionFusion", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvolutionToGroupConvolutionFusion"); ConvolutionToGroupConvolutionFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp index ffdbb3958bd6d6..2aa5b8f0efa8c1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/depth_to_space_fusion.hpp @@ -42,6 +42,6 @@ class TRANSFORMATIONS_API DepthToSpaceFusion; class ov::pass::DepthToSpaceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DepthToSpaceFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DepthToSpaceFusion"); DepthToSpaceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp index b8ce479969b14d..f946a1792c0323 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dilated_convolution_converter.hpp @@ -29,6 +29,6 @@ class TRANSFORMATIONS_API DilatedConvolutionConverter; class ov::pass::DilatedConvolutionConverter : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DilatedConvolutionConverter", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DilatedConvolutionConverter"); DilatedConvolutionConverter(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp index 61697ad97c0e48..de0840c0dce97f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_random_uniform_constant_folding.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DisableRandomUniformConstantFolding; */ class ov::pass::DisableRandomUniformConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableRandomUniformConstantFolding", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DisableRandomUniformConstantFolding"); DisableRandomUniformConstantFolding(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp index bfc56366bc4069..912c21a29ba7c6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/disable_shapeof_constant_folding.hpp @@ -19,6 +19,6 @@ class TRANSFORMATIONS_API DisableShapeOfConstantFolding; class ov::pass::DisableShapeOfConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableShapeOfConstantFolding", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DisableShapeOfConstantFolding"); explicit DisableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp index 317b4e1f83ce58..fb9f8d5b122110 100644 --- a/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/divide_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API DivideFusion; */ class ov::pass::DivideFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DivideFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DivideFusion"); DivideFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp index e59b7244bf28e7..6fdfaa7cc7caa1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/dropout_with_random_uniform_replacer.hpp @@ -36,6 +36,6 @@ class TRANSFORMATIONS_API DropoutWithRandomUniformReplacer; */ class ov::pass::DropoutWithRandomUniformReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DropoutWithRandomUniformReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DropoutWithRandomUniformReplacer"); DropoutWithRandomUniformReplacer(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp index 707aa555f9179b..d9b7db1d08519b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_duplicate_ti_inputs.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API EliminateDuplicateTIInputs; class ov::pass::EliminateDuplicateTIInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateDuplicateTIInputs", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateDuplicateTIInputs"); EliminateDuplicateTIInputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp index b811ab5ca015d5..818e312e91f3d2 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_loop_inputs_outputs.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API EliminateLoopInputsOutputs; class ov::pass::EliminateLoopInputsOutputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateLoopInputsOutputs", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateLoopInputsOutputs"); EliminateLoopInputsOutputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp index c2c94fe4e28d25..95f52601c031ab 100644 --- a/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/eliminate_unsqueeze_gather.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API EliminateGatherUnsqueeze; class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueezeGather", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateUnsqueezeGather"); EliminateUnsqueezeGather(); }; @@ -38,6 +38,6 @@ class ov::pass::EliminateUnsqueezeGather : public ov::pass::MatcherPass { class ov::pass::EliminateGatherUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateGatherUnsqueeze", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateGatherUnsqueeze"); EliminateGatherUnsqueeze(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp index 08b81c3d1020b7..dc81277841570d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/enable_shapeof_constant_folding.hpp @@ -17,7 +17,7 @@ namespace pass { */ class TRANSFORMATIONS_API EnableShapeOfConstantFolding : public MatcherPass { public: - OPENVINO_RTTI("EnableShapeOfConstantFolding", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EnableShapeOfConstantFolding"); explicit EnableShapeOfConstantFolding(bool check_shape = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp index 351378845a87d3..37a67fa2d20594 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fold_subgraph_empty_inputs.hpp @@ -34,7 +34,7 @@ TRANSFORMATIONS_API bool fold_subgraph_empty_inputs_is_disabled(const std::share class ov::pass::FoldSubgraphEmptyInputs : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FoldSubgraphEmptyInputs", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FoldSubgraphEmptyInputs"); FoldSubgraphEmptyInputs(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp index c8a0be174d64e3..d3215c8cb7168d 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_mul_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeMulFusion; class ov::pass::FakeQuantizeMulFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeMulFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FakeQuantizeMulFusion"); FakeQuantizeMulFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp index f6be3a0cf8d8f6..361872e80b1d60 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fq_reshape_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API FakeQuantizeReshapeFusion; class ov::pass::FakeQuantizeReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FakeQuantizeReshapeFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FakeQuantizeReshapeFusion"); FakeQuantizeReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp index e62d95b10c3cea..8771681e720dbc 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gelu_fusion.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API GeluFusionWithTanhNoPower; */ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfOne", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfOne"); GeluFusionWithErfOne(); }; @@ -42,7 +42,7 @@ class ov::pass::GeluFusionWithErfOne : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfTwo", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfTwo"); GeluFusionWithErfTwo(); }; @@ -53,7 +53,7 @@ class ov::pass::GeluFusionWithErfTwo : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfThree", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfThree"); GeluFusionWithErfThree(); }; @@ -64,7 +64,7 @@ class ov::pass::GeluFusionWithErfThree : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithErfFour", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithErfFour"); GeluFusionWithErfFour(); }; @@ -75,7 +75,7 @@ class ov::pass::GeluFusionWithErfFour : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanh", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithTanh"); GeluFusionWithTanh(); }; @@ -86,7 +86,7 @@ class ov::pass::GeluFusionWithTanh : public ov::pass::MatcherPass { */ class ov::pass::GeluFusionWithTanhNoPower : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GeluFusionWithTanhNoPower", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GeluFusionWithTanhNoPower"); GeluFusionWithTanhNoPower(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp index c5977f2b750810..e55a76e031f8f6 100644 --- a/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/glu_fusion.hpp @@ -13,7 +13,7 @@ namespace pass { class TRANSFORMATIONS_API GLUFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GLUFusion", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GLUFusion"); GLUFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp index ac47496bd95ba1..12031de6fc1c92 100644 --- a/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/gru_cell_fusion.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API GRUCellFusion; class ov::pass::GRUCellFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GRUCellFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GRUCellFusion"); GRUCellFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp index fb755843b57467..b225fe2404c3d4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hsigmoid_fusion.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API HSigmoidFusionWithClampDiv; */ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluDiv", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithReluDiv"); HSigmoidFusionWithReluDiv(); }; @@ -39,7 +39,7 @@ class ov::pass::HSigmoidFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithReluMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithReluMul"); HSigmoidFusionWithReluMul(); }; @@ -49,7 +49,7 @@ class ov::pass::HSigmoidFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithoutRelu", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithoutRelu"); HSigmoidFusionWithoutRelu(); }; @@ -59,7 +59,7 @@ class ov::pass::HSigmoidFusionWithoutRelu : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithClampMul"); HSigmoidFusionWithClampMul(); }; @@ -69,7 +69,7 @@ class ov::pass::HSigmoidFusionWithClampMul : public ov::pass::MatcherPass { */ class ov::pass::HSigmoidFusionWithClampDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSigmoidFusionWithClampDiv", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSigmoidFusionWithClampDiv"); HSigmoidFusionWithClampDiv(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp index 3e5fbf69eae513..b746a531d8d38c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/hswish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API HSwishFusionWithClamp; */ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluDiv", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithReluDiv"); HSwishFusionWithReluDiv(); }; @@ -38,7 +38,7 @@ class ov::pass::HSwishFusionWithReluDiv : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithReluMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithReluMul"); HSwishFusionWithReluMul(); }; @@ -48,7 +48,7 @@ class ov::pass::HSwishFusionWithReluMul : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithHSigmoid", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithHSigmoid"); HSwishFusionWithHSigmoid(); }; @@ -58,7 +58,7 @@ class ov::pass::HSwishFusionWithHSigmoid : public ov::pass::MatcherPass { */ class ov::pass::HSwishFusionWithClamp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("HSwishFusionWithClamp", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("HSwishFusionWithClamp"); HSwishFusionWithClamp(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp index 075c630cd74cef..af6ba9055b45e1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/interpolate_sequence_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API InterpolateSequenceFusion; */ class ov::pass::InterpolateSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InterpolateSequenceFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("InterpolateSequenceFusion"); InterpolateSequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp index 303b6b92364975..93765f2e39c2ef 100644 --- a/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/leaky_relu_fusion.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API LeakyReluFusion; class ov::pass::LeakyReluFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LeakyReluFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("LeakyReluFusion"); LeakyReluFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp index 05f4486866d519..c6af6bdd51fddd 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lin_op_sequence_fusion.hpp @@ -23,19 +23,19 @@ class TRANSFORMATIONS_API MultiplyMultiplyFusion; class ov::pass::AddMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AddMultiplyFusion"); AddMultiplyFusion(); }; class ov::pass::AddAddFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AddAddFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AddAddFusion"); AddAddFusion(); }; class ov::pass::MultiplyMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MultiplyMultiplyFusion"); MultiplyMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp index 5988af71dd317c..e31f99fdb63872 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lora_subgraph_fusion.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API LoraSubgraphFusion; class ov::pass::LoraSubgraphFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LoraSubgraphFusion", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("LoraSubgraphFusion"); LoraSubgraphFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp index a2de083475686a..bf15aa80288f65 100644 --- a/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/lstm_cell_fusion.hpp @@ -24,7 +24,7 @@ class TRANSFORMATIONS_API LSTMCellFusionWithSplitWeights; */ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithJointWeights", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("LSTMCellFusionWithJointWeights"); LSTMCellFusionWithJointWeights(); }; @@ -35,7 +35,7 @@ class ov::pass::LSTMCellFusionWithJointWeights : public ov::pass::MatcherPass { */ class ov::pass::LSTMCellFusionWithSplitWeights : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LSTMCellFusionWithSplitWeights", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("LSTMCellFusionWithSplitWeights"); LSTMCellFusionWithSplitWeights(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp index bc8113b77dac85..09db8db879dbeb 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mark_rope_input_to_keep_in_mixed_precision.hpp @@ -27,7 +27,7 @@ namespace pass { class TRANSFORMATIONS_API MarkRopeInputsToKeepInMixedPrecision : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkRopeInputsToKeepInMixedPrecision", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkRopeInputsToKeepInMixedPrecision"); MarkRopeInputsToKeepInMixedPrecision(); private: @@ -35,4 +35,4 @@ class TRANSFORMATIONS_API MarkRopeInputsToKeepInMixedPrecision : public ov::pass }; } // namespace pass -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp index 5b6805e39c75d0..313f5cd244a32e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_const_transposes_extraction.hpp @@ -18,7 +18,7 @@ namespace pass { class TRANSFORMATIONS_API MatMulConstTransposesExtraction : public MatcherPass { public: - OPENVINO_RTTI("MatMulConstTransposesExtraction", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MatMulConstTransposesExtraction"); MatMulConstTransposesExtraction(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp index 5e7d947a9a234e..767f44a8393e74 100644 --- a/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/matmul_multiply_fusion.hpp @@ -58,6 +58,6 @@ class TRANSFORMATIONS_API MatMulMultiplyFusion; */ class ov::pass::MatMulMultiplyFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MatMulMultiplyFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MatMulMultiplyFusion"); MatMulMultiplyFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp index 0bb9f8ec73ec1a..c905ee2f336232 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API MishFusion; */ class ov::pass::MishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MishFusion"); MishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp index 9c6af23a89c290..07c1cd1cfe6b6f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/move_eltwise_up_data_movement.hpp @@ -29,7 +29,7 @@ namespace pass { /// └────────────────┘ └────────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovScalar", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MoveEltwiseUpThroughDataMovScalar"); MoveEltwiseUpThroughDataMovScalar(std::vector allowed_data_movement_ops); }; @@ -50,7 +50,7 @@ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovScalar : public ov::pass::M /// └────────────────┘ └────────────────────┘ └───────────┘ └─────────────┘ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovPerChannel : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveEltwiseUpThroughDataMovPerChannel", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MoveEltwiseUpThroughDataMovPerChannel"); MoveEltwiseUpThroughDataMovPerChannel(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp index c66a03399b73c3..84fe28e512549c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_conv_fusion.hpp @@ -80,24 +80,24 @@ class TRANSFORMATIONS_API MultiplyGroupConvolutionBackpropDataFusion; class ov::pass::MultiplyConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MultiplyConvolutionFusion"); MultiplyConvolutionFusion(); }; class ov::pass::MultiplyGroupConvolutionFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MultiplyGroupConvolutionFusion"); MultiplyGroupConvolutionFusion(); }; class ov::pass::MultiplyConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyConvolutionBackpropDataFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MultiplyConvolutionBackpropDataFusion"); MultiplyConvolutionBackpropDataFusion(); }; class ov::pass::MultiplyGroupConvolutionBackpropDataFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MultiplyGroupConvolutionBackpropDataFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MultiplyGroupConvolutionBackpropDataFusion"); MultiplyGroupConvolutionBackpropDataFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp index 50b2f93832fb0b..e5afe2b7ace09c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mul_fake_quantize_fusion.hpp @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API MulFakeQuantizeFusion; */ class ov::pass::MulFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MulFakeQuantizeFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MulFakeQuantizeFusion"); MulFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp index a4b6d83ba11208..ec6959e9c1845f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/mvn_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API MVNFusionWithConstantsInside; */ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithoutConstants", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MVNFusionWithoutConstants"); MVNFusionWithoutConstants(); }; @@ -40,7 +40,7 @@ class ov::pass::MVNFusionWithoutConstants : public ov::pass::MatcherPass { */ class ov::pass::MVNFusionWithConstantsInside : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MVNFusionWithConstantsInside", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MVNFusionWithConstantsInside"); MVNFusionWithConstantsInside(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp index 44f8b28dfa72d9..338e48afd77f64 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nearest_neighbor_upsampling_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API NearestNeighborUpsamplingFusion; */ class ov::pass::NearestNeighborUpsamplingFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NearestNeighborUpsamplingFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("NearestNeighborUpsamplingFusion"); NearestNeighborUpsamplingFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp index 85e233bbcd99ff..e0ad6ccb98453a 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nonzero_horizontal_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API NonZeroHorizontalFusion; */ class ov::pass::NonZeroHorizontalFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NonZeroHorizontalFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("NonZeroHorizontalFusion"); NonZeroHorizontalFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp index c08d0f10c95358..7d9d137899b9ce 100644 --- a/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/nop_elimination.hpp @@ -49,7 +49,7 @@ class ov::pass::EliminateReduceReshape : public ov::pass::MatcherPass { */ class ov::pass::EliminatePad : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminatePad", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminatePad"); EliminatePad(); }; @@ -59,7 +59,7 @@ class ov::pass::EliminatePad : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvert", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateConvert"); EliminateConvert(); }; @@ -69,7 +69,7 @@ class ov::pass::EliminateConvert : public ov::pass::MatcherPass { */ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConvertNonZero", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateConvertNonZero"); EliminateConvertNonZero(); }; @@ -79,7 +79,7 @@ class ov::pass::EliminateConvertNonZero : public ov::pass::MatcherPass { */ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateConcat", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateConcat"); EliminateConcat(); }; @@ -89,7 +89,7 @@ class ov::pass::EliminateConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplit", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateSplit"); EliminateSplit(); }; @@ -99,7 +99,7 @@ class ov::pass::EliminateSplit : public ov::pass::MatcherPass { */ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSqueeze", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateSqueeze"); EliminateSqueeze(); }; @@ -109,7 +109,7 @@ class ov::pass::EliminateSqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateUnsqueeze", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateUnsqueeze"); EliminateUnsqueeze(); }; @@ -119,7 +119,7 @@ class ov::pass::EliminateUnsqueeze : public ov::pass::MatcherPass { */ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateTranspose", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateTranspose"); EliminateTranspose(); }; @@ -129,7 +129,7 @@ class ov::pass::EliminateTranspose : public ov::pass::MatcherPass { */ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateEltwise", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateEltwise"); EliminateEltwise(); }; @@ -139,7 +139,7 @@ class ov::pass::EliminateEltwise : public ov::pass::MatcherPass { */ class ov::pass::EliminateScatterUpdate : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateScatterUpdate", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateScatterUpdate"); EliminateScatterUpdate(); }; @@ -155,7 +155,7 @@ class ov::pass::NopElimination : public GraphRewrite { */ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSplitConcat", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateSplitConcat"); EliminateSplitConcat(); }; @@ -165,7 +165,7 @@ class ov::pass::EliminateSplitConcat : public ov::pass::MatcherPass { */ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateNopBroadcast", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateNopBroadcast"); EliminateNopBroadcast(); }; @@ -177,7 +177,7 @@ class ov::pass::EliminateNopBroadcast : public ov::pass::MatcherPass { */ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSliceBeforeGatherElements", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateSliceBeforeGatherElements"); EliminateSliceBeforeGatherElements(); }; @@ -188,7 +188,7 @@ class ov::pass::EliminateSliceBeforeGatherElements : public ov::pass::MatcherPas */ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSlice", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateStridedSlice"); EliminateStridedSlice(); }; @@ -199,7 +199,7 @@ class ov::pass::EliminateStridedSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateSlice", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateSlice"); EliminateSlice(); }; @@ -210,7 +210,7 @@ class ov::pass::EliminateSlice : public ov::pass::MatcherPass { */ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateStridedSliceByShape", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateStridedSliceByShape"); EliminateStridedSliceByShape(); }; @@ -222,6 +222,6 @@ class ov::pass::EliminateStridedSliceByShape : public ov::pass::MatcherPass { */ class ov::pass::PrepareShapeOpsForEliminationAroundBE : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrepareShapeOpsForEliminationAroundBE", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PrepareShapeOpsForEliminationAroundBE"); PrepareShapeOpsForEliminationAroundBE(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp index 7989e290a23b1e..01ac902140f01b 100644 --- a/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/normalize_l2_fusion.hpp @@ -31,6 +31,6 @@ class TRANSFORMATIONS_API NormalizeL2Fusion; */ class ov::pass::NormalizeL2Fusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NormalizeL2Fusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("NormalizeL2Fusion"); NormalizeL2Fusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp index 0858b62486a264..7af47440e8c9c4 100644 --- a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp @@ -71,7 +71,7 @@ class ov::pass::GroupedSliceToVSplitOptimization : public ov::pass::ModelPass { */ class ov::pass::SliceSequenceToSingleSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SliceSequenceToSingleSlice", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SliceSequenceToSingleSlice"); SliceSequenceToSingleSlice(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp index 0d34891c70171c..9503882598d3a0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pad_fusion.hpp @@ -30,7 +30,7 @@ class TRANSFORMATIONS_API PadFusionGroupConvolutionBackpropData; */ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionAvgPool", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PadFusionAvgPool"); PadFusionAvgPool(); }; @@ -43,7 +43,7 @@ class ov::pass::PadFusionAvgPool : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolution", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PadFusionConvolution"); PadFusionConvolution(); }; @@ -57,7 +57,7 @@ class ov::pass::PadFusionConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionConvolutionBackpropData", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PadFusionConvolutionBackpropData"); PadFusionConvolutionBackpropData(); }; @@ -70,7 +70,7 @@ class ov::pass::PadFusionConvolutionBackpropData : public ov::pass::MatcherPass */ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolution", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PadFusionGroupConvolution"); PadFusionGroupConvolution(); }; @@ -84,7 +84,7 @@ class ov::pass::PadFusionGroupConvolution : public ov::pass::MatcherPass { */ class ov::pass::PadFusionGroupConvolutionBackpropData : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PadFusionGroupConvolutionBackpropData", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PadFusionGroupConvolutionBackpropData"); PadFusionGroupConvolutionBackpropData(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp index 277c8eb893099d..8b6ff7485e4541 100644 --- a/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/prelu_fusion.hpp @@ -41,7 +41,7 @@ class TRANSFORMATIONS_API PReluFusionNegReluMulAdd; */ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeAdd", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegativeAdd"); PReluFusionNegativeAdd(); }; @@ -60,7 +60,7 @@ class ov::pass::PReluFusionNegativeAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegativeSub", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegativeSub"); PReluFusionNegativeSub(); }; @@ -79,7 +79,7 @@ class ov::pass::PReluFusionNegativeSub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplyAdd", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionMultiplyAdd"); PReluFusionMultiplyAdd(); }; @@ -98,7 +98,7 @@ class ov::pass::PReluFusionMultiplyAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionMultiplySub", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionMultiplySub"); PReluFusionMultiplySub(); }; @@ -119,7 +119,7 @@ class ov::pass::PReluFusionMultiplySub : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionAbsSubMulMulAdd", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionAbsSubMulMulAdd"); PReluFusionAbsSubMulMulAdd(); }; @@ -138,7 +138,7 @@ class ov::pass::PReluFusionAbsSubMulMulAdd : public ov::pass::MatcherPass { */ class ov::pass::PReluFusionNegReluMulAdd : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PReluFusionNegReluMulAdd", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PReluFusionNegReluMulAdd"); PReluFusionNegReluMulAdd(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp index bdd1e119393130..69be8036b5a0ab 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_through_reduce.hpp @@ -25,7 +25,7 @@ class TRANSFORMATIONS_API PullReshapeThroughReduce; */ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullUnsqueezeThroughReduce", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullUnsqueezeThroughReduce"); PullUnsqueezeThroughReduce(); }; @@ -37,7 +37,7 @@ class ov::pass::PullUnsqueezeThroughReduce : public ov::pass::MatcherPass { */ class ov::pass::PullReshapeThroughReduce : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullReshapeThroughReduce", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullReshapeThroughReduce"); PullReshapeThroughReduce(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp index d18b037776a2a3..5e92d0eab4247c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/pull_transpose_through_fq.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API PullTransposeThroughFQUp; class ov::pass::PullTransposeThroughFQUp : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PullTransposeThroughFQUp", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PullTransposeThroughFQUp"); PullTransposeThroughFQUp(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp index 7dbedee3aa99f7..1f4c76ee810612 100644 --- a/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/random_uniform_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API RandomUniformFusion; */ class ov::pass::RandomUniformFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RandomUniformFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RandomUniformFusion"); RandomUniformFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp index 51d417e8304b9b..a24ce14c43aaeb 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_merge.hpp @@ -64,6 +64,6 @@ class TRANSFORMATIONS_API ReduceMerge; */ class ov::pass::ReduceMerge : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceMerge", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReduceMerge"); ReduceMerge(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp index 0d856f011aea62..b7c5978e1458e1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reduce_reshape_fusion.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReduceReshapeFusion; */ class ov::pass::ReduceReshapeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReduceReshapeFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReduceReshapeFusion"); ReduceReshapeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp index afd730a297205d..04ffa7ddb4b8b0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/relu_fake_quantize_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReluFakeQuantizeFusion; class ov::pass::ReluFakeQuantizeFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReluFakeQuantizeFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReluFakeQuantizeFusion"); ReluFakeQuantizeFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp index 21780d9c7dc2e2..f4102b8c2eb4ff 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_concat_zero_dim_input.hpp @@ -24,7 +24,7 @@ class OPENVINO_API DisableRemoveConcatZeroDimInput; class RemoveConcatZeroDimInput : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConcatZeroDimInput", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RemoveConcatZeroDimInput"); RemoveConcatZeroDimInput(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp index 31d3b3117d41ca..54947f1ad82175 100644 --- a/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/remove_filtering_boxes_by_size.hpp @@ -27,6 +27,6 @@ class ov::pass::FuseFilteringBoxesBySize : public ov::pass::GraphRewrite { class ov::pass::RemoveFilteringBoxesBySize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveFilteringBoxesBySize", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RemoveFilteringBoxesBySize"); RemoveFilteringBoxesBySize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp index e96395ac302dc4..6c5a629a2fa840 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_prelu.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API ReshapePRelu; class ov::pass::ReshapePRelu : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapePRelu", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapePRelu"); ReshapePRelu(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp index 622cff8915488d..5aaed4a6be32ad 100644 --- a/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/reshape_sequence_fusion.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API ReshapeSequenceFusion; class ov::pass::ReshapeSequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSequenceFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeSequenceFusion"); ReshapeSequenceFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp index 1d3e6b02907699..0a63b3cb6e9a7c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/rms_fusion.hpp @@ -29,7 +29,7 @@ namespace pass { class RMSFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RMSFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RMSFusion"); RMSFusion(bool force_tail_convert = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp index cfe1a7d1fc12ce..1146565efa1b48 100644 --- a/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/select_with_one_value_condition.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SelectWithOneValueCondition; class ov::pass::SelectWithOneValueCondition : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SelectWithOneValueCondition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SelectWithOneValueCondition"); SelectWithOneValueCondition(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp index f20f5d2b601a45..a4f432b8bd584f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/sequence_fusion.hpp @@ -30,6 +30,6 @@ class TRANSFORMATIONS_API SequenceFusion; class ov::pass::SequenceFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SequenceFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SequenceFusion"); SequenceFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp index e73bc4879abe11..b88cbdb64731a0 100644 --- a/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/shuffle_channels_fusion.hpp @@ -34,6 +34,6 @@ class TRANSFORMATIONS_API ShuffleChannelsFusion; class ov::pass::ShuffleChannelsFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ShuffleChannelsFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ShuffleChannelsFusion"); ShuffleChannelsFusion(const bool reshape_constants_check); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp index dd6f85ce7ae7f4..3c8b46def2fb72 100644 --- a/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/simplify_shape_of_sub_graph.hpp @@ -31,7 +31,7 @@ class TRANSFORMATIONS_API AbsSinking; */ class ov::pass::GroupedGatherElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GroupedGatherElimination", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GroupedGatherElimination"); GroupedGatherElimination(); }; @@ -55,7 +55,7 @@ class ov::pass::SimplifyShapeOfSubGraph : public ov::pass::ModelPass { */ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GatherNopElimination", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GatherNopElimination"); GatherNopElimination(); }; @@ -67,7 +67,7 @@ class ov::pass::GatherNopElimination : public ov::pass::MatcherPass { */ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifyGatherShapeOf", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SimplifyGatherShapeOf"); SimplifyGatherShapeOf(); }; @@ -78,7 +78,7 @@ class ov::pass::SimplifyGatherShapeOf : public ov::pass::MatcherPass { */ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SimplifySecondInputOfReshape", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SimplifySecondInputOfReshape"); SimplifySecondInputOfReshape(); }; @@ -90,6 +90,6 @@ class ov::pass::SimplifySecondInputOfReshape : public ov::pass::MatcherPass { */ class ov::pass::AbsSinking : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AbsSinking", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AbsSinking"); AbsSinking(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp index a2b98bee22bc39..3e937ba217d66c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/skip_gather_before_transpose_and_reshape.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API SkipGatherBeforeTransposeAndReshape; */ class ov::pass::SkipGatherBeforeTransposeAndReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SkipGatherBeforeTransposeAndReshape", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SkipGatherBeforeTransposeAndReshape"); SkipGatherBeforeTransposeAndReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp index 99e3d291445b15..07524e3799cf64 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softmax_fusion.hpp @@ -103,6 +103,6 @@ class TRANSFORMATIONS_API SoftmaxFusion; class ov::pass::SoftmaxFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftmaxFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SoftmaxFusion"); SoftmaxFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp index 0a357247127a7d..3dbadc5c2b6046 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusFusion; */ class ov::pass::SoftPlusFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SoftPlusFusion"); SoftPlusFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp index c66cd78175270e..cbc0194ad20c62 100644 --- a/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/softplus_to_mish_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SoftPlusToMishFusion; */ class ov::pass::SoftPlusToMishFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SoftPlusToMishFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SoftPlusToMishFusion"); SoftPlusToMishFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp index 5c545c6727d0e0..aa95f690512b42 100644 --- a/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/space_to_batch_fusion.hpp @@ -32,6 +32,6 @@ class TRANSFORMATIONS_API SpaceToBatchFusion; class ov::pass::SpaceToBatchFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SpaceToBatchFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SpaceToBatchFusion"); SpaceToBatchFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp index 04c19b99e7ece0..72887dd32d9008 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_concat_pair_to_interpolate_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitConcatPairToInterpolateFusion; */ class ov::pass::SplitConcatPairToInterpolateFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitConcatPairToInterpolateFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SplitConcatPairToInterpolateFusion"); SplitConcatPairToInterpolateFusion(bool use_shape_for_elimination = true); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp index 66cd941f76699b..3cd3c9429be0f1 100644 --- a/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/split_squeeze_concat_fusion.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API SplitSqueezeConcatFusion; */ class ov::pass::SplitSqueezeConcatFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SplitSqueezeConcatFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SplitSqueezeConcatFusion"); SplitSqueezeConcatFusion(bool use_shapes); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp index ffd552fc4d36d7..c16c5186afe213 100644 --- a/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/strides_optimization.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API StridesOptimization; */ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvStridesPropagation", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvStridesPropagation"); ConvStridesPropagation(); }; @@ -40,7 +40,7 @@ class ov::pass::ConvStridesPropagation : public ov::pass::MatcherPass { */ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SupportedNodesStridesPropagation", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SupportedNodesStridesPropagation"); SupportedNodesStridesPropagation(); }; @@ -51,7 +51,7 @@ class ov::pass::SupportedNodesStridesPropagation : public ov::pass::MatcherPass */ class ov::pass::UnsupportedNodesStridesPropagation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("UnsupportedNodesStridesPropagation", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("UnsupportedNodesStridesPropagation"); UnsupportedNodesStridesPropagation(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp index 15d65ce708879c..1963f226b830be 100644 --- a/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/subtract_fusion.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API SubtractFusion; */ class ov::pass::SubtractFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SubtractFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SubtractFusion"); SubtractFusion(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp index 4054fc9a8cf854..59333215cbe814 100644 --- a/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/swish_fusion.hpp @@ -28,7 +28,7 @@ class TRANSFORMATIONS_API SwishFusionWithoutBeta; */ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoid", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithSigmoid"); SwishFusionWithSigmoid(); }; @@ -38,7 +38,7 @@ class ov::pass::SwishFusionWithSigmoid : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithSigmoidWithBeta", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithSigmoidWithBeta"); SwishFusionWithSigmoidWithBeta(); }; @@ -48,7 +48,7 @@ class ov::pass::SwishFusionWithSigmoidWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithBeta", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithBeta"); SwishFusionWithBeta(); }; @@ -58,7 +58,7 @@ class ov::pass::SwishFusionWithBeta : public ov::pass::MatcherPass { */ class ov::pass::SwishFusionWithoutBeta : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SwishFusionWithoutBeta", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SwishFusionWithoutBeta"); SwishFusionWithoutBeta(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp index b57eae1076c5c1..b250ce1d3c3866 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_reshape_elimination_for_matmul.hpp @@ -26,6 +26,6 @@ class TRANSFORMATIONS_API TransposeReshapeEliminationForMatmul; */ class ov::pass::TransposeReshapeEliminationForMatmul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReshapeEliminationForMatmul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeReshapeEliminationForMatmul"); TransposeReshapeEliminationForMatmul(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp index bebeaa2716cef5..ccb33f1445999e 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_sinking.hpp @@ -29,7 +29,7 @@ class TRANSFORMATIONS_API TransposeFuse; */ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeReduction", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeReduction"); TransposeReduction(); }; @@ -40,7 +40,7 @@ class ov::pass::TransposeReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFQReduction", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeFQReduction"); TransposeFQReduction(); }; @@ -50,7 +50,7 @@ class ov::pass::TransposeFQReduction : public ov::pass::MatcherPass { */ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeConvert", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeConvert"); TransposeConvert(); }; @@ -60,7 +60,7 @@ class ov::pass::TransposeConvert : public ov::pass::MatcherPass { */ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeEltwise", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeEltwise"); TransposeEltwise(); }; @@ -71,7 +71,7 @@ class ov::pass::TransposeEltwise : public ov::pass::MatcherPass { */ class ov::pass::TransposeFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeFuse", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeFuse"); TransposeFuse(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp index 11fed1dc4b1a2f..3a99d47858ec6f 100644 --- a/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/transpose_to_reshape.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TransposeToReshape; */ class ov::pass::TransposeToReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeToReshape", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeToReshape"); TransposeToReshape(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp index e5fc912a8a8b5b..1b77d8f519d391 100644 --- a/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/weights_dequantize_to_fake_quantize.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API WeightsDequantizeToFakeQuantize; */ class ov::pass::WeightsDequantizeToFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WeightsDequantizeToFakeQuantize", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("WeightsDequantizeToFakeQuantize"); WeightsDequantizeToFakeQuantize(); }; diff --git a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp index 13fbb264df7b8a..e0ef8b68bdaf04 100644 --- a/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/wrap_interpolate_into_transposes.hpp @@ -35,6 +35,6 @@ class TRANSFORMATIONS_API WrapInterpolateIntoTransposes; */ class ov::pass::WrapInterpolateIntoTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("WrapInterpolateIntoTransposes", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("WrapInterpolateIntoTransposes"); WrapInterpolateIntoTransposes(); }; diff --git a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp index f2b26778eeeaa5..b9522d4a4273dd 100644 --- a/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp +++ b/src/common/transformations/include/transformations/flush_fp32_subnormals_to_zero.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API FlushFP32SubnormalsToZero; */ class ov::pass::FlushFP32SubnormalsToZero : public MatcherPass { public: - OPENVINO_RTTI("FlushFP32SubnormalsToZero", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FlushFP32SubnormalsToZero"); FlushFP32SubnormalsToZero(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp index d630f4f6219e8f..df5ebddcba2c5a 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_decompression_convert_constant_folding.hpp @@ -26,7 +26,7 @@ class TRANSFORMATIONS_API MarkCompressedFloatConstants; */ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EnableDecompressionConvertConstantFolding", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EnableDecompressionConvertConstantFolding"); EnableDecompressionConvertConstantFolding(); }; @@ -36,7 +36,7 @@ class ov::pass::EnableDecompressionConvertConstantFolding : public ov::pass::Mat */ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DisableDecompressionConvertConstantFolding", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DisableDecompressionConvertConstantFolding"); DisableDecompressionConvertConstantFolding(); }; @@ -46,7 +46,7 @@ class ov::pass::DisableDecompressionConvertConstantFolding : public ov::pass::Ma */ class ov::pass::KeepConstAndDecompression : public MatcherPass { public: - OPENVINO_RTTI("KeepConstAndDecompression", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("KeepConstAndDecompression"); KeepConstAndDecompression(); }; @@ -56,7 +56,7 @@ class ov::pass::KeepConstAndDecompression : public MatcherPass { */ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { public: - OPENVINO_RTTI("KeepConstantsPrecisionAndAddConverts", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("KeepConstantsPrecisionAndAddConverts"); KeepConstantsPrecisionAndAddConverts(); }; @@ -69,6 +69,6 @@ class ov::pass::KeepConstantsPrecisionAndAddConverts : public MatcherPass { */ class ov::pass::MarkCompressedFloatConstants : public MatcherPass { public: - OPENVINO_RTTI("KeepFWPrecisionFor16BitFloatConstants", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("KeepFWPrecisionFor16BitFloatConstants"); MarkCompressedFloatConstants(); }; diff --git a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp index 423dab8b5b5dc5..c1f948299c4321 100644 --- a/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp +++ b/src/common/transformations/include/transformations/fp16_compression/mark_floatpoint_range.hpp @@ -18,7 +18,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkFloatingPointRange : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MarkFloatingPointRange", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkFloatingPointRange"); MarkFloatingPointRange(); }; diff --git a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp index 4bc9b28cead2b3..119310157e2833 100644 --- a/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp +++ b/src/common/transformations/include/transformations/low_precision/mark_dequantization_subgraph.hpp @@ -21,7 +21,7 @@ namespace pass { */ class TRANSFORMATIONS_API MarkDequantizationSubgraph : public MatcherPass { public: - OPENVINO_RTTI("MarkDequantizationSubgraph", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkDequantizationSubgraph"); MarkDequantizationSubgraph(const element::TypeVector& precisions, const bool fold_subtract_const = false, const bool disable_fold_multiply_const = false); 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 1e99ab873891b6..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", ov::pass::MatcherPass); + 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 8d1aa266e6ad47..f60a6866762b0b 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 76aacd22783509..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", MatcherPass); + 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 08345a7f219672..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", ov::pass::MatcherPass); + 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 05fac62da1b6b5..cf5bc83526161a 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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseAndToLogicalAnd"); ConvertBitwiseAndToLogicalAnd(); }; class ov::pass::ConvertBitwiseNotToLogicalNot : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseNotToLogicalNot", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseNotToLogicalNot"); ConvertBitwiseNotToLogicalNot(); }; class ov::pass::ConvertBitwiseOrToLogicalOr : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseOrToLogicalOr", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertBitwiseOrToLogicalOr"); ConvertBitwiseOrToLogicalOr(); }; class ov::pass::ConvertBitwiseXorToLogicalXor : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBitwiseXorToLogicalXor", "0", ov::pass::MatcherPass); + 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 b4be66e220c096..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", ov::pass::MatcherPass); + 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 dfdd8d3e15bb89..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", ov::pass::MatcherPass); + 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 5fc2399da4289a..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", ov::pass::MatcherPass); + 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 132fce3e72f598..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", ov::pass::MatcherPass); + 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 87cf0853d9d8c5..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", ov::pass::MatcherPass); + 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 f225692dc91bdd..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", ov::pass::MatcherPass); + 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 f3750aa74c4870..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertDivide"); ConvertDivide(); }; class ov::pass::ConvertDivideWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertDivideWithConstant", "0", ov::pass::MatcherPass); + 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 1cb420016a51fc..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", MatcherPass); + 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 1f1653316e4e84..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", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3"); ConvertEmbeddingBagPacked15ToEmbeddingBagPackedSum3(); }; 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 13d26e195fa6b6..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", ov::pass::MatcherPass); + 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 be7c25a4ac96d1..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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 e3a218d6e6b948..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", ov::pass::MatcherPass); + 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 69704442b5dab8..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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 8a6367b755d275..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", ov::pass::MatcherPass); + 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 1b091ee3b2a2c4..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", ov::pass::MatcherPass); + 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 92180f2415386f..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", MatcherPass); + 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 50049e51fc9485..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", ov::pass::MatcherPass); + 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 72d0a11daad08d..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", ov::pass::MatcherPass); + 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 c65fa970dd0c11..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", "0", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 23e23b908a01d4..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", "0", ov::pass::MatcherPass); + 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 83850f297548b4..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", ov::pass::MatcherPass); + 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 63b2de5ba8d9c2..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", ov::pass::MatcherPass); + 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 c1446ca2bf89e5..7bf4918f4438a6 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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("public"); 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 230a3ea1f08b08..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", ov::pass::MatcherPass); + 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 f64d14bebe6bb7..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", ov::pass::MatcherPass); + 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 a95b90b22b3344..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", ov::pass::MatcherPass); + 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 7d1b24f8a6d072..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", ov::pass::MatcherPass); + 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 15b0db9a0ed91f..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", ov::pass::MatcherPass); + 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 d79cbd45496b02..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", ov::pass::MatcherPass); + 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 826cefb82436fb..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", MatcherPass); + 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 b86f7e227ec30a..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", ov::pass::MatcherPass); + 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 49b52c0e14bdca..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS1ToNMS5"); ConvertNMS1ToNMS5(); }; class ov::pass::ConvertNMS3ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS5", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS3ToNMS5"); ConvertNMS3ToNMS5(); }; class ov::pass::ConvertNMS4ToNMS5 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS5", "0", ov::pass::MatcherPass); + 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 cf7f36cb1c5114..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS1ToNMS9"); ConvertNMS1ToNMS9(); }; class ov::pass::ConvertNMS3ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS3ToNMS9", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS3ToNMS9"); ConvertNMS3ToNMS9(); }; class ov::pass::ConvertNMS4ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS4ToNMS9", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertNMS4ToNMS9"); ConvertNMS4ToNMS9(); }; class ov::pass::ConvertNMS5ToNMS9 : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertNMS5ToNMS9", "0", ov::pass::MatcherPass); + 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 6f59f1fa8c962b..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertPriorBox8To0"); ConvertPriorBox8To0(); }; 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 76025dd78021dd..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", ov::pass::MatcherPass); + 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 56182678ff3496..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", ov::pass::MatcherPass); + 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 fe1ef311102730..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", ov::pass::MatcherPass); + 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 75ba2cbe379508..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", MatcherPass); + 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 f91324d21e31e5..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", MatcherPass); + 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 e94ba13df4a928..18163ae04e190b 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 1eafd85ec141c5..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", ov::pass::MatcherPass); + 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 974277e99fdf48..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", ov::pass::MatcherPass); + 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 e9e2d0bfe6d5eb..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", ov::pass::MatcherPass); + 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 2fdaeab412774b..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", MatcherPass); + 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 7e6536d7b4af63..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", ov::pass::MatcherPass); + 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 b387c4b9a25323..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", ov::pass::MatcherPass); + 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 86bb9107c4ba19..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", ov::pass::MatcherPass); + 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 eb7298b9219d52..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", ov::pass::MatcherPass); + 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 b466240fe8cc86..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", MatcherPass); + 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 79898f34ad320f..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertSubtract"); ConvertSubtract(); }; class ov::pass::ConvertSubtractWithConstant : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertSubtractWithConstant", "0", ov::pass::MatcherPass); + 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 c2ce8a5610967c..a0acd0907dbae1 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertLoopWithSlicedInputConcatOutputToLSTMSequence"); ConvertLoopWithSlicedInputConcatOutputToLSTMSequence(); }; class ov::pass::ConvertLoopWithScatterUpdateToLSTMSequence : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertLoopWithScatterUpdateToLSTMSequence", "0", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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", ov::pass::MatcherPass); + 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 a5e07e896148ac..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", MatcherPass); + 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 1e2ccdc1ada5e6..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", ov::pass::MatcherPass); + 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 85030d67ede2d5..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", ov::pass::MatcherPass); + 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 21db0ac023e3ae..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", ov::pass::MatcherPass); + 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 0eaa4d6b1e7a9e..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", ov::pass::MatcherPass); + 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 001b34e81f3ee2..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", ov::pass::MatcherPass); + 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 e90e01d1f94f32..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", MatcherPass); + 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 e9afe3cd13205f..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", ov::pass::MatcherPass); + 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 6f960b0efef3e2..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", ov::pass::MatcherPass); + 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 ffe1da2666e81c..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", ov::pass::MatcherPass); + 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 04b61a97805b06..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", ov::pass::MatcherPass); + 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 5e5260b2b843d4..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", ov::pass::MatcherPass); + 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 d8b177dfe155e6..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", ov::pass::MatcherPass); + 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 fdca3f5d9b1b8f..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", ov::pass::MatcherPass); + 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 c34fa443fd1331..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", ov::pass::MatcherPass); + 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 8a596b04302f61..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", ov::pass::MatcherPass); + 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 a3336d59abe8a3..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", ov::pass::MatcherPass); + 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 07ba3fdedd4a42..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", ov::pass::MatcherPass); + 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 019b83a7d6e4c7..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", ov::pass::MatcherPass); + 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 7006c15db3e18a..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", ov::pass::MatcherPass); + 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 71b76304a35215..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", ov::pass::MatcherPass); + 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 0cc51bd7aef0a0..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", ov::pass::MatcherPass); + 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 4d95b3a97af57a..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", ov::pass::MatcherPass); + 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 490b4a77f5c976..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", ov::pass::MatcherPass); + 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 23024dd32afd45..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", ov::pass::MatcherPass); + 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 338a46fa7321d4..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", ov::pass::MatcherPass); + 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 219174dbd1cafb..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", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("UniqueDecomposition"); UniqueDecomposition(); }; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp index 7ef8da1fbb4893..50c0ecd20e76af 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/position_ids_replacer.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API PositionIDsReplacer; class ov::pass::PositionIDsReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PositionIDsReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PositionIDsReplacer"); explicit PositionIDsReplacer(const Output& position_ids); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp index d68d595144140d..f5497207eb4e17 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/prev_sequence_length_pattern.hpp @@ -22,6 +22,6 @@ class TRANSFORMATIONS_API PrevSequenceLengthPattern; class ov::pass::PrevSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PrevSequenceLengthPattern", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PrevSequenceLengthPattern"); explicit PrevSequenceLengthPattern(std::shared_ptr prev_max_seq_len, std::shared_ptr batch_dim); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp index e7ab70c4ee7125..79b4f444cfa791 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/state_management_pattern.hpp @@ -17,7 +17,7 @@ class TRANSFORMATIONS_API StateManagementPattern; class ov::pass::StateManagementPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StateManagementPattern", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("StateManagementPattern"); StateManagementPattern(ParameterVector& kv_parameters, ParameterVector& model_remaining_params, const std::shared_ptr& sliding_window, @@ -28,4 +28,4 @@ class ov::pass::StateManagementPattern : public ov::pass::MatcherPass { ResultVector& score_results, bool use_block_indices, bool use_score_outputs); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp index 271c5430d395b3..b5ecb96fa95198 100644 --- a/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp +++ b/src/common/transformations/include/transformations/sdpa_to_paged_attention/total_sequence_length_pattern.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API TotalSequenceLengthPattern; class ov::pass::TotalSequenceLengthPattern : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TotalSequenceLengthPattern", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TotalSequenceLengthPattern"); explicit TotalSequenceLengthPattern(const std::shared_ptr& max_context_len); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp index 493e2f825ea150..12cfe17a115592 100644 --- a/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/broadcast_const_range_replacement.hpp @@ -23,6 +23,6 @@ class TRANSFORMATIONS_API BroadcastConstRangeReplacement; class ov::pass::BroadcastConstRangeReplacement : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastConstRangeReplacement", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BroadcastConstRangeReplacement"); BroadcastConstRangeReplacement(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp index 703628dd98d67c..cec7ce6bcd074e 100644 --- a/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/matmul_sr.hpp @@ -30,16 +30,16 @@ class TRANSFORMATIONS_API TransposeMatMul; class ov::pass::ReshapeAMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeAMatMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeAMatMul"); ReshapeAMatMul(); }; class ov::pass::ReshapeBMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeBMatMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeBMatMul"); ReshapeBMatMul(); }; class ov::pass::TransposeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TransposeMatMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TransposeMatMul"); TransposeMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp index 59794a28440c44..c8d756252509e1 100644 --- a/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/proposal_scales_stridedslice.hpp @@ -36,12 +36,12 @@ class TRANSFORMATIONS_API Proposal4Scales; class ov::pass::Proposal1Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal1Scales", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("Proposal1Scales"); Proposal1Scales(); }; class ov::pass::Proposal4Scales : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("Proposal4Scales", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("Proposal4Scales"); Proposal4Scales(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp index 645eca16588f91..dd64980a0d155a 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_sinking.hpp @@ -28,6 +28,6 @@ class TRANSFORMATIONS_API ReshapeSinkingMatMul; class ov::pass::ReshapeSinkingMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeSinkingMatMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeSinkingMatMul"); ReshapeSinkingMatMul(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp index 80b02ace879437..cab320f543f382 100644 --- a/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/reshape_to_1D.hpp @@ -25,6 +25,6 @@ class TRANSFORMATIONS_API ReshapeTo1D; class ov::pass::ReshapeTo1D : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeTo1D", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeTo1D"); ReshapeTo1D(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp index 2f958a5cedd33e..fdb620bf588e72 100644 --- a/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/shape_of_const_folding.hpp @@ -16,7 +16,7 @@ namespace pass { */ class TRANSFORMATIONS_API ShapeOfConstFolding : public MatcherPass { public: - OPENVINO_RTTI("ShapeOfConstFolding", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ShapeOfConstFolding"); ShapeOfConstFolding(); }; diff --git a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp index df16ef8e90d139..cafac7e77857fb 100644 --- a/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp +++ b/src/common/transformations/include/transformations/smart_reshape/strided_slice_squeeze.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API SqueezeStridedSlice; class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StridedSliceSqueeze", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("StridedSliceSqueeze"); StridedSliceSqueeze(); }; @@ -39,6 +39,6 @@ class ov::pass::StridedSliceSqueeze : public ov::pass::MatcherPass { class ov::pass::SqueezeStridedSlice : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SqueezeStridedSlice", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SqueezeStridedSlice"); SqueezeStridedSlice(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp index 8f522f5f9a5215..20a43475233050 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/chained_maximum.hpp @@ -21,6 +21,6 @@ class TRANSFORMATIONS_API ChainedMaximumOptimization; */ class ov::pass::ChainedMaximumOptimization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ChainedMaximumOptimization", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ChainedMaximumOptimization"); ChainedMaximumOptimization(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp index fb2d672de17fb5..b1586741a05833 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/dereshape_matmul.hpp @@ -62,7 +62,7 @@ class TRANSFORMATIONS_API DeReshapeFullyConnected; */ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeMatMul", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DeReshapeMatMul"); DeReshapeMatMul(); }; @@ -87,6 +87,6 @@ class ov::pass::DeReshapeMatMul : public ov::pass::MatcherPass { */ class ov::pass::DeReshapeFullyConnected : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DeReshapeFullyConnected", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DeReshapeFullyConnected"); DeReshapeFullyConnected(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp index 4644c9afe5f0ef..524fef52846e5c 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/nop_broadcast.hpp @@ -20,6 +20,6 @@ class TRANSFORMATIONS_API NopBroadcast; */ class ov::pass::NopBroadcast : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NopBroadcast", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("NopBroadcast"); NopBroadcast(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp index 50cf8f66c8770b..f23cfd580cbccf 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/reshape_optimizations.hpp @@ -52,6 +52,6 @@ class TRANSFORMATIONS_API ReshapeOptimizations; */ class ov::pass::ReshapeOptimizations : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ReshapeOptimizations", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ReshapeOptimizations"); ReshapeOptimizations(); }; diff --git a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp index 4bd8db99f941e2..952d602cbc3a57 100644 --- a/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp +++ b/src/common/transformations/include/transformations/symbolic_transformations/symbolic_optimizations.hpp @@ -58,6 +58,6 @@ class ov::pass::SymbolicPropagation : public ov::pass::ModelPass { */ class ov::pass::LabelResolvingThroughSelect : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("LabelResolvingThroughSelect", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("LabelResolvingThroughSelect"); LabelResolvingThroughSelect(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp index 8818bf081b6ecd..d16bf401576b96 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_base.hpp @@ -27,7 +27,7 @@ class TRANSFORMATIONS_API TSForwardBase; */ class ov::pass::transpose_sinking::TSForwardBase : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSForwardBase", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSForwardBase"); TSForwardBase() = default; template diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp index 8bff08f40fa4f2..5eb90b6201b5cb 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_binary.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSBinaryForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSBinaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSBinaryBackward"); TSBinaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp index f5ff90a81a5640..b453a2112575ed 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_concat.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSConcatForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSConcatBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSConcatBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSConcatBackward"); TSConcatBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp index 2003b4015ed402..f83a1dfcb9f25c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_cumsum.hpp @@ -35,6 +35,6 @@ class ov::pass::transpose_sinking::TSCumSumForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSCumSumBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSBinaryBackward"); TSCumSumBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp index 5027b7f1cf4671..b004615fe9707d 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_data_movement.hpp @@ -39,6 +39,6 @@ class ov::pass::transpose_sinking::TSDataMovementForward : public ov::pass::tran */ class ov::pass::transpose_sinking::TSDataMovementBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSDataMovementBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSDataMovementBackward"); TSDataMovementBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp index 2c9da8042520a5..6f5a654e70e81c 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_fuse.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSFuse; */ class ov::pass::transpose_sinking::TSFuse : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSFuse", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TSFuse"); TSFuse(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp index 646d2fde2e6c74..c0e1d9569b1160 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_gather.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSGatherForward : public ov::pass::transpose_ */ class ov::pass::transpose_sinking::TSGatherBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSGatherBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSGatherBackward"); TSGatherBackward(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp index 0acf6e597c058c..98a036fc9760c7 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_interpolate.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSInterpolateForward : public ov::pass::trans */ class ov::pass::transpose_sinking::TSInterpolateBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSInterpolateBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSInterpolateBackward"); TSInterpolateBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp index 3fd4b1db64dbeb..80a33cb62bd3c9 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reduction.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSReductionForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSReductionBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSReductionBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSReductionBackward"); TSReductionBackward(); -}; \ No newline at end of file +}; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp index 229103d578b023..3aa2a770390e35 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_reset_no_sinking_attribute.hpp @@ -24,6 +24,6 @@ class TRANSFORMATIONS_API TSResetNoSinkingAttribute; */ class ov::pass::transpose_sinking::TSResetNoSinkingAttribute : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSResetNoSinkingAttribute", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSResetNoSinkingAttribute"); TSResetNoSinkingAttribute(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp index c821d76dc118ee..11d416ea23b4a8 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_slice.hpp @@ -27,6 +27,6 @@ class ov::pass::transpose_sinking::TSSliceForward : public ov::pass::transpose_s class ov::pass::transpose_sinking::TSSliceBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSliceBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSliceBackward"); TSSliceBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp index ccb2623b361b73..54d5bf5ec40aad 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_split.hpp @@ -38,6 +38,6 @@ class ov::pass::transpose_sinking::TSSplitForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSSplitBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSplitBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSplitBackward"); TSSplitBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp index c58989ee60127c..2d5a60a196d5aa 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_squeeze.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSSqueezeForward : public ov::pass::transpose */ class ov::pass::transpose_sinking::TSSqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSSqueezeBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSSqueezeBackward"); TSSqueezeBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp index 29ef0d146bd7fb..ebb2b75eddee44 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_tile.hpp @@ -36,6 +36,6 @@ class ov::pass::transpose_sinking::TSTileForward : public ov::pass::transpose_si */ class ov::pass::transpose_sinking::TSTileBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSBinaryBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSBinaryBackward"); TSTileBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp index 6a3e5752c4380e..85c220922b2b93 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unary.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnaryForward : public ov::pass::transpose_s */ class ov::pass::transpose_sinking::TSUnaryBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TSUnaryBackwardMultiConsumers", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TSUnaryBackwardMultiConsumers"); TSUnaryBackward(); }; diff --git a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp index e19ddd9e93671c..8b4e9bb2f3b9e9 100644 --- a/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp +++ b/src/common/transformations/include/transformations/transpose_sinking/ts_unsqueeze.hpp @@ -37,6 +37,6 @@ class ov::pass::transpose_sinking::TSUnsqueezeForward : public ov::pass::transpo */ class ov::pass::transpose_sinking::TSUnsqueezeBackward : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::pass::TSUnsqueezeBackward", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::pass::TSUnsqueezeBackward"); TSUnsqueezeBackward(); }; diff --git a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp index deead6d87b98a9..5abe0b5b8c87e3 100644 --- a/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp +++ b/src/common/transformations/src/transformations/common_optimizations/convert_nms_gather_path_to_unsigned.cpp @@ -31,7 +31,7 @@ namespace ov { namespace pass { class InitNMSPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitNMSPath", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("InitNMSPath"); InitNMSPath() { MATCHER_SCOPE(InitNMSPath); auto nms_pattern = pattern::wrap_type(); diff --git a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp index a0b9e9a95c2d09..e1d3d0c0b6772f 100644 --- a/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp +++ b/src/common/transformations/src/transformations/fp16_compression/mark_subgraphs_to_keep_in_mixed_precision.cpp @@ -116,7 +116,7 @@ const std::shared_ptr propagate_through_ops = */ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateUpMarkToKeepInMixedPrecision", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PropagateUpMarkToKeepInMixedPrecision"); PropagateUpMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateUpMarkToKeepInMixedPrecision); @@ -159,7 +159,7 @@ class PropagateUpMarkToKeepInMixedPrecision : public pass::MatcherPass { */ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateDownMarkToKeepInMixedPrecision", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PropagateDownMarkToKeepInMixedPrecision"); PropagateDownMarkToKeepInMixedPrecision() { MATCHER_SCOPE(PropagateDownMarkToKeepInMixedPrecision); @@ -197,7 +197,7 @@ class PropagateDownMarkToKeepInMixedPrecision : public pass::MatcherPass { class InitMarkReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("InitMarkReduceOpPath", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("InitMarkReduceOpPath"); InitMarkReduceOpPath() { MATCHER_SCOPE(InitMarkReduceOpPath); @@ -217,7 +217,7 @@ class InitMarkReduceOpPath : public pass::MatcherPass { class PropagateMarkUpReduceOpPath : public pass::MatcherPass { public: - OPENVINO_RTTI("PropagateMarkUpReduceOpPath", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PropagateMarkUpReduceOpPath"); PropagateMarkUpReduceOpPath() { MATCHER_SCOPE(PropagateMarkUpReduceOpPath); @@ -245,7 +245,7 @@ class PropagateMarkUpReduceOpPath : public pass::MatcherPass { class MarkExp : public pass::MatcherPass { public: // only exponent that go into ReduceOp should be marked as precision sensitive and kept in f32 - OPENVINO_RTTI("MarkExp", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkExp"); MarkExp() { MATCHER_SCOPE(MarkExp); auto exp_pattern = pattern::wrap_type(); @@ -288,7 +288,7 @@ class MarkExpInReduceOpPath : public BackwardGraphRewrite { */ class MarkDivWithEps : public MatcherPass { public: - OPENVINO_RTTI("MarkDivWithEps", "0", MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MarkDivWithEps"); MarkDivWithEps() { MATCHER_SCOPE(MarkDivWithEps); @@ -367,7 +367,7 @@ class MarkDivWithEps : public MatcherPass { class PropagateDownDisableSensitivityForQuantized : public pass::MatcherPass { public: - OPENVINO_RTTI("DisableMarkingForQuantizedNodes", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DisableMarkingForQuantizedNodes"); PropagateDownDisableSensitivityForQuantized() { MATCHER_SCOPE(PropagateDownDisableSensitivityForQuantized); diff --git a/src/common/transformations/tests/utils/compare_functions_test.cpp b/src/common/transformations/tests/utils/compare_functions_test.cpp index 82229f9c871c6d..b0e41fe7b8421c 100644 --- a/src/common/transformations/tests/utils/compare_functions_test.cpp +++ b/src/common/transformations/tests/utils/compare_functions_test.cpp @@ -602,7 +602,7 @@ class AttributeAdapter AttributeAdapter(TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION& value) : DirectValueAccessor(value) {} - OPENVINO_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TestDummyDataTypeTransformationTests_NO_OV_NAME_COLISION"); }; } // namespace ov diff --git a/src/core/include/openvino/pass/matcher_pass.hpp b/src/core/include/openvino/pass/matcher_pass.hpp index b17237fdf08340..140ffcb6d59e14 100644 --- a/src/core/include/openvino/pass/matcher_pass.hpp +++ b/src/core/include/openvino/pass/matcher_pass.hpp @@ -6,9 +6,22 @@ #include #include -#include +#include +#include #include "openvino/pass/node_registry.hpp" +#include "openvino/core/rtti.hpp" + +#define _OPENVINO_MATCHER_PASS_RTTI_WITH_TYPE(TYPE_NAME) _OPENVINO_MATCHER_PASS_RTTI_WITH_TYPE_VERSION(TYPE_NAME, "0") + +#define _OPENVINO_MATCHER_PASS_RTTI_WITH_TYPE_VERSION(TYPE_NAME, VERSION_NAME) \ + _OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT(TYPE_NAME, VERSION_NAME, ::ov::pass::MatcherPass) + +#define OPENVINO_MATCHER_PASS_RTTI(...) \ + _OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR(__VA_ARGS__, \ + _OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT, \ + _OPENVINO_MATCHER_PASS_RTTI_WITH_TYPE_VERSION, \ + _OPENVINO_MATCHER_PASS_RTTI_WITH_TYPE)(__VA_ARGS__)) namespace ov { using matcher_pass_callback = std::function; diff --git a/src/core/tests/graph_rewrite.cpp b/src/core/tests/graph_rewrite.cpp index 97cce64657644a..735ff58d0fdcf1 100644 --- a/src/core/tests/graph_rewrite.cpp +++ b/src/core/tests/graph_rewrite.cpp @@ -23,7 +23,7 @@ using namespace ov::pass; class TestPass : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TestPass", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TestPass"); TestPass() : MatcherPass() { auto divide = std::make_shared(element::f32, Shape{}, @@ -44,7 +44,7 @@ class TestPass : public ov::pass::MatcherPass { class GatherNodesPass : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("GatherNodesPass", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("GatherNodesPass"); GatherNodesPass(NodeVector& order) : MatcherPass() { ov::matcher_pass_callback callback = [&order](pattern::Matcher& m) { order.push_back(m.get_match_root()); @@ -388,7 +388,7 @@ TEST(PassConfigTest, Test1) { class CheckConsumers : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CheckConsumers", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("CheckConsumers"); CheckConsumers() { ov::matcher_pass_callback callback = [](pattern::Matcher& m) -> bool { auto node = m.get_match_root(); diff --git a/src/core/tests/pass_config.cpp b/src/core/tests/pass_config.cpp index 06bd66138de6de..3cdd0271a01fec 100644 --- a/src/core/tests/pass_config.cpp +++ b/src/core/tests/pass_config.cpp @@ -19,7 +19,7 @@ using namespace ov::pass; class RenameReLU : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RanameReLU", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RanameReLU"); RenameReLU() : MatcherPass() { auto relu = ov::pass::pattern::wrap_type(); ov::matcher_pass_callback callback = [](pattern::Matcher& m) { @@ -35,7 +35,7 @@ class RenameReLU : public ov::pass::MatcherPass { class RenameSigmoid : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RenameSigmoid", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RenameSigmoid"); RenameSigmoid() : MatcherPass() { auto sigmoid = pattern::wrap_type(); ov::matcher_pass_callback callback = [](pattern::Matcher& m) { @@ -259,7 +259,7 @@ TEST(PassConfig, EnableDisablePasses9) { class TestNestedMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("TestNestedMatcher", "0", pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("TestNestedMatcher"); TestNestedMatcher() : MatcherPass() { auto any_op = pattern::any_input(); ov::matcher_pass_callback callback = [this](pattern::Matcher& m) { diff --git a/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp b/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp index 59ede10efc6ac2..19abfcbf260d73 100644 --- a/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_fakequantize.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformFakeQuantize", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::paddle::pass::TransformFakeQuantize"); TransformFakeQuantize(); private: diff --git a/src/frontends/paddle/src/internal/pass/transform_if.hpp b/src/frontends/paddle/src/internal/pass/transform_if.hpp index 6ec1df370fc901..f71c2b026fd3e4 100644 --- a/src/frontends/paddle/src/internal/pass/transform_if.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_if.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformIf : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformIf", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::paddle::pass::TransformIf"); TransformIf(std::vector> functions); private: diff --git a/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp b/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp index 5a7b2380af268f..227ce708ad6503 100644 --- a/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_tensorarray.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformTensorArray : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformTensorArray", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::paddle::pass::TransformTensorArray"); TransformTensorArray(std::vector> functions); private: diff --git a/src/frontends/paddle/src/internal/pass/transform_while.hpp b/src/frontends/paddle/src/internal/pass/transform_while.hpp index 74b8b1e1514b0a..9a604f520168fe 100644 --- a/src/frontends/paddle/src/internal/pass/transform_while.hpp +++ b/src/frontends/paddle/src/internal/pass/transform_while.hpp @@ -14,7 +14,7 @@ namespace pass { class TransformWhile : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::paddle::pass::TransformWhile", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::paddle::pass::TransformWhile"); TransformWhile(std::vector> functions); private: diff --git a/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp b/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp index de25eb399d1bf1..30aadee2776b9e 100644 --- a/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp +++ b/src/frontends/tensorflow/src/transformations/uninitialized_variable_resolve.hpp @@ -19,7 +19,7 @@ namespace pass { // it borrows value of Variable that was used for some state (or node) in a graph class UninitializedVariableResolver : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::UninitializedVariableResolver", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::UninitializedVariableResolver"); UninitializedVariableResolver(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp b/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp index 2323c984a3a71c..696242f321e733 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/embedding_segments_feature_fusing.hpp @@ -20,7 +20,7 @@ namespace pass { // Such sub-graph is met in the Wide and Deep model in case of the SINGLE categorical feature. class EmbeddingSegmentSingleFeatureFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::EmbeddingSegmentSingleFeatureFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::EmbeddingSegmentSingleFeatureFusion"); EmbeddingSegmentSingleFeatureFusion(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp b/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp index 94d24bd5a328d3..e0f7c20c11c9b9 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/tensor_array_v3_replacer.hpp @@ -19,7 +19,7 @@ namespace pass { // that simulates initial state of tensor array container class TensorArrayV3Replacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorArrayV3Replacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorArrayV3Replacer"); TensorArrayV3Replacer(); }; diff --git a/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp b/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp index 7df127f142b7a8..cb587d7f665c7b 100644 --- a/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp +++ b/src/frontends/tensorflow_common/include/helper_transforms/tensor_list_ops_resolver.hpp @@ -15,14 +15,14 @@ namespace pass { // Replace internal operation TensorListReserve with a sub-graph producing initial container class TensorListReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorListReplacer"); TensorListReplacer(); }; // Replace internal operation TensorListSetItem with a sub-graph that inserts a new tensor into container class TensorListSetItemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListSetItemReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorListSetItemReplacer"); TensorListSetItemReplacer(); }; @@ -30,14 +30,14 @@ class TensorListSetItemReplacer : public ov::pass::MatcherPass { // that inserts a new tensor into the tail of the container class TensorListPushBackReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListPushBackReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorListPushBackReplacer"); TensorListPushBackReplacer(); }; // Replace internal operation TensorListGetItem with a sub-graph that gets a tensor from container by index class TensorListGetItemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListGetItemReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorListGetItemReplacer"); TensorListGetItemReplacer(); }; @@ -45,7 +45,7 @@ class TensorListGetItemReplacer : public ov::pass::MatcherPass { // Replace TensorListSetItem and TensorListGetItem with ConcatOutput and SlicedInput class TensorListInLoopOptimization : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow::pass::TensorListInLoopOptimization", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow::pass::TensorListInLoopOptimization"); TensorListInLoopOptimization(); }; diff --git a/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h b/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h index a16ac5cc11c475..11e79cfe09a58c 100644 --- a/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h +++ b/src/frontends/tensorflow_lite/src/tflite_transformations/rfft2d_complex_abs.h @@ -24,7 +24,7 @@ namespace pass { // \-(imag)-> Unsqueeze -> Reshape -> Square / class Rfft2dSimplifier : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::Rfft2dSimplifier", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow_lite::pass::Rfft2dSimplifier"); Rfft2dSimplifier(); }; diff --git a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp index 4b4d26a7d635b0..657e8e49010086 100644 --- a/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp +++ b/src/frontends/tensorflow_lite/src/tflite_transformations/tflite_quantize_resolver.hpp @@ -18,14 +18,14 @@ namespace pass { // Fuses Convert into TFLQuantize operation class TFLQuantizeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeConvert", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeConvert"); TFLQuantizeConvert(); }; // Replaces TFLQuantize operation with FQ or sub-mul pattern if necessary class TFLQuantizeReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeReplacer", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::tensorflow_lite::pass::TFLQuantizeReplacer"); TFLQuantizeReplacer(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp index 0488340cebc5c9..1740b77e9d22ca 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv.hpp @@ -61,7 +61,7 @@ namespace intel_cpu { class ConvertGroupConvolution: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertGroupConvolution", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertGroupConvolution"); ConvertGroupConvolution(); }; } // namespace intel_cpu diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp index 72f42579d4e0ac..1ac33170bb009e 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_group_conv1d.hpp @@ -54,7 +54,7 @@ namespace ov { namespace intel_cpu { class ConvertConv1DBase: public ov::pass::MatcherPass { protected: - OPENVINO_RTTI("ConvertConv1DBase", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertConv1DBase"); template ov::matcher_pass_callback convert_conv1d_to_conv2d(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp index fc8618fce8ebeb..1c2ec1ab2efce4 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_multi_axis.hpp @@ -51,7 +51,7 @@ namespace intel_cpu { class ConvertReduceMultiAxisBase: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceMultiAxisBase", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertReduceMultiAxisBase"); template ov::matcher_pass_callback convert_reduce(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp index 8bd08ee1d692ad..c4bff4ffe4cb5f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/convert_reduce_no_keep_dims.hpp @@ -45,7 +45,7 @@ namespace intel_cpu { class ConvertReduceNoKeepDimsBase: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertReduceNoKeepDims", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertReduceNoKeepDims"); template ov::matcher_pass_callback convert_reduce(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp index afeee8d048529a..7d63a6ad4abe63 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/arm/pass/mish_decomposition.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class MishDecomposition: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MishDecomposition", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MishDecomposition"); MishDecomposition(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp index a614b7ae92481f..542635bdd42f2b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/align_matmul_input_ranks.hpp @@ -19,7 +19,7 @@ namespace intel_cpu { class AlignMatMulInputRanks: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("AlignMatMulInputRanks", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("AlignMatMulInputRanks"); AlignMatMulInputRanks(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp index 86fb669ca0e165..95d26f5bf2151f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/causal_mask_preprocess_fusion.cpp @@ -24,7 +24,7 @@ using namespace ov::gen_pattern; class CausalMaskPreprocess : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CausalMaskPreprocess", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("CausalMaskPreprocess"); CausalMaskPreprocess(); private: diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp index 3403866720d21f..b3aaae1c7bf8ee 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_broadcast_to_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertBroadcastToTiles: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBroadcastToTiles", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertBroadcastToTiles"); ConvertBroadcastToTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp index a3241f57c435bd..19913c4ec5d68b 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_fq_rnn_to_quantized_rnn.hpp @@ -76,7 +76,7 @@ namespace intel_cpu { class ConvertFqRnnToQuantizedRnn: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertFqRnnToQuantizedRnn", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertFqRnnToQuantizedRnn"); ConvertFqRnnToQuantizedRnn(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp index 6f9914dcecfc25..1b965b44a42eb1 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_matmul_to_fc.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertMatMulToFC: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertMatMulToFC", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertMatMulToFC"); ConvertMatMulToFC(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp index 8e532f60db425d..a735b53f2b6590 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_tile_to_seq_tiles.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertTileToSeqTiles: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertTileToSeqTiles", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertTileToSeqTiles"); ConvertTileToSeqTiles(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp index 30c9eafd550c28..b516948fa21fcc 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_leaky_relu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToLeakyRelu: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToLeakyRelu", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertToLeakyRelu"); ConvertToLeakyRelu(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp index 6685c1dfbe4e57..3eaa28c8f8c7c4 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_power_static.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToPowerStatic: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToPowerStatic", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertToPowerStatic"); ConvertToPowerStatic(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp index aa391d801bbd47..950caf976818ef 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/convert_to_swish_cpu.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class ConvertToSwishCPU: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToSwishCPU", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertToSwishCPU"); ConvertToSwishCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp index 634affa742257d..c1049fe6982503 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_integer_divide.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeIntegerDivide: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeIntegerDivide", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DecomposeIntegerDivide"); DecomposeIntegerDivide(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp index 441e7df90ed128..d626a53daa33b3 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/decompose_rms_norm.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class DecomposeRMSNorm: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("DecomposeRMSNorm", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("DecomposeRMSNorm"); DecomposeRMSNorm(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp index 85a8a309fd734c..c39ec9c83b08d6 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/insert_convert_after_extension.hpp @@ -14,7 +14,7 @@ namespace pass { class InsertConvertAfterExtension: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InsertConvertAfterExtension", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("InsertConvertAfterExtension"); InsertConvertAfterExtension(bool convert_output_precision = true); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp index 5a8a24e3c457b6..bb0dcbe97a103d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/move_fc_reshape_to_weights.hpp @@ -30,7 +30,7 @@ namespace intel_cpu { */ class MoveFCReshapeToWeights: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MoveFCReshapeToWeights", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MoveFCReshapeToWeights"); MoveFCReshapeToWeights(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp index 76d17e68308d72..8e618b1fb761de 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/ngram_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class NgramFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("NgramFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("NgramFusion"); NgramFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp index 38627569bdbe80..8d7fac63349008 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/permute_slice_n_interpolation.hpp @@ -14,7 +14,7 @@ namespace intel_cpu { class PermuteSliceAndInterpolation : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("PermuteSliceAndInterpolation", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("PermuteSliceAndInterpolation"); PermuteSliceAndInterpolation(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp index cd485976457bd3..743aa16b89ad0d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/rnn_sequences_optimization.hpp @@ -11,19 +11,19 @@ namespace intel_cpu { class OptimizeGRUSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeGRUSequenceTransposes", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("OptimizeGRUSequenceTransposes"); OptimizeGRUSequenceTransposes(); }; class OptimizeLSTMSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeLSTMSequenceTransposes", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("OptimizeLSTMSequenceTransposes"); OptimizeLSTMSequenceTransposes(); }; class OptimizeRNNSequenceTransposes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeRNNSequenceTransposes", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("OptimizeRNNSequenceTransposes"); OptimizeRNNSequenceTransposes(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp index 02bb142e0e0597..70f81c7bdb2582 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/stateful_sdpa_fusion.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class StatefulSDPAFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("StatefulSDPAFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("StatefulSDPAFusion"); StatefulSDPAFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp index 26d5372610af95..9fe48971909a41 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/convert_to_interaction.hpp @@ -11,19 +11,19 @@ namespace intel_cpu { class ConvertToInteraction: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertToInteraction", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertToInteraction"); ConvertToInteraction(); }; class FuseFQtoInteraction: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FuseFQtoInteraction", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("FuseFQtoInteraction"); FuseFQtoInteraction(); }; class ConvertInteractionInt8: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertInteractionInt8", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertInteractionInt8"); ConvertInteractionInt8(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp index 68adcd35322b6b..1a5dda0014d51d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/mlp_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class MLPFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("MLPFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("MLPFusion"); MLPFusion(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp index ebc822080e4a40..26e4a2d8beb23d 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/qkv_proj_fusion.hpp @@ -11,13 +11,13 @@ namespace intel_cpu { class QKVProjFusion: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("QKVProjFusion"); QKVProjFusion(); }; class QKVProjFusion2: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("QKVProjFusion2", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("QKVProjFusion2"); QKVProjFusion2(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp index 14683a6213257d..0dadcb57f368d7 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/x64/pass/sdpa_fuse_transpose_reshape.hpp @@ -10,7 +10,7 @@ namespace ov { namespace intel_cpu { class SDPAFuseTransposeReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("SDPAFuseTransposeReshape", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("SDPAFuseTransposeReshape"); SDPAFuseTransposeReshape(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp index eb0d7e101c8ed7..74b078e5b4c073 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/brgemm_to_brgemm_cpu.hpp @@ -34,7 +34,7 @@ namespace pass { */ class BrgemmToBrgemmCPU: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmCPU", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BrgemmToBrgemmCPU"); BrgemmToBrgemmCPU(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp index d807023e64bee2..978844e2dd5988 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/eliminate_brgemm_copy_b.hpp @@ -19,7 +19,7 @@ namespace pass { */ class EliminateBrgemmCopyB: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EliminateBrgemmCopyB", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EliminateBrgemmCopyB"); EliminateBrgemmCopyB(); }; diff --git a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp index fc7a1cbac8cd77..2c965871840572 100644 --- a/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp +++ b/src/plugins/intel_cpu/src/transformations/snippets/x64/pass/remove_converts.hpp @@ -17,7 +17,7 @@ namespace pass { */ class RemoveConverts : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("RemoveConverts", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("RemoveConverts"); RemoveConverts(); }; diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp index 9947422a8cae51..2b73104d1e1335 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/brgemm_to_brgemm_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class BrgemmToBrgemmTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BrgemmToBrgemmTPP", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BrgemmToBrgemmTPP"); BrgemmToBrgemmTPP(); static bool is_supported_brgemm_configuration(const std::vector>& layouts, diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp index 2fd35b4dfb6a43..f0bdab120c3498 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/eltwise_to_eltwise_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class EltwiseToEltwiseTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("EltwiseToEltwiseTPP", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("EltwiseToEltwiseTPP"); EltwiseToEltwiseTPP(); }; diff --git a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp index f5ecad99db2e3d..a56e23363067e2 100644 --- a/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp +++ b/src/plugins/intel_cpu/src/transformations/tpp/x64/pass/scalar_to_scalar_tpp.hpp @@ -18,7 +18,7 @@ namespace pass { */ class ScalarToScalarTPP: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ScalarToScalarTPP", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ScalarToScalarTPP"); ScalarToScalarTPP(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp index ee144b375055af..1fab1692d97cbe 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/bcast_and_pad_zp_buffers.hpp @@ -13,7 +13,7 @@ namespace intel_gpu { // and adds optional padding to align elements count to `alignment` value class BroadcastAndPadZeroPointBuffers : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("BroadcastAndPadZeroPointBuffers", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("BroadcastAndPadZeroPointBuffers"); BroadcastAndPadZeroPointBuffers(size_t alignment = 1, bool supports_immad = false); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp index 87f4c492b0c325..bf372ae19c1553 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/binary_conv_to_conv.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertBinaryConvolutionToConvolution: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertBinaryConvolutionToConvolution", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ConvertBinaryConvolutionToConvolution"); ConvertBinaryConvolutionToConvolution(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp index 479611d0de0934..bea51c2e768576 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/clamp_fp16_output.hpp @@ -18,7 +18,7 @@ namespace intel_gpu { */ class ClampFP16Output: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::intel_gpu::ClampFP16Output", "0", ov::pass::MatcherPass); + OPENVINO_MATCHER_PASS_RTTI("ov::intel_gpu::ClampFP16Output"); ClampFP16Output(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp index 03dd8dbeff3054..2679233ecaf2e8 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_convolution.cpp @@ -102,13 +102,13 @@ ov::Tensor get_compensation(std::shared_ptr w, std::shared_ptr Date: Wed, 11 Dec 2024 17:59:44 +0100 Subject: [PATCH 13/16] Use OPENVINO_MATCHER_PASS_RTTI where applicable Signed-off-by: Tomasz Jankowski --- .../pytorch/src/transforms/append_list_unpack_replacer.hpp | 2 +- src/frontends/pytorch/src/transforms/aten_cat_replacer.hpp | 4 ++-- .../pytorch/src/transforms/aten_getitem_replacer.hpp | 2 +- .../pytorch/src/transforms/aten_index_put_replacer.hpp | 2 +- .../pytorch/src/transforms/aten_index_replacer.hpp | 2 +- .../src/transforms/aten_stack_list_construct_replacer.hpp | 2 +- src/frontends/pytorch/src/transforms/dict_resolver.hpp | 4 ++-- .../pytorch/src/transforms/einsum_list_construct.hpp | 4 ++-- .../pytorch/src/transforms/index_loop_getitem_replacer.hpp | 2 +- .../pytorch/src/transforms/irfftn_complex_replacer.hpp | 2 +- .../pytorch/src/transforms/listconstruct_replacer.hpp | 2 +- .../src/transforms/min_max_prim_list_construct_replacer.hpp | 2 +- .../pytorch/src/transforms/prim_list_construct_pad.hpp | 4 ++-- .../src/transforms/prim_list_tuple_construct_replacer.hpp | 2 +- .../pytorch/src/transforms/prim_list_unpack_replacer.hpp | 4 ++-- .../src/transforms/prim_unpack_parameter_replacer.hpp | 2 +- .../pytorch/src/transforms/quantized_node_remover.hpp | 2 +- src/frontends/pytorch/src/transforms/remove_packing_ops.hpp | 4 ++-- .../pytorch/src/transforms/reverseprop_resolver.hpp | 2 +- .../pytorch/src/transforms/rfftn_complex_replacer.hpp | 2 +- .../pytorch/src/transforms/string_equality_replacer.hpp | 2 +- .../src/transforms/torchfx_gptq_pattern_replacer.hpp | 4 ++-- .../pytorch/src/transforms/tuple_unpack_replacer.hpp | 6 +++--- src/frontends/pytorch/src/transforms/u4_block_repack.hpp | 4 ++-- .../cpu_opset/common/pass/fc_bias_fusion.hpp | 2 +- .../src/plugin/transformations/convert_fc_to_compressed.hpp | 2 +- .../src/plugin/transformations/fc_per_layer_scaling.hpp | 2 +- .../src/plugin/transformations/kv_cache_compression.cpp | 2 +- .../src/plugin/transformations/kv_cache_compression.hpp | 2 +- .../plugin/transformations/optimize_subsequent_reshapes.hpp | 2 +- 30 files changed, 40 insertions(+), 40 deletions(-) diff --git a/src/frontends/pytorch/src/transforms/append_list_unpack_replacer.hpp b/src/frontends/pytorch/src/transforms/append_list_unpack_replacer.hpp index d3ecd8b28fc636..84b28c8c7e21d3 100644 --- a/src/frontends/pytorch/src/transforms/append_list_unpack_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/append_list_unpack_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class AppendListUnpackReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AppendListUnpackReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AppendListUnpackReplacer"); AppendListUnpackReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/aten_cat_replacer.hpp b/src/frontends/pytorch/src/transforms/aten_cat_replacer.hpp index 8041e282445353..ef2d06da848132 100644 --- a/src/frontends/pytorch/src/transforms/aten_cat_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/aten_cat_replacer.hpp @@ -15,11 +15,11 @@ namespace pass { // This transformation replaces pattern prim::ListConstruct->aten::append{none or many}->aten::cat class AtenCatToConcat : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenCatToConcat"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenCatToConcat"); AtenCatToConcat(); }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/pytorch/src/transforms/aten_getitem_replacer.hpp b/src/frontends/pytorch/src/transforms/aten_getitem_replacer.hpp index db99e2d65b2ef1..3d6de2c76b2c83 100644 --- a/src/frontends/pytorch/src/transforms/aten_getitem_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/aten_getitem_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class AtenGetItemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenGetItemReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenGetItemReplacer"); AtenGetItemReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/aten_index_put_replacer.hpp b/src/frontends/pytorch/src/transforms/aten_index_put_replacer.hpp index e74cf40e057bf2..b641ca3146d0c0 100644 --- a/src/frontends/pytorch/src/transforms/aten_index_put_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/aten_index_put_replacer.hpp @@ -15,7 +15,7 @@ namespace pass { class PYTORCH_API AtenIndexPutReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenIndexPutReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenIndexPutReplacer"); AtenIndexPutReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/aten_index_replacer.hpp b/src/frontends/pytorch/src/transforms/aten_index_replacer.hpp index b9a034e3a2721f..67afefbef53f57 100644 --- a/src/frontends/pytorch/src/transforms/aten_index_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/aten_index_replacer.hpp @@ -16,7 +16,7 @@ namespace pass { // This transformation replaces pattern prim::ListConstruct->aten::index class PYTORCH_API AtenIndexToSelect : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenIndexToSelect"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenIndexToSelect"); AtenIndexToSelect(); }; diff --git a/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.hpp b/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.hpp index ab7376619c4469..51b9832c2e35ae 100644 --- a/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class AtenStackListConstructReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenStackListConstructReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenStackListConstructReplacer"); AtenStackListConstructReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/dict_resolver.hpp b/src/frontends/pytorch/src/transforms/dict_resolver.hpp index 150b1361dab57d..54ec9b2a42afa3 100644 --- a/src/frontends/pytorch/src/transforms/dict_resolver.hpp +++ b/src/frontends/pytorch/src/transforms/dict_resolver.hpp @@ -15,13 +15,13 @@ namespace pass { // This transformation replaces pattern Parameter(Dict)->aten::__getitem__ class DictParameterResolver : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::DictParameterResolver"); + OPENVINO_RTTI("ov::frontend::pytorch::pass::DictParameterResolver", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; // This transformation replaces pattern prim::DictConstruct->Result class DictResultResolver : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::DictResultResolver"); + OPENVINO_RTTI("ov::frontend::pytorch::pass::DictResultResolver", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/frontends/pytorch/src/transforms/einsum_list_construct.hpp b/src/frontends/pytorch/src/transforms/einsum_list_construct.hpp index 413c9f526214ae..ba792cbbb820af 100644 --- a/src/frontends/pytorch/src/transforms/einsum_list_construct.hpp +++ b/src/frontends/pytorch/src/transforms/einsum_list_construct.hpp @@ -14,11 +14,11 @@ namespace pass { class AtenEinsumListConstructReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::AtenEinsumListConstructReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::AtenEinsumListConstructReplacer"); AtenEinsumListConstructReplacer(); }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.hpp b/src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.hpp index 89627723c3d515..dac4bdafa09d27 100644 --- a/src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/index_loop_getitem_replacer.hpp @@ -18,7 +18,7 @@ namespace pass { */ class IndexLoopGetitemReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::IndexLoopGetitemReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::IndexLoopGetitemReplacer"); IndexLoopGetitemReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.hpp b/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.hpp index 3aa6991aed5d4d..d3a5738a82ddbf 100644 --- a/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class IRFFTNComplexReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::IRFFTNComplexReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::IRFFTNComplexReplacer"); IRFFTNComplexReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/listconstruct_replacer.hpp b/src/frontends/pytorch/src/transforms/listconstruct_replacer.hpp index 4b265d58d24541..49dac1f83d112a 100644 --- a/src/frontends/pytorch/src/transforms/listconstruct_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/listconstruct_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class ListConstructReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::ListConstructReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::ListConstructReplacer"); ListConstructReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/min_max_prim_list_construct_replacer.hpp b/src/frontends/pytorch/src/transforms/min_max_prim_list_construct_replacer.hpp index 371b3be7ff7cd0..f8dc9a2037a130 100644 --- a/src/frontends/pytorch/src/transforms/min_max_prim_list_construct_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/min_max_prim_list_construct_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class MinMaxPrimListConstructReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::MinMaxPrimListConstructReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::MinMaxPrimListConstructReplacer"); MinMaxPrimListConstructReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/prim_list_construct_pad.hpp b/src/frontends/pytorch/src/transforms/prim_list_construct_pad.hpp index 5e5322969f5285..bbd494f2b97b98 100644 --- a/src/frontends/pytorch/src/transforms/prim_list_construct_pad.hpp +++ b/src/frontends/pytorch/src/transforms/prim_list_construct_pad.hpp @@ -14,11 +14,11 @@ namespace pass { class PrimListConstructPadReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::PrimListConstructPadReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::PrimListConstructPadReplacer"); PrimListConstructPadReplacer(); }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/pytorch/src/transforms/prim_list_tuple_construct_replacer.hpp b/src/frontends/pytorch/src/transforms/prim_list_tuple_construct_replacer.hpp index 31a025d6d90493..4eb8454101ea2e 100644 --- a/src/frontends/pytorch/src/transforms/prim_list_tuple_construct_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/prim_list_tuple_construct_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class DecomposeListTupleResults : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::DecomposeListTupleResults"); + OPENVINO_RTTI("ov::frontend::pytorch::pass::DecomposeListTupleResults", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.hpp b/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.hpp index 81521716a23430..449adc8a78779d 100644 --- a/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.hpp @@ -14,11 +14,11 @@ namespace pass { class PrimListUnpackReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::PrimListUnpackReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::PrimListUnpackReplacer"); PrimListUnpackReplacer(); }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/pytorch/src/transforms/prim_unpack_parameter_replacer.hpp b/src/frontends/pytorch/src/transforms/prim_unpack_parameter_replacer.hpp index 2616b66fb58ab6..b28d75dec6de81 100644 --- a/src/frontends/pytorch/src/transforms/prim_unpack_parameter_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/prim_unpack_parameter_replacer.hpp @@ -27,7 +27,7 @@ namespace pass { // tuples only and the most nested objects in those tuples are tensors. class DecomposeUnpackParameters : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::DecomposeUnpackParameters"); + OPENVINO_RTTI("ov::frontend::pytorch::pass::DecomposeUnpackParameters", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; diff --git a/src/frontends/pytorch/src/transforms/quantized_node_remover.hpp b/src/frontends/pytorch/src/transforms/quantized_node_remover.hpp index e4ca3d5806d494..2ae26866f4fabb 100644 --- a/src/frontends/pytorch/src/transforms/quantized_node_remover.hpp +++ b/src/frontends/pytorch/src/transforms/quantized_node_remover.hpp @@ -20,7 +20,7 @@ namespace pass { */ class QuantizedNodeRemover : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::QuantizedNodeRemover"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::QuantizedNodeRemover"); QuantizedNodeRemover(); }; diff --git a/src/frontends/pytorch/src/transforms/remove_packing_ops.hpp b/src/frontends/pytorch/src/transforms/remove_packing_ops.hpp index 773100dfc35af9..a236a3fd081568 100644 --- a/src/frontends/pytorch/src/transforms/remove_packing_ops.hpp +++ b/src/frontends/pytorch/src/transforms/remove_packing_ops.hpp @@ -17,7 +17,7 @@ namespace pass { */ class MovePackThroughLstm : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::MovePackThroughLstm"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::MovePackThroughLstm"); MovePackThroughLstm(); }; @@ -26,7 +26,7 @@ class MovePackThroughLstm : public ov::pass::MatcherPass { */ class RemovePackingOps : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::RemovePackingOps"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::RemovePackingOps"); RemovePackingOps(); }; diff --git a/src/frontends/pytorch/src/transforms/reverseprop_resolver.hpp b/src/frontends/pytorch/src/transforms/reverseprop_resolver.hpp index a26249e4841d4b..8bc3109e479cf5 100644 --- a/src/frontends/pytorch/src/transforms/reverseprop_resolver.hpp +++ b/src/frontends/pytorch/src/transforms/reverseprop_resolver.hpp @@ -17,7 +17,7 @@ namespace pass { */ class ReversepropResolver : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::ReversepropResolver"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::ReversepropResolver"); ReversepropResolver(); }; diff --git a/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.hpp b/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.hpp index 04ec53ab0f1561..5115e38bdf55b1 100644 --- a/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class RFFTNComplexReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::RFFTNComplexReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::RFFTNComplexReplacer"); RFFTNComplexReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/string_equality_replacer.hpp b/src/frontends/pytorch/src/transforms/string_equality_replacer.hpp index 20dc3cc98b7f32..dfc826dfd600c0 100644 --- a/src/frontends/pytorch/src/transforms/string_equality_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/string_equality_replacer.hpp @@ -14,7 +14,7 @@ namespace pass { class StringEqualityReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::StringEqualityReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::StringEqualityReplacer"); StringEqualityReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.hpp b/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.hpp index 046a774e56ef8e..a77616b53813be 100644 --- a/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.hpp @@ -15,7 +15,7 @@ namespace pass { // This transformation replaces the GPTQ pattern with a Constant node class GPTQDecompressionReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::GPTQDecompressionReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::GPTQDecompressionReplacer"); GPTQDecompressionReplacer(); }; @@ -24,7 +24,7 @@ class GPTQDecompressionReplacer : public ov::pass::MatcherPass { // additional optimizations class GPTQMultPatternReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::GPTQMultPatternReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::GPTQMultPatternReplacer"); GPTQMultPatternReplacer(); }; diff --git a/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.hpp b/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.hpp index 8d737c3d15947d..6fd1d9dd041dc0 100644 --- a/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.hpp +++ b/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.hpp @@ -14,17 +14,17 @@ namespace pass { class PrimTupleUnpackReplacer : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::PrimTupleUnpackReplacer"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::PrimTupleUnpackReplacer"); PrimTupleUnpackReplacer(); }; class TupleUnpackInBodyReplacer : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::TupleUnpackInBodyReplacer"); + OPENVINO_RTTI("ov::frontend::pytorch::pass::TupleUnpackInBodyReplacer", "util", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& model) override; }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov diff --git a/src/frontends/pytorch/src/transforms/u4_block_repack.hpp b/src/frontends/pytorch/src/transforms/u4_block_repack.hpp index 99742ff148813a..891fd93554f558 100644 --- a/src/frontends/pytorch/src/transforms/u4_block_repack.hpp +++ b/src/frontends/pytorch/src/transforms/u4_block_repack.hpp @@ -14,13 +14,13 @@ namespace pass { class U4BlockRepack : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::U4BlockRepack"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::U4BlockRepack"); U4BlockRepack(bool is_symmetrical = false); }; class U4ConvertReshape : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ov::frontend::pytorch::pass::U4ConvertReshape"); + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::U4ConvertReshape"); U4ConvertReshape(); }; diff --git a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp index b21cf80ad327e6..390f3e387c308f 100644 --- a/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp +++ b/src/plugins/intel_cpu/src/transformations/cpu_opset/common/pass/fc_bias_fusion.hpp @@ -11,7 +11,7 @@ namespace intel_cpu { class FullyConnectedBiasFusion : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FullyConnectedBiasFusion", "0"); + OPENVINO_MATCHER_PASS_RTTI("FullyConnectedBiasFusion"); FullyConnectedBiasFusion(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/convert_fc_to_compressed.hpp b/src/plugins/intel_gpu/src/plugin/transformations/convert_fc_to_compressed.hpp index d2bc71a91f1285..ec8f2bc3a8f4c7 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/convert_fc_to_compressed.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/convert_fc_to_compressed.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class ConvertFullyConnectedToFullyConnectedCompressed: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("ConvertFullyConnectedToFullyConnectedCompressed", "0"); + OPENVINO_MATCHER_PASS_RTTI("ConvertFullyConnectedToFullyConnectedCompressed"); ConvertFullyConnectedToFullyConnectedCompressed(); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/fc_per_layer_scaling.hpp b/src/plugins/intel_gpu/src/plugin/transformations/fc_per_layer_scaling.hpp index 5c0d7d07f5b411..72fa60d818f8d4 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/fc_per_layer_scaling.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/fc_per_layer_scaling.hpp @@ -11,7 +11,7 @@ namespace intel_gpu { class FullyConnectedPerLayerScaling: public ov::pass::MatcherPass { public: - OPENVINO_RTTI("FullyConnectedPerLayerScaling", "0"); + OPENVINO_MATCHER_PASS_RTTI("FullyConnectedPerLayerScaling"); FullyConnectedPerLayerScaling(float scale_factor); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.cpp b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.cpp index 6903b52963a879..6b6150a8e32db4 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.cpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.cpp @@ -126,7 +126,7 @@ std::shared_ptr class KVCacheCompressionMatcher : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("KVCacheCompressionMatcher", "0"); + OPENVINO_MATCHER_PASS_RTTI("KVCacheCompressionMatcher"); KVCacheCompressionMatcher(ov::element::Type compression_dt); }; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.hpp b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.hpp index 1587021a03ed36..dd472e85b43dc7 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/kv_cache_compression.hpp @@ -32,7 +32,7 @@ namespace intel_gpu { class KVCacheCompression : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("KVCacheCompression", "0"); + OPENVINO_RTTI("KVCacheCompression", "0", ov::pass::GraphRewrite); KVCacheCompression(ov::element::Type compression_dt); bool run_on_model(const std::shared_ptr& m) override; diff --git a/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp b/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp index 3a38bb92ad5167..702b18e7fc5dc9 100644 --- a/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp +++ b/src/plugins/intel_gpu/src/plugin/transformations/optimize_subsequent_reshapes.hpp @@ -15,7 +15,7 @@ namespace intel_gpu { */ class OptimizeSubsequentReshapes : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("OptimizeSubsequentReshapes", "0"); + OPENVINO_MATCHER_PASS_RTTI("OptimizeSubsequentReshapes"); OptimizeSubsequentReshapes(); }; From bf58f2f66bab44ea07ccfc71242abcb3b6cf69e8 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Fri, 13 Dec 2024 15:10:09 +0100 Subject: [PATCH 14/16] Use ov::as_type_ptr where applicable (pytorch fe) Signed-off-by: Tomasz Jankowski --- .../include/openvino/pass/graph_rewrite.hpp | 2 +- .../decoder_transformation_extension.cpp | 2 +- .../src/transforms/aten_cat_replacer.cpp | 4 +-- .../aten_stack_list_construct_replacer.cpp | 2 +- .../pytorch/src/transforms/dict_resolver.cpp | 6 ++-- .../transforms/irfftn_complex_replacer.cpp | 4 +-- .../transforms/prim_list_unpack_replacer.cpp | 4 +-- .../src/transforms/remove_packing_ops.cpp | 2 +- .../src/transforms/rfftn_complex_replacer.cpp | 4 +-- .../transforms/string_equality_replacer.cpp | 10 +++--- .../torchfx_gptq_pattern_replacer.cpp | 36 ++++++++----------- .../src/transforms/tuple_unpack_replacer.cpp | 2 +- .../src/transforms/u4_block_repack.cpp | 18 +++++----- 13 files changed, 43 insertions(+), 53 deletions(-) diff --git a/src/core/include/openvino/pass/graph_rewrite.hpp b/src/core/include/openvino/pass/graph_rewrite.hpp index 0d68c559e6c0b1..26754f26f69068 100644 --- a/src/core/include/openvino/pass/graph_rewrite.hpp +++ b/src/core/include/openvino/pass/graph_rewrite.hpp @@ -80,7 +80,7 @@ class OPENVINO_API GraphRewrite : public ModelPass { /// /// class ov::pass::LinFusions: public ov::pass::GraphRewrite { /// public: - /// OPENVINO_RTTI("LinFusion"); + /// OPENVINO_RTTI("LinFusion", "0", ov::pass::GraphRewrite); /// Fusions() { /// add_matcher(); /// add_matcher(); diff --git a/src/core/tests/frontend/decoder_transformation_extension.cpp b/src/core/tests/frontend/decoder_transformation_extension.cpp index 714dd4b9fafb18..0e81fb9cd6b795 100644 --- a/src/core/tests/frontend/decoder_transformation_extension.cpp +++ b/src/core/tests/frontend/decoder_transformation_extension.cpp @@ -37,7 +37,7 @@ TEST(DecoderTransformation, FunctionPass) { namespace _decoder_transformation_test { class TestPass : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::pass::TestPass"); + OPENVINO_RTTI("ov::pass::TestPass", "0", ov::pass::ModelPass); TestPass() = default; TestPass(const TestPass& tp) = default; bool run_on_model(const std::shared_ptr&) override { diff --git a/src/frontends/pytorch/src/transforms/aten_cat_replacer.cpp b/src/frontends/pytorch/src/transforms/aten_cat_replacer.cpp index e42184ab6fad7f..2fe96e4691e01c 100644 --- a/src/frontends/pytorch/src/transforms/aten_cat_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/aten_cat_replacer.cpp @@ -64,7 +64,7 @@ AtenCatToConcat::AtenCatToConcat() { } std::shared_ptr input_node = cat->get_input_node_shared_ptr(0); - if (auto loop = std::dynamic_pointer_cast(input_node)) { + if (auto loop = ov::as_type_ptr(input_node)) { // case when concatenation is done inside the Loop auto body = loop->get_function(); auto output_index = cat->input(0).get_source_output().get_index(); @@ -84,7 +84,7 @@ AtenCatToConcat::AtenCatToConcat() { "::cat unsupported case: aten::append wasn't found inside prim::Loop body."); return false; } - auto param = std::dynamic_pointer_cast(append->get_input_node_shared_ptr(0)); + auto param = ov::as_type_ptr(append->get_input_node_shared_ptr(0)); if (!param) { add_exception_to_fw_node( cat, diff --git a/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.cpp b/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.cpp index aad973c3769246..be32e4457d1766 100644 --- a/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/aten_stack_list_construct_replacer.cpp @@ -37,7 +37,7 @@ AtenStackListConstructReplacer::AtenStackListConstructReplacer() { const auto& pattern_map = m.get_pattern_value_map(); const auto& input_node = pattern_map.at(list_construct).get_node_shared_ptr(); auto axis_node = pattern_map.at(axis).get_node_shared_ptr(); - auto axis_const = std::dynamic_pointer_cast(axis_node); + auto axis_const = ov::as_type_ptr(axis_node); auto axis = axis_const->cast_vector(); if (axis.size() != 1) { add_exception_to_fw_node(stack, "aten::stack has multiple axes, only one is supported."); diff --git a/src/frontends/pytorch/src/transforms/dict_resolver.cpp b/src/frontends/pytorch/src/transforms/dict_resolver.cpp index 0f52e4da939e08..98ff9049e03e6f 100644 --- a/src/frontends/pytorch/src/transforms/dict_resolver.cpp +++ b/src/frontends/pytorch/src/transforms/dict_resolver.cpp @@ -31,8 +31,8 @@ bool DictParameterResolver::run_on_model(const std::shared_ptr& model) { for (const auto inp : targets) { const auto getitem_node = cast_fw_node(inp.get_node()->shared_from_this(), "aten::__getitem__"); if (getitem_node) { - const auto index_node = std::dynamic_pointer_cast( - getitem_node->get_input_node_shared_ptr(1)); + const auto index_node = + ov::as_type_ptr(getitem_node->get_input_node_shared_ptr(1)); if (!index_node) { at_least_one_unused = true; continue; @@ -85,7 +85,7 @@ bool DictResultResolver::run_on_model(const std::shared_ptr& model) { for (size_t i = 0; i < inputs.size(); i += 2) { auto new_output = inputs.at(i + 1); const auto& name_node = inputs.at(i); - auto fw_node = std::dynamic_pointer_cast(name_node.get_node_shared_ptr()); + auto fw_node = ov::as_type_ptr(name_node.get_node_shared_ptr()); if (!fw_node) { add_exception_to_fw_node( dict_construct_node, diff --git a/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.cpp b/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.cpp index c64aea01ce38c7..072d3fb6753ffd 100644 --- a/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/irfftn_complex_replacer.cpp @@ -116,8 +116,8 @@ IRFFTNComplexReplacer::IRFFTNComplexReplacer() { // Handle norm parameter indicating normalization mode to use. Defaults to "backward". std::string norm; - if (const auto& fw_node_mode = std::dynamic_pointer_cast( - irfftn_op->input_value(3).get_node_shared_ptr())) { + if (const auto& fw_node_mode = + ov::as_type_ptr(irfftn_op->input_value(3).get_node_shared_ptr())) { const auto& attrs = fw_node_mode->get_attrs(); if (attrs.find("string_value") != attrs.end()) { norm = attrs.at("string_value"); diff --git a/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.cpp b/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.cpp index 67e2b5b37ecaac..32806daad495ab 100644 --- a/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/prim_list_unpack_replacer.cpp @@ -305,7 +305,7 @@ PrimListUnpackReplacer::PrimListUnpackReplacer() { copy_runtime_info_and_name(list_unpack, rg.get(), {input_node, meshgrid_input_node}); replace_node(list_unpack, outputs); return true; - } else if (auto shape_of = std::dynamic_pointer_cast(input_node)) { + } else if (auto shape_of = ov::as_type_ptr(input_node)) { // case aten::size as input // Number of ListUnpack outputs should be equal to rank of input shape. auto axis_0 = v0::Constant::create(element::i32, Shape{}, {0}); @@ -321,7 +321,7 @@ PrimListUnpackReplacer::PrimListUnpackReplacer() { replace_node(list_unpack, res); return true; - } else if (auto slice = std::dynamic_pointer_cast(input_node)) { + } else if (auto slice = ov::as_type_ptr(input_node)) { // case aten::slice as input // Number of ListUnpack outputs should be equal to rank of input shape. auto axis_0 = v0::Constant::create(element::i32, Shape{}, {0}); diff --git a/src/frontends/pytorch/src/transforms/remove_packing_ops.cpp b/src/frontends/pytorch/src/transforms/remove_packing_ops.cpp index 267010e9c01e56..6c69364e7fb3b8 100644 --- a/src/frontends/pytorch/src/transforms/remove_packing_ops.cpp +++ b/src/frontends/pytorch/src/transforms/remove_packing_ops.cpp @@ -116,7 +116,7 @@ RemovePackingOps::RemovePackingOps() { if (!pack_node) return false; if (as_type_ptr(pack_node)) - pack_node = std::dynamic_pointer_cast(pack_node->input_value(0).get_node_shared_ptr()); + pack_node = ov::as_type_ptr(pack_node->input_value(0).get_node_shared_ptr()); if (!pack_node) return false; diff --git a/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.cpp b/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.cpp index 390a1ea519e4b2..e44249784a70a0 100644 --- a/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/rfftn_complex_replacer.cpp @@ -90,8 +90,8 @@ RFFTNComplexReplacer::RFFTNComplexReplacer() { // Handle norm parameter indicating normalization mode to use. Defaults to "backward". std::string norm; - if (const auto& fw_node_mode = std::dynamic_pointer_cast( - rfftn_op->input_value(3).get_node_shared_ptr())) { + if (const auto& fw_node_mode = + ov::as_type_ptr(rfftn_op->input_value(3).get_node_shared_ptr())) { const auto& attrs = fw_node_mode->get_attrs(); if (attrs.find("string_value") != attrs.end()) { norm = attrs.at("string_value"); diff --git a/src/frontends/pytorch/src/transforms/string_equality_replacer.cpp b/src/frontends/pytorch/src/transforms/string_equality_replacer.cpp index 60a12b802f2a5f..3e2b752b4d65ef 100644 --- a/src/frontends/pytorch/src/transforms/string_equality_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/string_equality_replacer.cpp @@ -34,8 +34,7 @@ StringEqualityReplacer::StringEqualityReplacer() { ov::matcher_pass_callback callback = [=](pattern::Matcher& m) { auto& pattern_map = m.get_pattern_value_map(); - auto lhs_node = - std::dynamic_pointer_cast(pattern_map.at(framework_node_lhs).get_node_shared_ptr()); + auto lhs_node = ov::as_type_ptr(pattern_map.at(framework_node_lhs).get_node_shared_ptr()); if (!lhs_node) { return false; } @@ -45,8 +44,7 @@ StringEqualityReplacer::StringEqualityReplacer() { } std::string lhs = lhs_attrs.at("string_value"); - auto rhs_node = - std::dynamic_pointer_cast(pattern_map.at(framework_node_rhs).get_node_shared_ptr()); + auto rhs_node = ov::as_type_ptr(pattern_map.at(framework_node_rhs).get_node_shared_ptr()); if (!rhs_node) { return false; } @@ -57,14 +55,14 @@ StringEqualityReplacer::StringEqualityReplacer() { std::string rhs = rhs_attrs.at("string_value"); auto equal_node = pattern_map.at(equal_op).get_node_shared_ptr(); - if (auto equal = std::dynamic_pointer_cast(equal_node)) { + if (auto equal = ov::as_type_ptr(equal_node)) { auto const_result = v0::Constant::create(element::boolean, Shape{}, {lhs == rhs}); copy_runtime_info_and_name(equal_node, {const_result}); replace_node(equal_node, const_result); return true; }; auto not_equal_node = pattern_map.at(not_equal_op).get_node_shared_ptr(); - if (auto equal = std::dynamic_pointer_cast(not_equal_node)) { + if (auto equal = ov::as_type_ptr(not_equal_node)) { auto const_result = v0::Constant::create(element::boolean, Shape{}, {lhs != rhs}); copy_runtime_info_and_name(equal_node, {const_result}); replace_node(equal_node, const_result); diff --git a/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.cpp b/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.cpp index caeeb8c557b380..d1203ee3e91c39 100644 --- a/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/torchfx_gptq_pattern_replacer.cpp @@ -68,18 +68,14 @@ GPTQDecompressionReplacer::GPTQDecompressionReplacer() { } const auto& pattern_map = m.get_pattern_value_map(); auto unsqueeze_1_node = pattern_map.at(unsqueeze_1).get_node_shared_ptr(); - auto unsqueeze_1_in0_const = - std::dynamic_pointer_cast(unsqueeze_1_node->get_input_node_shared_ptr(0)); - auto unsqueeze_1_in1_const = - std::dynamic_pointer_cast(unsqueeze_1_node->get_input_node_shared_ptr(1)); + auto unsqueeze_1_in0_const = ov::as_type_ptr(unsqueeze_1_node->get_input_node_shared_ptr(0)); + auto unsqueeze_1_in1_const = ov::as_type_ptr(unsqueeze_1_node->get_input_node_shared_ptr(1)); auto abs_node = pattern_map.at(abs).get_node_shared_ptr(); - auto abs_in_const = std::dynamic_pointer_cast(abs_node->get_input_node_shared_ptr(0)); + auto abs_in_const = ov::as_type_ptr(abs_node->get_input_node_shared_ptr(0)); auto broadcast_node = pattern_map.at(broadcast).get_node_shared_ptr(); auto unsqueeze_2_node = pattern_map.at(unsqueeze_2).get_node_shared_ptr(); - auto unsqueeze_2_in0_const = - std::dynamic_pointer_cast(unsqueeze_2_node->get_input_node_shared_ptr(0)); - auto unsqueeze_2_in1_const = - std::dynamic_pointer_cast(unsqueeze_2_node->get_input_node_shared_ptr(1)); + auto unsqueeze_2_in0_const = ov::as_type_ptr(unsqueeze_2_node->get_input_node_shared_ptr(0)); + auto unsqueeze_2_in1_const = ov::as_type_ptr(unsqueeze_2_node->get_input_node_shared_ptr(1)); OutputVector outputs_1(unsqueeze_1_node->get_output_size()); OutputVector unsqueeze_1_inputs(2); @@ -110,9 +106,9 @@ GPTQDecompressionReplacer::GPTQDecompressionReplacer() { return false; } const int32_t* rs_in0 = - std::dynamic_pointer_cast(outputs_3[0].get_node_shared_ptr())->get_data_ptr(); + ov::as_type_ptr(outputs_3[0].get_node_shared_ptr())->get_data_ptr(); const int32_t* rs_in1 = - std::dynamic_pointer_cast(outputs_4[0].get_node_shared_ptr())->get_data_ptr(); + ov::as_type_ptr(outputs_4[0].get_node_shared_ptr())->get_data_ptr(); auto shifted_const = std::make_shared(element::i32, outputs_3[0].get_shape()); auto dst = const_cast(reinterpret_cast(shifted_const->get_data_ptr())); if (!dst) @@ -156,8 +152,7 @@ GPTQDecompressionReplacer::GPTQDecompressionReplacer() { } else { auto convert_3_node = pattern_map.at(convert_3).get_node_shared_ptr(); auto convert_4_node = pattern_map.at(convert_4).get_node_shared_ptr(); - auto convert_4_in_const = - std::dynamic_pointer_cast(convert_4_node->get_input_node_shared_ptr(0)); + auto convert_4_in_const = ov::as_type_ptr(convert_4_node->get_input_node_shared_ptr(0)); auto add_node = pattern_map.at(add).get_node_shared_ptr(); OutputVector outputs_5(convert_3_node->get_output_size()); if (!convert_3_node->constant_fold(outputs_5, shifted_const->outputs())) { @@ -177,7 +172,7 @@ GPTQDecompressionReplacer::GPTQDecompressionReplacer() { } auto convert_2_node = pattern_map.at(convert_2).get_node_shared_ptr(); - auto convert_2_in_const = std::dynamic_pointer_cast(convert_2_node->get_input_node_shared_ptr(0)); + auto convert_2_in_const = ov::as_type_ptr(convert_2_node->get_input_node_shared_ptr(0)); OutputVector outputs_8(convert_2_node->get_output_size()); if (!convert_2_node->constant_fold(outputs_8, convert_2_in_const->outputs())) { @@ -187,9 +182,9 @@ GPTQDecompressionReplacer::GPTQDecompressionReplacer() { OutputVector outputs_9(bitwise_and->get_output_size()); const int8_t* and_in0 = - std::dynamic_pointer_cast(outputs_7[0].get_node_shared_ptr())->get_data_ptr(); + ov::as_type_ptr(outputs_7[0].get_node_shared_ptr())->get_data_ptr(); const int8_t* and_in1 = - std::dynamic_pointer_cast(outputs_8[0].get_node_shared_ptr())->get_data_ptr(); + ov::as_type_ptr(outputs_8[0].get_node_shared_ptr())->get_data_ptr(); auto masked_const = std::make_shared(element::i8, outputs_7[0].get_shape()); auto masked_dst = const_cast(reinterpret_cast(masked_const->get_data_ptr())); if (!masked_dst) @@ -258,15 +253,14 @@ GPTQMultPatternReplacer::GPTQMultPatternReplacer() { auto reshape3_node = pattern_map.at(reshape_3).get_node_shared_ptr(); // auto mult_node = pattern_map.at(mult).get_node_shared_ptr(); - auto add_input0_const = std::dynamic_pointer_cast(convert_1_node->get_input_node_shared_ptr(0)); + auto add_input0_const = ov::as_type_ptr(convert_1_node->get_input_node_shared_ptr(0)); if (add_input0_const->get_element_type() != element::u4) { return false; } auto add_in0_ptr = add_input0_const->get_data_ptr(); uint32_t add_val = 0; if (convert_2_node) { - auto convert_2_input_const = - std::dynamic_pointer_cast(convert_2_node->get_input_node_shared_ptr(0)); + auto convert_2_input_const = ov::as_type_ptr(convert_2_node->get_input_node_shared_ptr(0)); auto add_in1_ptr = convert_2_input_const->get_data_ptr(); if (!add_in1_ptr) return false; @@ -289,7 +283,7 @@ GPTQMultPatternReplacer::GPTQMultPatternReplacer() { } const auto& static_shape_2 = reshape2_node->get_shape(); - auto reshape2_in0_const = std::dynamic_pointer_cast(convert_4_node->get_input_node_shared_ptr(0)); + auto reshape2_in0_const = ov::as_type_ptr(convert_4_node->get_input_node_shared_ptr(0)); auto sub_replace_const = std::make_shared(reshape2_in0_const->get_element_type(), static_shape_2, reshape2_in0_const->get_data_ptr()); @@ -297,7 +291,7 @@ GPTQMultPatternReplacer::GPTQMultPatternReplacer() { auto new_sub_node = std::make_shared(new_convert_node, add_replace_const); const auto& static_shape_3 = reshape3_node->get_shape(); - auto reshape3_in0_const = std::dynamic_pointer_cast(reshape3_node->get_input_node_shared_ptr(0)); + auto reshape3_in0_const = ov::as_type_ptr(reshape3_node->get_input_node_shared_ptr(0)); auto mult_scale_const = std::make_shared(reshape3_in0_const->get_element_type(), static_shape_3, reshape3_in0_const->get_data_ptr()); diff --git a/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.cpp b/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.cpp index 7ea557fa81682d..23b4f56329e80d 100644 --- a/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.cpp +++ b/src/frontends/pytorch/src/transforms/tuple_unpack_replacer.cpp @@ -52,7 +52,7 @@ bool TupleUnpackInBodyReplacer::run_on_model(const std::shared_ptr& model if (if_op) { for (size_t i = 1; i < if_op->get_input_size(); i++) { auto input = if_op->input_value(i); - auto tuple_construct = std::dynamic_pointer_cast( + auto tuple_construct = ov::as_type_ptr( cast_fw_node(input.get_node_shared_ptr(), "prim::TupleConstruct")); if (!tuple_construct) { continue; diff --git a/src/frontends/pytorch/src/transforms/u4_block_repack.cpp b/src/frontends/pytorch/src/transforms/u4_block_repack.cpp index 797fa531c43b60..3513d364175045 100644 --- a/src/frontends/pytorch/src/transforms/u4_block_repack.cpp +++ b/src/frontends/pytorch/src/transforms/u4_block_repack.cpp @@ -49,8 +49,7 @@ U4BlockRepack::U4BlockRepack(bool is_symmetrical) { std::make_shared(m_reshape2, "ov::frontend::pytorch::pass::U4BlockRepack"), [=](Matcher& m) { auto& pattern_to_output = m.get_pattern_value_map(); - auto constant = - std::dynamic_pointer_cast(pattern_to_output[m_constant].get_node_shared_ptr()); + auto constant = ov::as_type_ptr(pattern_to_output[m_constant].get_node_shared_ptr()); if (!constant) return false; auto reshape1 = pattern_to_output[m_reshape1].get_node_shared_ptr(); @@ -89,13 +88,13 @@ U4BlockRepack::U4BlockRepack(bool is_symmetrical) { if (reshape_targets.size() != 1) return false; auto convert = reshape_targets.begin()->get_node()->shared_from_this(); - if (!std::dynamic_pointer_cast(convert)) + if (!ov::as_type_ptr(convert)) return false; auto convert_targets = convert->output(0).get_target_inputs(); if (convert_targets.size() != 1) return false; auto subtract = convert_targets.begin()->get_node()->shared_from_this(); - if (!std::dynamic_pointer_cast(subtract)) + if (!ov::as_type_ptr(subtract)) return false; pattern_root = subtract; copy_from.push_back(std::move(convert)); @@ -145,8 +144,7 @@ U4ConvertReshape::U4ConvertReshape() { std::make_shared(m_reshape, "ov::frontend::pytorch::pass::U4ConvertReshape"), [=](Matcher& m) { auto& pattern_to_output = m.get_pattern_value_map(); - auto u4_const = - std::dynamic_pointer_cast(pattern_to_output[m_constant].get_node_shared_ptr()); + auto u4_const = ov::as_type_ptr(pattern_to_output[m_constant].get_node_shared_ptr()); if (!u4_const) return false; @@ -158,15 +156,15 @@ U4ConvertReshape::U4ConvertReshape() { std::shared_ptr new_const; if (pattern_to_output.count(m_constant_8)) { - auto constant_8 = std::dynamic_pointer_cast( - pattern_to_output[m_constant_8].get_node_shared_ptr()); + auto constant_8 = + ov::as_type_ptr(pattern_to_output[m_constant_8].get_node_shared_ptr()); if (ov::shape_size(constant_8->get_output_shape(0)) != 1 || constant_8->get_output_element_type(0).is_real() || constant_8->cast_vector()[0] != 8) return false; if (pattern_to_output.count(m_constant_1)) { - auto constant_1 = std::dynamic_pointer_cast( - pattern_to_output[m_constant_1].get_node_shared_ptr()); + auto constant_1 = + ov::as_type_ptr(pattern_to_output[m_constant_1].get_node_shared_ptr()); if (ov::shape_size(constant_1->get_output_shape(0)) != 1 || constant_1->get_output_element_type(0).is_real() || constant_1->cast_vector()[0] != 1) return false; From 5cb00c76c5e18678eb071dc696123d7cea552488 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 16 Dec 2024 21:44:07 +0100 Subject: [PATCH 15/16] Add missing RTTI to transformations and common/snippets, op/util and frontends Signed-off-by: Tomasz Jankowski --- .../include/low_precision/base_matcher_pass.hpp | 1 + .../create_precisions_dependent_attribute.hpp | 1 + .../low_precision/layer_transformation.hpp | 2 ++ .../low_precision/propagate_shared_value.hpp | 1 + .../propagate_through_precision_preserved.hpp | 4 +++- .../include/low_precision/propagate_to_input.hpp | 3 ++- .../update_shared_precision_preserved.hpp | 1 + .../tests/simple_low_precision_transformer.hpp | 1 + .../include/compress_quantize_weights.hpp | 6 +++--- .../offline_transformations/include/pruning.hpp | 10 +++++----- .../src/pruning/init_masks.cpp | 2 ++ .../src/pruning/propagate_masks.cpp | 15 +++++++++++++++ .../include/snippets/op/serialization_node.hpp | 2 ++ .../include/snippets/pass/fq_decomposition.hpp | 1 + .../snippets/include/snippets/pass/hash.hpp | 2 +- .../fuse_rotary_positional_embeddings.hpp | 2 +- .../common_optimizations/moc_transformations.hpp | 2 +- .../optimize_strided_slice.hpp | 2 +- .../include/transformations/utils/print_model.hpp | 2 +- .../include/openvino/op/util/index_reduction.hpp | 2 ++ .../src/extension/decoder_transformation.cpp | 2 ++ .../transforms/softmax_reshape_elimination.hpp | 3 ++- 22 files changed, 51 insertions(+), 16 deletions(-) diff --git a/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp b/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp index f3a217e9d25cab..63f69b9e258d51 100644 --- a/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp +++ b/src/common/low_precision_transformations/include/low_precision/base_matcher_pass.hpp @@ -19,6 +19,7 @@ class LP_TRANSFORMATIONS_API BaseMatcherPass; class LP_TRANSFORMATIONS_API ov::pass::low_precision::BaseMatcherPass : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("low_precision::BaseMatcherPass"); BaseMatcherPass(const AttributeParameters& params = AttributeParameters()); AttributeParameters params; }; diff --git a/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp b/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp index c57d15dde899bd..a9fb24840aa19e 100644 --- a/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp +++ b/src/common/low_precision_transformations/include/low_precision/create_precisions_dependent_attribute.hpp @@ -40,6 +40,7 @@ class CreatePrecisionsDependentAttribute; template class ov::pass::low_precision::CreatePrecisionsDependentAttribute : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("low_precision::CreatePrecisionsDependentAttribute"); CreatePrecisionsDependentAttribute() { auto operation = pattern::wrap_type(); diff --git a/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp b/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp index d86dbd9470cc07..a018823e5c7a9e 100644 --- a/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp +++ b/src/common/low_precision_transformations/include/low_precision/layer_transformation.hpp @@ -244,6 +244,8 @@ inline std::ostream &operator << (std::ostream &os, const DataPrecision& value) */ class LP_TRANSFORMATIONS_API LayerTransformation : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("low_precision::LayerTransformation"); + class Params { public: Params( diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp index 16a014cda6ec04..5d6dad6517cfee 100644 --- a/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp +++ b/src/common/low_precision_transformations/include/low_precision/propagate_shared_value.hpp @@ -38,6 +38,7 @@ class LP_TRANSFORMATIONS_API PropagateSharedValue; template class ov::pass::low_precision::PropagateSharedValue : public ov::pass::ModelPass { public: + OPENVINO_RTTI("low_precision::PropagateSharedValue", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override { OV_ITT_SCOPE(FIRST_INFERENCE, itt::domains::LPT_LT, "PropagateSharedValue"); diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp index 0450091699065d..0a8c945d6c7fa1 100644 --- a/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp +++ b/src/common/low_precision_transformations/include/low_precision/propagate_through_precision_preserved.hpp @@ -38,7 +38,9 @@ class PropagateThroughPrecisionPreserved; template class ov::pass::low_precision::PropagateThroughPrecisionPreserved : public ov::pass::MatcherPass { public: - PropagateThroughPrecisionPreserved(const std::vector& defaultPrecisions = precision_set::get_int8_support()) { + OPENVINO_MATCHER_PASS_RTTI("low_precision::PropagateThroughPrecisionPreserved"); + PropagateThroughPrecisionPreserved( + const std::vector& defaultPrecisions = precision_set::get_int8_support()) { ov::graph_rewrite_callback callback = [&](pattern::Matcher& m) { auto node = m.get_match_root(); if (transformation_callback(node)) { diff --git a/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp b/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp index 3e550b9e950ff3..de30730fd2b151 100644 --- a/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp +++ b/src/common/low_precision_transformations/include/low_precision/propagate_to_input.hpp @@ -37,7 +37,8 @@ class PropagateToInput; template class ov::pass::low_precision::PropagateToInput : public ov::pass::MatcherPass { public: - PropagateToInput(const std::vector& defaultPrecisions = { ov::element::u8, ov::element::i8 }) { + OPENVINO_MATCHER_PASS_RTTI("low_precision::PropagateToInput"); + PropagateToInput(const std::vector& defaultPrecisions = {ov::element::u8, ov::element::i8}) { ov::graph_rewrite_callback callback = [&](pattern::Matcher& m) { auto node = m.get_match_root(); if (transformation_callback(node)) { diff --git a/src/common/low_precision_transformations/include/low_precision/update_shared_precision_preserved.hpp b/src/common/low_precision_transformations/include/low_precision/update_shared_precision_preserved.hpp index 4113e1d86d4bef..9c7cce282477d0 100644 --- a/src/common/low_precision_transformations/include/low_precision/update_shared_precision_preserved.hpp +++ b/src/common/low_precision_transformations/include/low_precision/update_shared_precision_preserved.hpp @@ -36,6 +36,7 @@ class UpdateSharedPrecisionPreserved; template class ov::pass::low_precision::UpdateSharedPrecisionPreserved : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("low_precision::UpdateSharedPrecisionPreserved"); UpdateSharedPrecisionPreserved(const std::vector& defaultPrecisions = precision_set::get_int8_support()) { ov::graph_rewrite_callback callback = [&](ov::pass::pattern::Matcher& m) { auto node = m.get_match_root(); diff --git a/src/common/low_precision_transformations/tests/simple_low_precision_transformer.hpp b/src/common/low_precision_transformations/tests/simple_low_precision_transformer.hpp index 7593361f8dd71a..2967e1fbb4ed6d 100644 --- a/src/common/low_precision_transformations/tests/simple_low_precision_transformer.hpp +++ b/src/common/low_precision_transformations/tests/simple_low_precision_transformer.hpp @@ -16,6 +16,7 @@ class SimpleLowPrecisionTransformer : public ov::pass::ModelPass{ public: + OPENVINO_RTTI("SimpleLowPrecisionTransformer", "0", ov::pass::ModelPass); SimpleLowPrecisionTransformer( const std::vector& precisionRestrictions = {}, const std::vector& quantizationRestrictions = {}, diff --git a/src/common/offline_transformations/include/compress_quantize_weights.hpp b/src/common/offline_transformations/include/compress_quantize_weights.hpp index 597b50828494a5..0f56fc9f69cd9b 100644 --- a/src/common/offline_transformations/include/compress_quantize_weights.hpp +++ b/src/common/offline_transformations/include/compress_quantize_weights.hpp @@ -63,7 +63,7 @@ class CompressWeightsWithFakeConvert; */ class ov::pass::CompressWeightsWithFakeQuantize : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CompressWeightsWithFakeQuantize", "0"); + OPENVINO_MATCHER_PASS_RTTI("CompressWeightsWithFakeQuantize"); CompressWeightsWithFakeQuantize(); }; @@ -95,13 +95,13 @@ class ov::pass::CompressWeightsWithFakeQuantize : public ov::pass::MatcherPass { */ class ov::pass::CompressWeightsWithFakeConvert : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("CompressWeightsWithFakeConvert", "0"); + OPENVINO_MATCHER_PASS_RTTI("CompressWeightsWithFakeConvert"); CompressWeightsWithFakeConvert(); }; class ov::pass::CompressQuantizeWeights : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("CompressQuantizeWeights", "0"); + OPENVINO_RTTI("CompressQuantizeWeights", "0", ov::pass::GraphRewrite); CompressQuantizeWeights(); }; diff --git a/src/common/offline_transformations/include/pruning.hpp b/src/common/offline_transformations/include/pruning.hpp index c71a84fe18d396..0742da8665346a 100644 --- a/src/common/offline_transformations/include/pruning.hpp +++ b/src/common/offline_transformations/include/pruning.hpp @@ -29,7 +29,7 @@ class Pruning; */ class ov::pass::InitMasks : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("InitMasks", "0"); + OPENVINO_RTTI("InitMasks", "0", ov::pass::GraphRewrite); InitMasks(); }; @@ -41,7 +41,7 @@ class ov::pass::InitMasks : public ov::pass::GraphRewrite { */ class ov::pass::InitConstMask : public ov::pass::MatcherPass { public: - OPENVINO_RTTI("InitConstMask", "0"); + OPENVINO_MATCHER_PASS_RTTI("InitConstMask"); explicit InitConstMask( const ov::AxisSet& dims, const std::function& condition = [](const double& value) { @@ -56,7 +56,7 @@ class ov::pass::InitConstMask : public ov::pass::MatcherPass { */ class ov::pass::PropagateMasks : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("PropagateMasks", "0"); + OPENVINO_RTTI("PropagateMasks", "0", ov::pass::GraphRewrite); PropagateMasks(); }; @@ -67,7 +67,7 @@ class ov::pass::PropagateMasks : public ov::pass::GraphRewrite { */ class ov::pass::ShrinkWeights : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ShrinkWeights", "0"); + OPENVINO_RTTI("ShrinkWeights", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr&) override; }; @@ -77,6 +77,6 @@ class ov::pass::ShrinkWeights : public ov::pass::ModelPass { */ class ov::pass::Pruning : public ov::pass::ModelPass { public: - OPENVINO_RTTI("Pruning", "0"); + OPENVINO_RTTI("Pruning", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr&) override; }; diff --git a/src/common/offline_transformations/src/pruning/init_masks.cpp b/src/common/offline_transformations/src/pruning/init_masks.cpp index e14a75b895bd5c..abe843a8b56d30 100644 --- a/src/common/offline_transformations/src/pruning/init_masks.cpp +++ b/src/common/offline_transformations/src/pruning/init_masks.cpp @@ -22,6 +22,7 @@ class InitMatMulMask; class ov::pass::init_masks::InitConvMask : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("init_masks::InitConvMask"); InitConvMask() { auto input = pattern::any_input(); auto weights = pattern::any_input(); @@ -59,6 +60,7 @@ class ov::pass::init_masks::InitConvMask : public MatcherPass { class ov::pass::init_masks::InitMatMulMask : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("init_masks::InitMatMulMask"); InitMatMulMask() { auto a = pattern::any_input(); auto b = pattern::any_input(); diff --git a/src/common/offline_transformations/src/pruning/propagate_masks.cpp b/src/common/offline_transformations/src/pruning/propagate_masks.cpp index 01029a4d7f595e..29fda1dfcb0b6b 100644 --- a/src/common/offline_transformations/src/pruning/propagate_masks.cpp +++ b/src/common/offline_transformations/src/pruning/propagate_masks.cpp @@ -65,6 +65,7 @@ static ov::Shape broadcast_shape_to_rank(ov::Shape shape_to_broadcast, int64_t d class ov::pass::mask_propagation::MatMul : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::MatMul"); MatMul() { auto a = pattern::any_input(pattern::has_static_shape()); auto b = pattern::any_input(pattern::has_static_shape()); @@ -201,6 +202,7 @@ class ov::pass::mask_propagation::MatMul : public MatcherPass { class ov::pass::mask_propagation::Convolution : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Convolution"); Convolution() { auto input = pattern::any_input(); auto weights = pattern::any_input(pattern::has_static_shape()); @@ -280,6 +282,7 @@ class ov::pass::mask_propagation::Convolution : public MatcherPass { class ov::pass::mask_propagation::GroupConvolution : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::GroupConvolution"); GroupConvolution() { auto input = pattern::any_input(pattern::has_static_dim(1)); auto weights = pattern::any_input(pattern::has_static_shape()); @@ -366,6 +369,7 @@ class ov::pass::mask_propagation::GroupConvolution : public MatcherPass { class ov::pass::mask_propagation::GroupConvolutionReshape : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::GroupConvolutionReshape"); GroupConvolutionReshape() { auto input = pattern::any_input(pattern::has_static_shape()); auto shape = pattern::any_input(); @@ -456,6 +460,7 @@ class ov::pass::mask_propagation::GroupConvolutionReshape : public MatcherPass { class ov::pass::mask_propagation::Elementwise : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Elementwise"); Elementwise() { auto input = pattern::any_input(); auto weights = pattern::any_input(); @@ -646,6 +651,7 @@ class ov::pass::mask_propagation::Elementwise : public MatcherPass { class ov::pass::mask_propagation::FakeQuantize : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::FakeQuantize"); FakeQuantize() { auto input = pattern::any_input(pattern::has_static_shape()); auto input_low = pattern::any_input(pattern::has_static_shape()); @@ -758,6 +764,7 @@ class ov::pass::mask_propagation::FakeQuantize : public MatcherPass { class ov::pass::mask_propagation::Concat : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Concat"); Concat() { auto concat = pattern::wrap_type(pattern::has_static_shape()); @@ -864,6 +871,7 @@ class ov::pass::mask_propagation::Concat : public MatcherPass { class ov::pass::mask_propagation::PassThrough : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::PassThrough"); PassThrough() { auto unary_op = pattern::wrap_type(); @@ -1117,6 +1126,7 @@ static std::vector collect_dims_attrs(const std::vector dims class ov::pass::mask_propagation::Reshape : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Reshape"); Reshape() { auto inputs = pattern::any_input(pattern::has_static_shape()); auto weights = pattern::any_input(); @@ -1373,6 +1383,7 @@ class ov::pass::mask_propagation::Reshape : public MatcherPass { class ov::pass::mask_propagation::Transpose : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Transpose"); Transpose() { auto input = pattern::any_input(); auto weights = pattern::any_input(); @@ -1480,6 +1491,7 @@ static ov::Mask::Ptr create_connect_split_output_mask(ov::Mask::Ptr input_mask, class ov::pass::mask_propagation::VariadicSplit : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::VariadicSplit"); VariadicSplit() { auto input_pattern = pattern::any_input(pattern::has_static_rank()); auto axis_pattern = pattern::wrap_type(); @@ -1547,6 +1559,7 @@ class ov::pass::mask_propagation::VariadicSplit : public MatcherPass { class ov::pass::mask_propagation::Split : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::Split"); Split() { auto input_pattern = pattern::any_input(pattern::has_static_rank()); auto axis_pattern = pattern::wrap_type(); @@ -1597,6 +1610,7 @@ class ov::pass::mask_propagation::Split : public MatcherPass { class ov::pass::mask_propagation::StopPropagation : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::StopPropagation"); StopPropagation() { auto any_node = pattern::any_input(); @@ -1654,6 +1668,7 @@ class ov::pass::mask_propagation::StopPropagation : public MatcherPass { class ov::pass::mask_propagation::SkipPropagation : public MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("mask_propagation::SkipPropagation"); SkipPropagation() { // Skip mask propagation for ShapeOf operation to prevent this opearation to be // processed as stop op. diff --git a/src/common/snippets/include/snippets/op/serialization_node.hpp b/src/common/snippets/include/snippets/op/serialization_node.hpp index 74ddaca4e025e1..c7c84ae95a8b9e 100644 --- a/src/common/snippets/include/snippets/op/serialization_node.hpp +++ b/src/common/snippets/include/snippets/op/serialization_node.hpp @@ -19,6 +19,8 @@ namespace op { */ class SerializationNode : public ov::op::Op { public: + OPENVINO_OP("SerializationNode", "SnippetsOpset"); + enum SerializationMode { DATA_FLOW, CONTROL_FLOW }; SerializationNode() = default; SerializationNode(const ov::OutputVector& args, diff --git a/src/common/snippets/include/snippets/pass/fq_decomposition.hpp b/src/common/snippets/include/snippets/pass/fq_decomposition.hpp index 982835b4f27d64..0d70f397e2fd97 100644 --- a/src/common/snippets/include/snippets/pass/fq_decomposition.hpp +++ b/src/common/snippets/include/snippets/pass/fq_decomposition.hpp @@ -79,6 +79,7 @@ class FakeQuantizeDecomposition : public ov::pass::MatcherPass { */ class CommonFakeQuantizeDecomposition: public ov::pass::ModelPass { public: + OPENVINO_RTTI("CommonFakeQuantizeDecomposition", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; static bool is_supported_fq(const std::shared_ptr& fq); diff --git a/src/common/snippets/include/snippets/pass/hash.hpp b/src/common/snippets/include/snippets/pass/hash.hpp index 66126cd21bbe6d..c75bfd9a97a4da 100644 --- a/src/common/snippets/include/snippets/pass/hash.hpp +++ b/src/common/snippets/include/snippets/pass/hash.hpp @@ -18,7 +18,7 @@ namespace pass { */ class Hash : public ov::pass::ModelPass { public: - OPENVINO_RTTI("HashPass", "0"); + OPENVINO_RTTI("HashPass", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& f) override; diff --git a/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp b/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp index 3449151ab93ac5..a0fd76acd3a12c 100644 --- a/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/fuse_rotary_positional_embeddings.hpp @@ -90,7 +90,7 @@ class ov::pass::RoPEShareCosSin : public ov::pass::MatcherPass { */ class ov::pass::RoPEFusion : public ov::pass::GraphRewrite { public: - OPENVINO_RTTI("RoPEFusion", "0"); + OPENVINO_RTTI("RoPEFusion", "0", ov::pass::GraphRewrite); RoPEFusion(bool support_2d_rope = false) { add_matcher(); add_matcher(); diff --git a/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp b/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp index 49893dfb220de6..b51f3fc607c6a8 100644 --- a/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/moc_transformations.hpp @@ -28,7 +28,7 @@ class ov::pass::MOCTransformations : public ov::pass::ModelPass { bool m_low_precision_enabled; public: - OPENVINO_RTTI("MOCTransformations", "0"); + OPENVINO_RTTI("MOCTransformations", "0", ov::pass::ModelPass); /** * use_shapes = True enables transformations which are depends on shapes and also it * enables ConstantFolding for all ShapeOf operations. diff --git a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp index 7af47440e8c9c4..559de5d1fcf507 100644 --- a/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp +++ b/src/common/transformations/include/transformations/common_optimizations/optimize_strided_slice.hpp @@ -84,7 +84,7 @@ class ov::pass::StridedSliceOptimization : public ov::pass::ModelPass { public: StridedSliceOptimization(bool use_shapes = true); - OPENVINO_RTTI("StridedSliceOptimization", "0"); + OPENVINO_RTTI("StridedSliceOptimization", "0", ov::pass::ModelPass); bool run_on_model(const std::shared_ptr& m) override; private: diff --git a/src/common/transformations/include/transformations/utils/print_model.hpp b/src/common/transformations/include/transformations/utils/print_model.hpp index 29340d60727c82..3303a63aac0376 100644 --- a/src/common/transformations/include/transformations/utils/print_model.hpp +++ b/src/common/transformations/include/transformations/utils/print_model.hpp @@ -390,7 +390,7 @@ void dump_cpp_style(std::ostream& os, const std::shared_ptr& model) { class OPENVINO_API PrintModel : public ov::pass::ModelPass { public: - OPENVINO_RTTI("ov::pass::PrintModel"); + OPENVINO_RTTI("ov::pass::PrintModel", "0", ov::pass::ModelPass); PrintModel(std::string file_name) { static int dump_index = 0; diff --git a/src/core/include/openvino/op/util/index_reduction.hpp b/src/core/include/openvino/op/util/index_reduction.hpp index 6f57afe6a7ed9e..8eee719da7a5c4 100644 --- a/src/core/include/openvino/op/util/index_reduction.hpp +++ b/src/core/include/openvino/op/util/index_reduction.hpp @@ -21,6 +21,8 @@ class OPENVINO_API IndexReduction : public Op { IndexReduction(const Output& arg, uint64_t axis, const element::Type& index_element_type); public: + OPENVINO_OP("IndexReduction", "util"); + uint64_t get_reduction_axis() const; void set_reduction_axis(uint64_t value); element::Type get_index_element_type() const; diff --git a/src/frontends/common/src/extension/decoder_transformation.cpp b/src/frontends/common/src/extension/decoder_transformation.cpp index 561de1aacd79f9..4e2c436f1c6be0 100644 --- a/src/frontends/common/src/extension/decoder_transformation.cpp +++ b/src/frontends/common/src/extension/decoder_transformation.cpp @@ -12,6 +12,7 @@ using namespace ov::frontend; /// \brief Helper class to register user function as a FunctionPass class CustomModelPass : public ov::pass::ModelPass { public: + OPENVINO_RTTI("CustomModelPass", "0", ov::pass::ModelPass); explicit CustomModelPass(std::function)> pass) : m_pass(std::move(pass)) {} bool run_on_model(const std::shared_ptr& f) override { @@ -25,6 +26,7 @@ class CustomModelPass : public ov::pass::ModelPass { /// \brief Helper class to register user matcher pass initialization as a MatcherPass class CustomMatcherPass : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("CustomMatcherPass"); explicit CustomMatcherPass(const std::function& matcher_pass_initializer) { matcher_pass_initializer(this); } diff --git a/src/frontends/pytorch/src/transforms/softmax_reshape_elimination.hpp b/src/frontends/pytorch/src/transforms/softmax_reshape_elimination.hpp index c0d78499f575c6..5e07506686a836 100644 --- a/src/frontends/pytorch/src/transforms/softmax_reshape_elimination.hpp +++ b/src/frontends/pytorch/src/transforms/softmax_reshape_elimination.hpp @@ -19,10 +19,11 @@ namespace pass { */ class SoftmaxReshapeElimination : public ov::pass::MatcherPass { public: + OPENVINO_MATCHER_PASS_RTTI("ov::frontend::pytorch::pass::SoftmaxReshapeElimination"); SoftmaxReshapeElimination(); }; } // namespace pass } // namespace pytorch } // namespace frontend -} // namespace ov \ No newline at end of file +} // namespace ov From 8f3aefb686d9b9cf21b33fd4f89d0bbee79bc2e9 Mon Sep 17 00:00:00 2001 From: Tomasz Jankowski Date: Mon, 16 Dec 2024 22:13:18 +0100 Subject: [PATCH 16/16] Remove doubled RTTI from common/snippets Signed-off-by: Tomasz Jankowski --- src/common/snippets/include/snippets/op/serialization_node.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/snippets/include/snippets/op/serialization_node.hpp b/src/common/snippets/include/snippets/op/serialization_node.hpp index c7c84ae95a8b9e..74ddaca4e025e1 100644 --- a/src/common/snippets/include/snippets/op/serialization_node.hpp +++ b/src/common/snippets/include/snippets/op/serialization_node.hpp @@ -19,8 +19,6 @@ namespace op { */ class SerializationNode : public ov::op::Op { public: - OPENVINO_OP("SerializationNode", "SnippetsOpset"); - enum SerializationMode { DATA_FLOW, CONTROL_FLOW }; SerializationNode() = default; SerializationNode(const ov::OutputVector& args,