Skip to content

Commit

Permalink
Removal of opset12 from ngraph
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdol committed Jun 28, 2023
1 parent 5941ad6 commit 5469f65
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 53 deletions.
15 changes: 0 additions & 15 deletions src/core/include/ngraph/op/group_normalization.hpp

This file was deleted.

1 change: 0 additions & 1 deletion src/core/include/ngraph/ops.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
#include "ngraph/op/grid_sample.hpp"
#include "ngraph/op/grn.hpp"
#include "ngraph/op/group_conv.hpp"
#include "ngraph/op/group_normalization.hpp"
#include "ngraph/op/gru_cell.hpp"
#include "ngraph/op/gru_sequence.hpp"
#include "ngraph/op/hard_sigmoid.hpp"
Expand Down
1 change: 0 additions & 1 deletion src/core/include/ngraph/opsets/opset.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const NGRAPH_API OpSet& get_opset8();
const NGRAPH_API OpSet& get_opset9();
const NGRAPH_API OpSet& get_opset10();
const NGRAPH_API OpSet& get_opset11();
const NGRAPH_API OpSet& get_opset12();
const NGRAPH_API std::map<std::string, std::function<const ngraph::OpSet&()>>& get_available_opsets();
} // namespace ngraph
NGRAPH_SUPPRESS_DEPRECATED_END
15 changes: 0 additions & 15 deletions src/core/include/ngraph/opsets/opset12.hpp

This file was deleted.

12 changes: 0 additions & 12 deletions src/core/include/ngraph/opsets/opset12_tbl.hpp

This file was deleted.

10 changes: 2 additions & 8 deletions src/core/src/opsets/opset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include "itt.hpp"
#include "ngraph/deprecated.hpp"
#include "ngraph/log.hpp"
#include "ngraph/ops.hpp"
#include "openvino/op/ops.hpp"
#include "openvino/opsets/opset.hpp"
#include "openvino/util/log.hpp"

Expand Down Expand Up @@ -64,8 +64,7 @@ const std::map<std::string, std::function<const ngraph::OpSet&()>>& ngraph::get_
_NGRAPH_REG_OPSET(opset8),
_NGRAPH_REG_OPSET(opset9),
_NGRAPH_REG_OPSET(opset10),
_NGRAPH_REG_OPSET(opset11),
_NGRAPH_REG_OPSET(opset12)};
_NGRAPH_REG_OPSET(opset11)};
#undef _NGRAPH_REG_OPSET
return opset_map;
}
Expand Down Expand Up @@ -275,8 +274,3 @@ const ngraph::OpSet& ngraph::get_opset11() {
static OpSet opset(ov::get_opset11());
return opset;
}

const ngraph::OpSet& ngraph::get_opset12() {
static OpSet opset(ov::get_opset12());
return opset;
}
2 changes: 1 addition & 1 deletion src/core/tests/op_version_tbl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ _OPENVINO_OP_REG(Greater, ngraph::op::v1)
_OPENVINO_OP_REG(GreaterEqual, ngraph::op::v1)
_OPENVINO_OP_REG(GroupConvolution, ngraph::op::v1)
_OPENVINO_OP_REG(GroupConvolutionBackpropData, ngraph::op::v1)
_OPENVINO_OP_REG(GroupNormalization, ngraph::op::v12)
_OPENVINO_OP_REG(GroupNormalization, ov::op::v12)
_OPENVINO_OP_REG(HardSigmoid, ngraph::op::v0)
_OPENVINO_OP_REG(Interpolate, ngraph::op::v0)
_OPENVINO_OP_REG(Interpolate, ngraph::op::v4)
Expand Down
1 change: 1 addition & 0 deletions src/tests/util/visitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include "ngraph/ops.hpp"
#include "ngraph/runtime/host_tensor.hpp"
#include "openvino/core/deprecated.hpp"
#include "openvino/op/ops.hpp"

OPENVINO_SUPPRESS_DEPRECATED_START
namespace ngraph {
Expand Down

0 comments on commit 5469f65

Please sign in to comment.