diff --git a/cmake/developer_package/compile_flags/os_flags.cmake b/cmake/developer_package/compile_flags/os_flags.cmake index af9e21e9495..bf2d4c1875e 100644 --- a/cmake/developer_package/compile_flags/os_flags.cmake +++ b/cmake/developer_package/compile_flags/os_flags.cmake @@ -38,9 +38,10 @@ endmacro() macro(ie_deprecated_no_errors) if(WIN32) if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") - set(ie_c_cxx_deprecated "/Qdiag-warning:1478,1786") + set(ie_c_cxx_deprecated_no_errors "/Qdiag-warning:1478,1786") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") - set(ie_c_cxx_deprecated "/wd4996") + # show 4996 only for /w4 + set(ie_c_cxx_deprecated_no_errors "/w44996") endif() else() if(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") diff --git a/ngraph/core/builder/src/builder/autobroadcast.cpp b/ngraph/core/builder/src/builder/autobroadcast.cpp index dc83f217162..1465e586f0a 100644 --- a/ngraph/core/builder/src/builder/autobroadcast.cpp +++ b/ngraph/core/builder/src/builder/autobroadcast.cpp @@ -15,8 +15,6 @@ #include "ngraph/op/reshape.hpp" #include "ngraph/util.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; namespace ngraph diff --git a/ngraph/core/builder/src/builder/split.cpp b/ngraph/core/builder/src/builder/split.cpp index 34f7de6b24d..f71db83db52 100644 --- a/ngraph/core/builder/src/builder/split.cpp +++ b/ngraph/core/builder/src/builder/split.cpp @@ -5,8 +5,6 @@ #include "ngraph/builder/split.hpp" #include "ngraph/opsets/opset1.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace ngraph; OutputVector builder::opset1::split(const Output& value, diff --git a/ngraph/core/include/ngraph/op/depth_to_space.hpp b/ngraph/core/include/ngraph/op/depth_to_space.hpp index 0e610df6875..57d8ba3d56a 100644 --- a/ngraph/core/include/ngraph/op/depth_to_space.hpp +++ b/ngraph/core/include/ngraph/op/depth_to_space.hpp @@ -10,8 +10,6 @@ #include "ngraph/op/util/fused_op.hpp" #include "ngraph/runtime/host_tensor.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace op @@ -94,5 +92,3 @@ namespace ngraph const DiscreteTypeInfo& get_type_info() const override { return type_info; } }; } - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/include/ngraph/op/fake_quantize.hpp b/ngraph/core/include/ngraph/op/fake_quantize.hpp index e97e20d0912..c5479f2b7ea 100644 --- a/ngraph/core/include/ngraph/op/fake_quantize.hpp +++ b/ngraph/core/include/ngraph/op/fake_quantize.hpp @@ -8,8 +8,6 @@ #include "ngraph/op/util/attr_types.hpp" #include "ngraph/op/util/fused_op.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace op @@ -78,5 +76,3 @@ namespace ngraph using v0::FakeQuantize; } } - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/include/ngraph/op/interpolate.hpp b/ngraph/core/include/ngraph/op/interpolate.hpp index 5a80341fd33..6d6265ec84f 100644 --- a/ngraph/core/include/ngraph/op/interpolate.hpp +++ b/ngraph/core/include/ngraph/op/interpolate.hpp @@ -271,10 +271,9 @@ namespace ngraph const std::vector& sizes) const; }; } // namespace v4 - NGRAPH_SUPPRESS_DEPRECATED_START + using v0::Interpolate; using v0::InterpolateAttrs; - NGRAPH_SUPPRESS_DEPRECATED_END } // namespace op //---------------------------------------- v0 -------------------------------------------------- diff --git a/ngraph/core/include/ngraph/op/shuffle_channels.hpp b/ngraph/core/include/ngraph/op/shuffle_channels.hpp index 43ee4a4bdb8..0506ce57a92 100644 --- a/ngraph/core/include/ngraph/op/shuffle_channels.hpp +++ b/ngraph/core/include/ngraph/op/shuffle_channels.hpp @@ -9,8 +9,6 @@ #include "ngraph/node.hpp" #include "ngraph/op/util/fused_op.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace op @@ -67,5 +65,3 @@ namespace ngraph using v0::ShuffleChannels; } } - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/include/ngraph/op/space_to_depth.hpp b/ngraph/core/include/ngraph/op/space_to_depth.hpp index 4a41a97722f..51b4fe9a631 100644 --- a/ngraph/core/include/ngraph/op/space_to_depth.hpp +++ b/ngraph/core/include/ngraph/op/space_to_depth.hpp @@ -8,8 +8,6 @@ #include "ngraph/op/util/fused_op.hpp" #include "ngraph/runtime/host_tensor.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace op @@ -91,5 +89,3 @@ namespace ngraph const DiscreteTypeInfo& get_type_info() const override { return type_info; } }; } // namespace ngraph - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/reference/include/ngraph/runtime/reference/quantize.hpp b/ngraph/core/reference/include/ngraph/runtime/reference/quantize.hpp index c2f8c69a1ac..662e3bb2227 100644 --- a/ngraph/core/reference/include/ngraph/runtime/reference/quantize.hpp +++ b/ngraph/core/reference/include/ngraph/runtime/reference/quantize.hpp @@ -8,8 +8,6 @@ #include "ngraph/op/quantize.hpp" #include "ngraph/shape_util.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace runtime @@ -108,5 +106,3 @@ namespace ngraph } } } - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/reference/include/ngraph/runtime/reference/topk.hpp b/ngraph/core/reference/include/ngraph/runtime/reference/topk.hpp index 31426907c36..58b2732b025 100644 --- a/ngraph/core/reference/include/ngraph/runtime/reference/topk.hpp +++ b/ngraph/core/reference/include/ngraph/runtime/reference/topk.hpp @@ -11,8 +11,6 @@ #include "ngraph/coordinate_transform.hpp" #include "ngraph/op/topk.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - namespace ngraph { namespace runtime @@ -139,5 +137,3 @@ namespace ngraph } } } - -NGRAPH_SUPPRESS_DEPRECATED_END diff --git a/ngraph/core/src/graph_util.cpp b/ngraph/core/src/graph_util.cpp index 4658f0cef43..12a439f17e3 100644 --- a/ngraph/core/src/graph_util.cpp +++ b/ngraph/core/src/graph_util.cpp @@ -26,8 +26,6 @@ #include "ngraph/rt_info.hpp" #include "ngraph/util.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/add.cpp b/ngraph/core/src/op/add.cpp index 2d9d0223a4b..17c8f356074 100644 --- a/ngraph/core/src/op/add.cpp +++ b/ngraph/core/src/op/add.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/add.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/broadcast.cpp b/ngraph/core/src/op/broadcast.cpp index 9a1cd88acd6..a9fb1175e87 100644 --- a/ngraph/core/src/op/broadcast.cpp +++ b/ngraph/core/src/op/broadcast.cpp @@ -14,8 +14,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/broadcast.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/depth_to_space.cpp b/ngraph/core/src/op/depth_to_space.cpp index 3efc607dc32..4e90fbf980e 100644 --- a/ngraph/core/src/op/depth_to_space.cpp +++ b/ngraph/core/src/op/depth_to_space.cpp @@ -20,8 +20,6 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - NGRAPH_RTTI_DEFINITION(op::v0::DepthToSpace, "DepthToSpace", 0); op::DepthToSpace::DepthToSpace(const Output& data, diff --git a/ngraph/core/src/op/divide.cpp b/ngraph/core/src/op/divide.cpp index 00c15c94380..0dc53b4e257 100644 --- a/ngraph/core/src/op/divide.cpp +++ b/ngraph/core/src/op/divide.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/divide.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/equal.cpp b/ngraph/core/src/op/equal.cpp index 0e86ccee70b..1d6f45adf44 100644 --- a/ngraph/core/src/op/equal.cpp +++ b/ngraph/core/src/op/equal.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/equal.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/fake_quantize.cpp b/ngraph/core/src/op/fake_quantize.cpp index 68d3ef6cc21..55be429cd28 100644 --- a/ngraph/core/src/op/fake_quantize.cpp +++ b/ngraph/core/src/op/fake_quantize.cpp @@ -15,8 +15,6 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - NGRAPH_RTTI_DEFINITION(op::FakeQuantize, "FakeQuantize", 0); op::FakeQuantize::FakeQuantize() diff --git a/ngraph/core/src/op/gather.cpp b/ngraph/core/src/op/gather.cpp index ac1a67dcdb7..7e1c5295b79 100644 --- a/ngraph/core/src/op/gather.cpp +++ b/ngraph/core/src/op/gather.cpp @@ -13,8 +13,6 @@ #include -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/greater.cpp b/ngraph/core/src/op/greater.cpp index f6dd1644539..e67a6f63b89 100644 --- a/ngraph/core/src/op/greater.cpp +++ b/ngraph/core/src/op/greater.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/greater.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/greater_eq.cpp b/ngraph/core/src/op/greater_eq.cpp index 754a0616c9c..0ea56fc3644 100644 --- a/ngraph/core/src/op/greater_eq.cpp +++ b/ngraph/core/src/op/greater_eq.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/greater_eq.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/group_conv.cpp b/ngraph/core/src/op/group_conv.cpp index 514fbbfb149..97b16c8b0b5 100644 --- a/ngraph/core/src/op/group_conv.cpp +++ b/ngraph/core/src/op/group_conv.cpp @@ -17,8 +17,6 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - //------------------------------------------------------------------------------ // v1::GroupConvolution //------------------------------------------------------------------------------ diff --git a/ngraph/core/src/op/less.cpp b/ngraph/core/src/op/less.cpp index c2f72a9267a..5f3e0ef5526 100644 --- a/ngraph/core/src/op/less.cpp +++ b/ngraph/core/src/op/less.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/less.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/less_eq.cpp b/ngraph/core/src/op/less_eq.cpp index a04a7483e90..0defd01d228 100644 --- a/ngraph/core/src/op/less_eq.cpp +++ b/ngraph/core/src/op/less_eq.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/less_eq.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/maximum.cpp b/ngraph/core/src/op/maximum.cpp index f4c97516189..ff63e1fa3cf 100644 --- a/ngraph/core/src/op/maximum.cpp +++ b/ngraph/core/src/op/maximum.cpp @@ -13,8 +13,6 @@ #include "ngraph/runtime/reference/maximum.hpp" #include "ngraph/type/element_type.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/min.cpp b/ngraph/core/src/op/min.cpp index 12eaa8c7288..25c41d1766c 100644 --- a/ngraph/core/src/op/min.cpp +++ b/ngraph/core/src/op/min.cpp @@ -9,8 +9,6 @@ #include "ngraph/runtime/reference/min.hpp" #include "ngraph/shape_util.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/minimum.cpp b/ngraph/core/src/op/minimum.cpp index 78b8690d895..2ad1822f533 100644 --- a/ngraph/core/src/op/minimum.cpp +++ b/ngraph/core/src/op/minimum.cpp @@ -13,8 +13,6 @@ #include "ngraph/runtime/reference/minimum.hpp" #include "ngraph/type/element_type.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/not.cpp b/ngraph/core/src/op/not.cpp index cd4677cf012..a0dbecc4b7e 100644 --- a/ngraph/core/src/op/not.cpp +++ b/ngraph/core/src/op/not.cpp @@ -11,8 +11,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/not.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace ngraph; using namespace std; diff --git a/ngraph/core/src/op/not_equal.cpp b/ngraph/core/src/op/not_equal.cpp index 9783f85bf27..e9fc67acc46 100644 --- a/ngraph/core/src/op/not_equal.cpp +++ b/ngraph/core/src/op/not_equal.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/not_equal.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/or.cpp b/ngraph/core/src/op/or.cpp index bd7b73cd5ac..7a0269561b7 100644 --- a/ngraph/core/src/op/or.cpp +++ b/ngraph/core/src/op/or.cpp @@ -7,8 +7,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/or.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/pad.cpp b/ngraph/core/src/op/pad.cpp index 93727d7d87a..1dee8e3355e 100644 --- a/ngraph/core/src/op/pad.cpp +++ b/ngraph/core/src/op/pad.cpp @@ -12,8 +12,6 @@ #include "ngraph/op/util/op_types.hpp" #include "ngraph/runtime/reference/pad.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/power.cpp b/ngraph/core/src/op/power.cpp index cf5706ba171..cc8400edebe 100644 --- a/ngraph/core/src/op/power.cpp +++ b/ngraph/core/src/op/power.cpp @@ -10,8 +10,6 @@ #include "ngraph/runtime/host_tensor.hpp" #include "ngraph/runtime/reference/power.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/select.cpp b/ngraph/core/src/op/select.cpp index 4c0e5980a95..ba31f8fb866 100644 --- a/ngraph/core/src/op/select.cpp +++ b/ngraph/core/src/op/select.cpp @@ -12,8 +12,6 @@ #include "ngraph/op/select.hpp" #include "ngraph/runtime/reference/select.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/core/src/op/shuffle_channels.cpp b/ngraph/core/src/op/shuffle_channels.cpp index a15092ac0b6..205addd4ffe 100644 --- a/ngraph/core/src/op/shuffle_channels.cpp +++ b/ngraph/core/src/op/shuffle_channels.cpp @@ -16,8 +16,6 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - constexpr NodeTypeInfo op::ShuffleChannels::type_info; op::ShuffleChannels::ShuffleChannels(const Output& data, diff --git a/ngraph/core/src/op/space_to_depth.cpp b/ngraph/core/src/op/space_to_depth.cpp index ee134f0afd7..9b8a5786765 100644 --- a/ngraph/core/src/op/space_to_depth.cpp +++ b/ngraph/core/src/op/space_to_depth.cpp @@ -18,8 +18,6 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - constexpr NodeTypeInfo op::SpaceToDepth::type_info; op::SpaceToDepth::SpaceToDepth(const Output& data, diff --git a/ngraph/core/src/op/util/op_types.cpp b/ngraph/core/src/op/util/op_types.cpp index 664f1d246a3..f0852233ec7 100644 --- a/ngraph/core/src/op/util/op_types.cpp +++ b/ngraph/core/src/op/util/op_types.cpp @@ -25,8 +25,6 @@ #include "ngraph/op/xor.hpp" #include "ngraph/type.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - bool ngraph::op::is_unary_elementwise_arithmetic(const ngraph::Node* node) { return dynamic_cast(node) != nullptr; diff --git a/ngraph/core/src/pass/pass.cpp b/ngraph/core/src/pass/pass.cpp index bff2700963f..e7e9a7c790f 100644 --- a/ngraph/core/src/pass/pass.cpp +++ b/ngraph/core/src/pass/pass.cpp @@ -13,12 +13,8 @@ using namespace std; using namespace ngraph; -NGRAPH_SUPPRESS_DEPRECATED_START - NGRAPH_RTTI_DEFINITION(ngraph::pass::FunctionPass, "ngraph::pass::FunctionPass", 0); -NGRAPH_RTTI_DEFINITION(ngraph::pass::NodePass, "ngraph::pass::NodePass", 0); - pass::PassBase::PassBase() : m_property{all_pass_property_off} , m_pass_config(std::make_shared()) @@ -69,4 +65,8 @@ void pass::PassBase::set_callback(const param_callback& callback) pass::FunctionPass::~FunctionPass() {} +NGRAPH_SUPPRESS_DEPRECATED_START + +NGRAPH_RTTI_DEFINITION(ngraph::pass::NodePass, "ngraph::pass::NodePass", 0); + pass::NodePass::~NodePass() {} diff --git a/ngraph/core/src/validation_util.cpp b/ngraph/core/src/validation_util.cpp index e9ed0b18cc1..3f1baf8bf7a 100644 --- a/ngraph/core/src/validation_util.cpp +++ b/ngraph/core/src/validation_util.cpp @@ -22,8 +22,6 @@ #include "ngraph/util.hpp" #include "ngraph/validation_util.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START - using namespace std; using namespace ngraph; diff --git a/ngraph/frontend/onnx_import/src/op/gru.cpp b/ngraph/frontend/onnx_import/src/op/gru.cpp index 1d4acb2c031..d0c600c8aac 100644 --- a/ngraph/frontend/onnx_import/src/op/gru.cpp +++ b/ngraph/frontend/onnx_import/src/op/gru.cpp @@ -39,8 +39,6 @@ namespace ngraph if (ng_inputs.size() > 3 && !ngraph::op::is_null(ng_inputs.at(3))) { - NGRAPH_SUPPRESS_DEPRECATED_START - auto bias = ng_inputs.at(3); // gates_count * 2 since B is: [Wb, Rb] const int split_parts = 2 * 3; @@ -66,7 +64,6 @@ namespace ngraph split_bias.at(2), split_bias.at(5)}, 1); - NGRAPH_SUPPRESS_DEPRECATED_END } else { diff --git a/ngraph/frontend/onnx_import/src/op/lstm.cpp b/ngraph/frontend/onnx_import/src/op/lstm.cpp index 49918778a82..8ac038e1221 100644 --- a/ngraph/frontend/onnx_import/src/op/lstm.cpp +++ b/ngraph/frontend/onnx_import/src/op/lstm.cpp @@ -113,11 +113,9 @@ namespace ngraph { auto bias = ng_inputs.at(3); auto split_bias = builder::opset1::split(bias, 2, 1); - NGRAPH_SUPPRESS_DEPRECATED_START m_input_map[LSTMInput::LSTM_INPUT_B] = std::make_shared(split_bias.at(0), split_bias.at(1)); - NGRAPH_SUPPRESS_DEPRECATED_END m_input_map[LSTMInput::LSTM_INPUT_B] = ngraph::op::util::convert_lstm_node_format( m_input_map[LSTMInput::LSTM_INPUT_B], diff --git a/ngraph/frontend/onnx_import/src/op/matmul_integer.cpp b/ngraph/frontend/onnx_import/src/op/matmul_integer.cpp index cd6237cd321..231256950f9 100644 --- a/ngraph/frontend/onnx_import/src/op/matmul_integer.cpp +++ b/ngraph/frontend/onnx_import/src/op/matmul_integer.cpp @@ -16,7 +16,6 @@ namespace ngraph { OutputVector matmul_integer(const Node& node) { - NGRAPH_SUPPRESS_DEPRECATED_START auto ng_inputs = node.get_ng_inputs(); auto factory = builder::MatmulIntegerFactory( OutputVector(std::begin(ng_inputs), std::end(ng_inputs))); @@ -32,7 +31,6 @@ namespace ngraph "to conform with ONNX standard."; } return factory.make_matmul_op(); - NGRAPH_SUPPRESS_DEPRECATED_END } } // namespace set_1 diff --git a/ngraph/frontend/onnx_import/src/op/qlinear_matmul.cpp b/ngraph/frontend/onnx_import/src/op/qlinear_matmul.cpp index b8be282a67e..1baafa827ca 100644 --- a/ngraph/frontend/onnx_import/src/op/qlinear_matmul.cpp +++ b/ngraph/frontend/onnx_import/src/op/qlinear_matmul.cpp @@ -16,7 +16,6 @@ namespace ngraph { OutputVector qlinear_matmul(const Node& node) { - NGRAPH_SUPPRESS_DEPRECATED_START auto ng_inputs = node.get_ng_inputs(); auto factory = builder::QLinearMatmulFactory( (OutputVector(std::begin(ng_inputs), std::end(ng_inputs)))); @@ -32,7 +31,6 @@ namespace ngraph "to conform with ONNX standard."; } return factory.make_matmul_op(); - NGRAPH_SUPPRESS_DEPRECATED_END } } // namespace set_1 diff --git a/ngraph/frontend/onnx_import/src/utils/recurrent.cpp b/ngraph/frontend/onnx_import/src/utils/recurrent.cpp index a3b552a209e..37127554092 100644 --- a/ngraph/frontend/onnx_import/src/utils/recurrent.cpp +++ b/ngraph/frontend/onnx_import/src/utils/recurrent.cpp @@ -52,10 +52,8 @@ namespace ngraph { auto bias = ng_inputs.at(3); auto split_bias = builder::opset1::split(bias, 2, 1); - NGRAPH_SUPPRESS_DEPRECATED_START m_map[OpInput::B] = std::make_shared(split_bias.at(0), split_bias.at(1)); - NGRAPH_SUPPRESS_DEPRECATED_END } else {