Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional RTTI Fix #27866

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
87f0fdd
Additional RTTI Fix
Cbaoj Oct 29, 2024
0a8b471
Resolve code style issues
t-jankowski Dec 9, 2024
474f83e
Fix core unit test
t-jankowski Dec 9, 2024
77a5c20
Fix transformations tests
t-jankowski Dec 9, 2024
e32b352
Fix ov_snippets_func_tests
t-jankowski Dec 9, 2024
375b025
Fix ov_lp_transformations_tests
t-jankowski Dec 9, 2024
e9e071a
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 9, 2024
440acde
Update RTTI in cpu plugin transformations
t-jankowski Dec 9, 2024
57f3290
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 10, 2024
b94f2f4
Remove not needed changes
t-jankowski Dec 10, 2024
5e44aad
Add missing rtti parent
t-jankowski Dec 10, 2024
3df5172
Update RTTI in paddlepaddle FE
t-jankowski Dec 10, 2024
95f0a89
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 10, 2024
1684ea7
Update RTTI in tensorflow FE
t-jankowski Dec 11, 2024
53f5c9f
Add OPENVINO_MATCHER_PASS_RTTI macro definition
t-jankowski Dec 11, 2024
671c9b3
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 11, 2024
37f5c1c
Use OPENVINO_MATCHER_PASS_RTTI where applicable
t-jankowski Dec 11, 2024
b74bcae
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 11, 2024
12b1cb6
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 12, 2024
3c79424
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 12, 2024
1a8d088
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 13, 2024
bf58f2f
Use ov::as_type_ptr where applicable (pytorch fe)
t-jankowski Dec 13, 2024
007d4ca
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 13, 2024
5cb00c7
Add missing RTTI to transformations
t-jankowski Dec 16, 2024
278168b
Merge remote-tracking branch 'upstream/master' into rtti_branch
t-jankowski Dec 16, 2024
8f3aefb
Remove doubled RTTI from common/snippets
t-jankowski Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::element::Type>& defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support());
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::element::Type> defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support());
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::Model> model, const Params& params = Params());
bool transform(TransformationContext& context, ov::pass::pattern::Matcher& m) override;
bool canBeTransformed(const TransformationContext& context, std::shared_ptr<Node> op) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> op) const override;
bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::Node> layer) const override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> op) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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_MATCHER_PASS_RTTI("ConvertSubtractConstant");
ConvertSubtractConstant(const std::vector<ov::element::Type>& constantPrecisions = {});
};
Original file line number Diff line number Diff line change
Expand Up @@ -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<const Node>& layer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class CreatePrecisionsDependentAttribute;
template <typename AttributeType, typename OperationType>
class ov::pass::low_precision::CreatePrecisionsDependentAttribute : public ov::pass::MatcherPass {
public:
OPENVINO_MATCHER_PASS_RTTI("low_precision::CreatePrecisionsDependentAttribute");
CreatePrecisionsDependentAttribute() {
auto operation = pattern::wrap_type<OperationType>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::Node> layer) const override;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<const Node>& layer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<PrecisionsRestriction>& precisionRestrictions,
const std::vector<QuantizationGranularityRestriction>& quantizationRestrictions,
Expand All @@ -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<PrecisionsRestriction>& precisionRestrictions = {},
const std::vector<QuantizationGranularityRestriction>& quantizationRestrictions = {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::element::Type> defaultPrecisions = ov::pass::low_precision::precision_set::get_int8_support());
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ namespace low_precision {
*/
class LP_TRANSFORMATIONS_API MarkupBias : public ov::pass::MatcherPass {
public:
OPENVINO_RTTI("MarkupBias", "0");
OPENVINO_MATCHER_PASS_RTTI("MarkupBias");
MarkupBias();
};

} // namespace low_precision
} // namespace pass
} // namespace ov
} // namespace ov
Original file line number Diff line number Diff line change
Expand Up @@ -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<ov::element::Type> defaultPrecisions = { ov::element::u8, ov::element::i8 });
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class ov::pass::low_precision::MarkupPrecisions : public ov::pass::ModelPass {
std::unordered_map<std::string, RestrictionByVersion> precisionsByVersion;
};

OPENVINO_RTTI("MarkupPrecisions", "0");
OPENVINO_RTTI("MarkupPrecisions", "0", ov::pass::ModelPass);
explicit MarkupPrecisions(const std::vector<PrecisionsRestriction>& restrictions = {},
const std::vector<ov::element::Type>& defaultPrecisions = { ov::element::u8, ov::element::i8 });
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class ov::pass::low_precision::MarkupQuantizationGranularity : public ov::pass::
std::unordered_map<std::string, std::vector<PortQuantizationGranularityRestriction>> portsByVersion;
};

OPENVINO_RTTI("MarkupPerTensorQuantization", "0");
OPENVINO_RTTI("MarkupPerTensorQuantization", "0", ov::pass::ModelPass);
explicit MarkupQuantizationGranularity(const std::vector<QuantizationGranularityRestriction>& restrictions = {});
bool run_on_model(const std::shared_ptr<ov::Model>& m) override;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const noexcept override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> op) const override;
bool transform(TransformationContext& context, ov::pass::pattern::Matcher &m) override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<Node> layer) const override;
Expand Down
Loading
Loading