Skip to content

Commit

Permalink
[RTTI] Add OPENVINO_GRAPH_REWRITE_RTTI definition (#28165)
Browse files Browse the repository at this point in the history
### Details:
- Added RTTI definition for passes derived from
`ov::pass::GraphRewrite`.
 - Applied where applicable.

### Tickets:
 - CVS-159694

Signed-off-by: Tomasz Jankowski <[email protected]>
  • Loading branch information
t-jankowski authored Dec 20, 2024
1 parent 9edb68b commit e32fc0c
Show file tree
Hide file tree
Showing 43 changed files with 61 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ 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_GRAPH_REWRITE_RTTI("low_precision::TypeRelaxedReplacer");
TypeRelaxedReplacer();
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,6 @@ class ov::pass::CompressWeightsWithFakeConvert : public ov::pass::MatcherPass {

class ov::pass::CompressQuantizeWeights : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("CompressQuantizeWeights", "0");
OPENVINO_GRAPH_REWRITE_RTTI("CompressQuantizeWeights");
CompressQuantizeWeights();
};
4 changes: 2 additions & 2 deletions src/common/offline_transformations/include/pruning.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Pruning;
*/
class ov::pass::InitMasks : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("InitMasks", "0");
OPENVINO_GRAPH_REWRITE_RTTI("InitMasks");
InitMasks();
};

Expand All @@ -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_GRAPH_REWRITE_RTTI("PropagateMasks");
PropagateMasks();
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("CompressFloatConstants");
/// @brief Transformation constructor
/// @param postponed Postponed compression, see ov::pass::CompressFloatConstantsImpl for details.
CompressFloatConstants(bool postponed = false) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("ConcatReduceFusion");
ConcatReduceFusion();
};
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ class TRANSFORMATIONS_API ConvertNmsGatherPathToUnsigned;
*/
class ov::pass::ConvertNmsGatherPathToUnsigned : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertNmsGatherPathToUnsigned", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertNmsGatherPathToUnsigned");
ConvertNmsGatherPathToUnsigned();
};
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("RoPEFusion");
RoPEFusion(bool support_2d_rope = false) {
add_matcher<ov::pass::RoPEFusionFlux>();
add_matcher<ov::pass::RoPEFusionGPTNEOX>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("GeluFusion");
GeluFusion() {
add_matcher<ov::pass::GeluFusionWithErfOne>();
add_matcher<ov::pass::GeluFusionWithErfTwo>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("HSigmoidFusion");
HSigmoidFusion() {
add_matcher<ov::pass::HSigmoidFusionWithReluDiv>();
add_matcher<ov::pass::HSigmoidFusionWithReluMul>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("HSwishFusion");
HSwishFusion() {
add_matcher<ov::pass::HSwishFusionWithReluDiv>();
add_matcher<ov::pass::HSwishFusionWithReluMul>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("LinOpSequenceFusion");
LinOpSequenceFusion() {
add_matcher<ov::pass::AddMultiplyFusion>();
add_matcher<ov::pass::AddAddFusion>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("LSTMCellFusion");
LSTMCellFusion() {
add_matcher<ov::pass::LSTMCellFusionWithJointWeights>();
add_matcher<ov::pass::LSTMCellFusionWithSplitWeights>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMovPerChannel : public ov::pas

class TRANSFORMATIONS_API MoveEltwiseUpThroughDataMov : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("MoveEltwiseUpThroughDataMov", "0");
OPENVINO_GRAPH_REWRITE_RTTI("MoveEltwiseUpThroughDataMov");
MoveEltwiseUpThroughDataMov(std::vector<DiscreteTypeInfo> allowed_data_movement_ops = get_default_allowed_ops()) {
this->add_matcher<MoveEltwiseUpThroughDataMovScalar>(allowed_data_movement_ops);
this->add_matcher<MoveEltwiseUpThroughDataMovPerChannel>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("MVNFusion");
MVNFusion() {
add_matcher<ov::pass::MVNFusionWithoutConstants>();
add_matcher<ov::pass::MVNFusionWithConstantsInside>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class ov::pass::EliminateScatterUpdate : public ov::pass::MatcherPass {

class ov::pass::NopElimination : public GraphRewrite {
public:
OPENVINO_RTTI("NopElimination", "0");
OPENVINO_GRAPH_REWRITE_RTTI("NopElimination");
NopElimination(bool use_shape_for_elimination = true);
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ov::pass::PadFusionGroupConvolutionBackpropData : public ov::pass::Matcher

class ov::pass::PadFusion : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("PadFusion", "0");
OPENVINO_GRAPH_REWRITE_RTTI("PadFusion");
PadFusion() {
add_matcher<ov::pass::PadFusionAvgPool>();
add_matcher<ov::pass::PadFusionConvolution>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("PReluFusion");
PReluFusion() {
add_matcher<ov::pass::PReluFusionNegativeAdd>();
add_matcher<ov::pass::PReluFusionNegativeSub>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("PullThroughReduce");
PullThroughReduce() {
add_matcher<ov::pass::PullUnsqueezeThroughReduce>();
add_matcher<ov::pass::PullReshapeThroughReduce>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class TRANSFORMATIONS_API RemoveFilteringBoxesBySize;

class ov::pass::FuseFilteringBoxesBySize : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("FuseFilteringBoxesBySize", "0");
OPENVINO_GRAPH_REWRITE_RTTI("FuseFilteringBoxesBySize");
FuseFilteringBoxesBySize();
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("SwishFusion");
SwishFusion() {
add_matcher<ov::pass::SwishFusionWithSigmoid>();
add_matcher<ov::pass::SwishFusionWithSigmoidWithBeta>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("TransposeSinking");
TransposeSinking() {
add_matcher<ov::pass::TransposeFQReduction>();
add_matcher<ov::pass::TransposeReduction>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("BidirectionalSequenceDecomposition");
BidirectionalSequenceDecomposition() {
add_matcher<ov::pass::BidirectionalLSTMSequenceDecomposition>();
add_matcher<ov::pass::BidirectionalGRUSequenceDecomposition>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ov::pass::ConvertBitwiseXorToLogicalXor : public ov::pass::MatcherPass {
*/
class ConvertBitwiseToLogical : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertBitwiseToLogical", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertBitwiseToLogical");
ConvertBitwiseToLogical() {
add_matcher<ov::pass::ConvertBitwiseAndToLogicalAnd>();
add_matcher<ov::pass::ConvertBitwiseNotToLogicalNot>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ov::pass::ConvertReduceSumToPooling : public ConvertReduceBase {

class ov::pass::ConvertReduceToPooling : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertReduceToPooling", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertReduceToPooling");
ConvertReduceToPooling() {
add_matcher<ConvertReduceMeanToPooling>();
add_matcher<ConvertReduceMaxToPooling>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ov::pass::ConvertReduceLogicalOrToReshape : public CvtReduceBase {

class ov::pass::ConvertReduceToReshape : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertReduceToReshape", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertReduceToReshape");
// Handling reduce if it can be converted to reshape (check input/output tensor)
ConvertReduceToReshape() {
// Redundant reduce based on its mode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ class ov::pass::ConvertLSTMSequenceToTensorIterator : public ov::pass::MatcherPa

class ov::pass::ConvertSequenceToTensorIterator : public GraphRewrite {
public:
OPENVINO_RTTI("ConvertSequenceToTensorIterator", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertSequenceToTensorIterator");
ConvertSequenceToTensorIterator();
};
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ov::pass::ConvertTensorIteratorToGRUSequence : public ov::pass::MatcherPas

class ov::pass::ConvertTensorIteratorToSequence : public GraphRewrite {
public:
OPENVINO_RTTI("ConvertTensorIteratorToSequence", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertTensorIteratorToSequence");
ConvertTensorIteratorToSequence();
};

Expand All @@ -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_GRAPH_REWRITE_RTTI("ConvertLoopToLSTMSequence");
ConvertLoopToLSTMSequence() {
add_matcher<ov::pass::ConvertLoopWithScatterUpdateToLSTMSequence>();
add_matcher<ov::pass::ConvertLoopWithSlicedInputConcatOutputToLSTMSequence>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_GRAPH_REWRITE_RTTI("TSGeneralForward");
TSGeneralForward();
};

Expand All @@ -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_GRAPH_REWRITE_RTTI("TSGeneralBackward");
TSGeneralBackward();
};

Expand Down
2 changes: 1 addition & 1 deletion src/core/include/openvino/pass/backward_graph_rewrite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace ov {
namespace pass {
class OPENVINO_API BackwardGraphRewrite : public GraphRewrite {
public:
OPENVINO_RTTI("ov::pass::BackwardGraphRewrite");
OPENVINO_GRAPH_REWRITE_RTTI("ov::pass::BackwardGraphRewrite");

BackwardGraphRewrite() = default;

Expand Down
13 changes: 12 additions & 1 deletion src/core/include/openvino/pass/graph_rewrite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,19 @@
#include <memory>
#include <set>

#include "openvino/core/rtti.hpp"
#include "openvino/pass/matcher_pass.hpp"

#define _OPENVINO_GRAPH_REWRITE_RTTI_WITH_TYPE(TYPE_NAME) _OPENVINO_GRAPH_REWRITE_RTTI_WITH_TYPE_VERSION(TYPE_NAME, "0")

#define _OPENVINO_GRAPH_REWRITE_RTTI_WITH_TYPE_VERSION(TYPE_NAME, VERSION_NAME) \
_OPENVINO_RTTI_WITH_TYPE_VERSION_PARENT(TYPE_NAME, VERSION_NAME, ::ov::pass::GraphRewrite)

#define OPENVINO_GRAPH_REWRITE_RTTI(...) \
_OPENVINO_RTTI_EXPAND(_OPENVINO_RTTI_DEFINITION_SELECTOR_2(__VA_ARGS__, \
_OPENVINO_GRAPH_REWRITE_RTTI_WITH_TYPE_VERSION, \
_OPENVINO_GRAPH_REWRITE_RTTI_WITH_TYPE)(__VA_ARGS__))

namespace ov {
namespace pass {
/// \brief GraphRewrite is a container for MatcherPasses that allows to run them on Function
Expand Down Expand Up @@ -80,7 +91,7 @@ class OPENVINO_API GraphRewrite : public ModelPass {
///
/// class ov::pass::LinFusions: public ov::pass::GraphRewrite {
/// public:
/// OPENVINO_RTTI("LinFusion");
/// OPENVINO_GRAPH_REWRITE_RTTI("LinFusion");
/// Fusions() {
/// add_matcher<ov::pass::AddFusion>();
/// add_matcher<ov::pass::MulFusion>();
Expand Down
2 changes: 2 additions & 0 deletions src/core/src/pass/graph_rewrite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ void ov::pass::GraphRewrite::set_pass_config(const std::shared_ptr<PassConfig>&
// For example:
//
// class ExampleGraphRewrite: public pass::GraphRewrite {
// public:
// OPENVINO_GRAPH_REWRITE_RTTI("ExampleGraphRewrite");
// ExampleGraphRewrite() {
// add_mather<TestMatcher1, false /* disabled by default */>();
// add_mather<TestMatcher2>();
Expand Down
2 changes: 1 addition & 1 deletion src/core/tests/graph_rewrite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GatherNodesPass : public ov::pass::MatcherPass {

class Anchor : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("Anchor");
OPENVINO_GRAPH_REWRITE_RTTI("Anchor");
Anchor() : GraphRewrite() {}
};

Expand Down
4 changes: 2 additions & 2 deletions src/core/tests/pass_config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class TestModelPass : public pass::ModelPass {

class TestGraphRewritePass : public pass::GraphRewrite {
public:
OPENVINO_RTTI("TestGraphRewritePass");
OPENVINO_GRAPH_REWRITE_RTTI("TestGraphRewritePass");
TestGraphRewritePass() {
add_matcher<RenameReLU, false /*disabled by default*/>();
add_matcher<RenameSigmoid>();
Expand Down Expand Up @@ -284,7 +284,7 @@ class TestNestedMatcher : public ov::pass::MatcherPass {

class TestNestedGraphRewrite : public pass::GraphRewrite {
public:
OPENVINO_RTTI("TestNestedGraphRewrite");
OPENVINO_GRAPH_REWRITE_RTTI("TestNestedGraphRewrite");
TestNestedGraphRewrite() {
add_matcher<TestNestedMatcher>();
}
Expand Down
2 changes: 2 additions & 0 deletions src/core/tests/pattern.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ static std::shared_ptr<pattern::op::Label> construct_mean_graph() {

class TestGraphRewrite : public ov::pass::GraphRewrite {
public:
OPENVINO_GRAPH_REWRITE_RTTI("TestGraphRewrite");

void construct_multiply_by_one() {
// pattern #1 : a * 1 = a
auto iconst1 = construct_constant_node(1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class ConvertReduceSum : public ConvertReduceMultiAxisBase {

class ConvertReduceMultiAxis : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertReduceMultiAxis", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertReduceMultiAxis");
ConvertReduceMultiAxis() {
add_matcher<ConvertReduceProd>();
add_matcher<ConvertReduceMin>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ConvertReduction : public ConvertReduceNoKeepDimsBase {

class ConvertReduceNoKeepDims : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("ConvertReduceNoKeepDims", "0");
OPENVINO_GRAPH_REWRITE_RTTI("ConvertReduceNoKeepDims");
ConvertReduceNoKeepDims() {
add_matcher<ConvertReduction<ov::op::util::LogicalReductionKeepDims>>();
add_matcher<ConvertReduction<ov::op::util::ArithmeticReductionKeepDims>>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ namespace intel_cpu {

class CausalMaskPreprocessFusion : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("CausalMaskPreprocessFusion", "0");
OPENVINO_GRAPH_REWRITE_RTTI("CausalMaskPreprocessFusion");
CausalMaskPreprocessFusion();
};

} // namespace intel_cpu
} // namespace ov
} // namespace ov
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class OptimizeRNNSequenceTransposes : public ov::pass::MatcherPass {

class OptimizeSequenceTransposes : public ov::pass::GraphRewrite {
public:
OPENVINO_RTTI("OptimizeSequenceTransposes", "0");
OPENVINO_GRAPH_REWRITE_RTTI("OptimizeSequenceTransposes");
OptimizeSequenceTransposes();
};

Expand Down
Loading

0 comments on commit e32fc0c

Please sign in to comment.