Skip to content

Commit

Permalink
Fixed RTTI
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyachur committed Sep 6, 2021
1 parent ace466c commit 78786d7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ngraph/core/src/op/gru_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using namespace std;
using namespace ngraph;

OPENVINO_RTTI_DEFINITION(op::v3::GRUCell, "GRUCell", 1);
OPENVINO_RTTI_DEFINITION(op::v3::GRUCell, "GRUCell", 1, op::util::RNNCellBase);

op::v3::GRUCell::GRUCell() : m_linear_before_reset(false) {
m_activations = {"sigmoid", "tanh"};
Expand Down
2 changes: 1 addition & 1 deletion ngraph/core/src/op/hsigmoid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using namespace std;
using namespace ngraph;

OPENVINO_RTTI_DEFINITION(op::v5::HSigmoid, "HSigmoid", 5);
OPENVINO_RTTI_DEFINITION(op::v5::HSigmoid, "HSigmoid", 5, op::util::UnaryElementwiseArithmetic);

op::v5::HSigmoid::HSigmoid(const Output<Node>& arg) : UnaryElementwiseArithmetic(arg) {
constructor_validate_and_infer_types();
Expand Down
2 changes: 1 addition & 1 deletion ngraph/core/src/op/hswish.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using namespace std;
using namespace ngraph;

OPENVINO_RTTI_DEFINITION(op::v4::HSwish, "HSwish", 4);
OPENVINO_RTTI_DEFINITION(op::v4::HSwish, "HSwish", 4, op::util::UnaryElementwiseArithmetic);

op::v4::HSwish::HSwish(const Output<Node>& arg) : UnaryElementwiseArithmetic(arg) {
constructor_validate_and_infer_types();
Expand Down
2 changes: 1 addition & 1 deletion ngraph/core/src/op/log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
using namespace std;
using namespace ngraph;

OPENVINO_RTTI_DEFINITION(op::v0::Log, "Log", 0);
OPENVINO_RTTI_DEFINITION(op::v0::Log, "Log", 0, op::util::UnaryElementwiseArithmetic);

op::Log::Log(const Output<Node>& arg) : UnaryElementwiseArithmetic(arg) {
constructor_validate_and_infer_types();
Expand Down
2 changes: 1 addition & 1 deletion ngraph/core/src/op/loop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
using namespace std;
using namespace ngraph;

OPENVINO_RTTI_DEFINITION(op::v5::Loop, "Loop", 5);
OPENVINO_RTTI_DEFINITION(op::v5::Loop, "Loop", 5, op::util::SubGraphOp);

op::v5::Loop::Loop(const Output<Node>& trip_count, const Output<Node>& execution_condition) : SubGraphOp() {
set_argument(0, trip_count);
Expand Down

0 comments on commit 78786d7

Please sign in to comment.