Skip to content

Commit cf870cd

Browse files
authored
Fix ov RTTI (#26895)
### Details: fix ov RTTI cherry-picked from #26630 ### Tickets: - *CVS-151640*
1 parent 0a348d8 commit cf870cd

File tree

7 files changed

+7
-6
lines changed

7 files changed

+7
-6
lines changed

src/core/include/openvino/op/sink.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace op {
1515
class OPENVINO_API Sink : public Op {
1616
public:
1717
~Sink() override = 0;
18-
OPENVINO_OP("Sink");
18+
OPENVINO_OP("Sink", "util", Op);
1919

2020
protected:
2121
Sink() : Op() {}

src/core/include/openvino/op/util/convolution_backprop_base.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace util {
1212
/// \brief Base class for operations like back propagation convolution
1313
class OPENVINO_API ConvolutionBackPropBase : public ConvolutionBase {
1414
public:
15-
OPENVINO_OP("ConvolutionBackPropBase", "util");
15+
OPENVINO_OP("ConvolutionBackPropBase", "util", ConvolutionBase);
1616

1717
/// \brief Constructs a conversion operation.
1818
ConvolutionBackPropBase() = default;

src/core/include/openvino/op/util/convolution_base.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class OPENVINO_API ConvolutionBase : public Op {
106106
/// \brief Base class for operations like back propagation convolution
107107
class OPENVINO_API ConvolutionFwdPropBase : public ConvolutionBase {
108108
public:
109-
OPENVINO_OP("ConvolutionFwdPropBase", "util");
109+
OPENVINO_OP("ConvolutionFwdPropBase", "util", ConvolutionBase);
110110

111111
/// \brief Constructs a conversion operation.
112112
ConvolutionFwdPropBase() = default;

src/core/include/openvino/op/util/deformable_convolution_base.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace util {
1616
/// v8.
1717
class OPENVINO_API DeformableConvolutionBase : public util::ConvolutionBase {
1818
public:
19-
OPENVINO_OP("DeformableConvolutionBase", "util");
19+
OPENVINO_OP("DeformableConvolutionBase", "util", util::ConvolutionBase);
2020

2121
/// \brief Constructs a conversion operation.
2222
DeformableConvolutionBase() = default;

src/core/include/openvino/op/util/framework_node.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class OPENVINO_API FrameworkNodeAttrs {
7575

7676
class OPENVINO_API FrameworkNode : public MultiSubGraphOp {
7777
public:
78-
OPENVINO_OP("FrameworkNode", "util");
78+
OPENVINO_OP("FrameworkNode", "util", MultiSubGraphOp);
7979

8080
FrameworkNode() = default;
8181

src/core/include/openvino/op/util/multi_subgraph_base.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace util {
1717
///
1818
class OPENVINO_API MultiSubGraphOp : public ov::op::Sink {
1919
public:
20-
OPENVINO_OP("MultiSubGraphOp", "util");
20+
OPENVINO_OP("MultiSubGraphOp", "util", ov::op::Sink);
2121
/// \brief Abstract class describes a connection between a MultiSubGraphOp input and
2222
/// the body.
2323
class InputDescription {

src/frontends/tensorflow_common/include/helper_ops/internal_operation.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class InternalOperation : public ov::frontend::tensorflow::FrameworkNode {
6262
m_no_conversion_reason(no_conversion_reason) {}
6363

6464
public:
65+
OPENVINO_OP("InternalOperation", "util", ov::frontend::tensorflow::FrameworkNode);
6566
// get a reason why some operation is unable to convert to OpenVINO opset
6667
// we store this information for InternalOperation to elaborate the reason
6768
// for cases such as Constant node of string type

0 commit comments

Comments
 (0)