diff --git a/src/core/template_extension/old/extension.cpp b/src/core/template_extension/old/extension.cpp index a6cb698d12394b..8e293fd93dd3fd 100644 --- a/src/core/template_extension/old/extension.cpp +++ b/src/core/template_extension/old/extension.cpp @@ -14,17 +14,19 @@ #ifdef OPENVINO_ONNX_FRONTEND_ENABLED # include #endif - #include #include #include #include +#include "openvino/core/deprecated.hpp" + using namespace TemplateExtension; //! [extension:ctor] Extension::Extension() { #ifdef OPENVINO_ONNX_FRONTEND_ENABLED + OPENVINO_SUPPRESS_DEPRECATED_START ngraph::onnx_import::register_operator(Operation::get_type_info_static().name, 1, "custom_domain", @@ -43,6 +45,7 @@ Extension::Extension() { return {std::make_shared(ng_inputs.at(0), inverse)}; }); # endif + OPENVINO_SUPPRESS_DEPRECATED_END #endif } //! [extension:ctor] @@ -50,11 +53,13 @@ Extension::Extension() { //! [extension:dtor] Extension::~Extension() { #ifdef OPENVINO_ONNX_FRONTEND_ENABLED + OPENVINO_SUPPRESS_DEPRECATED_START ngraph::onnx_import::unregister_operator(Operation::get_type_info_static().name, 1, "custom_domain"); # ifdef OPENCV_IMPORT_ENABLED ngraph::onnx_import::unregister_operator(FFTOp::get_type_info_static().name, 1, "custom_domain"); # endif // OPENCV_IMPORT_ENABLED -#endif // OPENVINO_ONNX_FRONTEND_ENABLED + OPENVINO_SUPPRESS_DEPRECATED_END +#endif // OPENVINO_ONNX_FRONTEND_ENABLED } //! [extension:dtor] diff --git a/src/frontends/onnx/frontend/include/onnx_import/core/node.hpp b/src/frontends/onnx/frontend/include/onnx_import/core/node.hpp index 19170bfb0b3385..c51af034addf64 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/core/node.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/core/node.hpp @@ -4,9 +4,20 @@ #pragma once +#if !defined(IN_OV_COMPONENT) && !defined(NGRAPH_LEGACY_HEADER_INCLUDED) +# define NGRAPH_LEGACY_HEADER_INCLUDED +# ifdef _MSC_VER +# pragma message( \ + "The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# else +# warning("The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# endif +#endif + #include #include +#include "ngraph/deprecated.hpp" #include "ngraph/except.hpp" #include "ngraph/node.hpp" #include "ngraph/op/constant.hpp" @@ -39,7 +50,7 @@ class Tensor; class SparseTensor; class Attribute; -class ONNX_IMPORTER_API Node { +class NGRAPH_API_DEPRECATED ONNX_IMPORTER_API Node { public: Node() = delete; // TODO: hide this ctor since it uses protobufs generated structures @@ -282,9 +293,11 @@ ONNX_IMPORTER_API std::shared_ptr Node::get_attribute_as_c int64_t default_value, element::Type type) const; +OPENVINO_SUPPRESS_DEPRECATED_START inline std::ostream& operator<<(std::ostream& outs, const Node& node) { return (outs << ""); } +OPENVINO_SUPPRESS_DEPRECATED_END } // namespace onnx_import diff --git a/src/frontends/onnx/frontend/include/onnx_import/core/null_node.hpp b/src/frontends/onnx/frontend/include/onnx_import/core/null_node.hpp index bbefaa370a4501..bab347933c4cf1 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/core/null_node.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/core/null_node.hpp @@ -4,19 +4,27 @@ #pragma once +#if !defined(IN_OV_COMPONENT) && !defined(NGRAPH_LEGACY_HEADER_INCLUDED) +# define NGRAPH_LEGACY_HEADER_INCLUDED +# ifdef _MSC_VER +# pragma message( \ + "The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# else +# warning("The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# endif +#endif + #include +#include "ngraph/deprecated.hpp" #include "onnx_import/onnx_importer_visibility.hpp" #include "openvino/op/op.hpp" namespace ngraph { namespace op { -ONNX_IMPORTER_API -bool is_null(const ngraph::Node* node); -ONNX_IMPORTER_API -bool is_null(const std::shared_ptr& node); -ONNX_IMPORTER_API -bool is_null(const Output& output); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API bool is_null(const ngraph::Node* node); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API bool is_null(const std::shared_ptr& node); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API bool is_null(const Output& output); } // namespace op namespace onnx_import { /// \brief Represents a missing optional input or output of an ONNX node @@ -28,7 +36,7 @@ namespace onnx_import { /// /// More: /// https://github.com/onnx/onnx/blob/master/docs/IR.md#optional-inputs-and-outputs -class ONNX_IMPORTER_API NullNode : public ov::op::Op { +class NGRAPH_API_DEPRECATED ONNX_IMPORTER_API NullNode : public ov::op::Op { public: OPENVINO_OP("NullNode"); NullNode() { diff --git a/src/frontends/onnx/frontend/include/onnx_import/core/operator_set.hpp b/src/frontends/onnx/frontend/include/onnx_import/core/operator_set.hpp index 3e61ab9c4c65d7..e55ff9cfbf634f 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/core/operator_set.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/core/operator_set.hpp @@ -14,7 +14,9 @@ namespace ngraph { namespace onnx_import { /// \brief Function which transforms single ONNX operator to nGraph sub-graph. +OPENVINO_SUPPRESS_DEPRECATED_START using Operator = std::function; +OPENVINO_SUPPRESS_DEPRECATED_END /// \brief Map which contains ONNX operators accessible by std::string value as a key. using OperatorSet = std::unordered_map; diff --git a/src/frontends/onnx/frontend/include/onnx_import/onnx.hpp b/src/frontends/onnx/frontend/include/onnx_import/onnx.hpp index 9e1746b412251a..f56f06adce4046 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/onnx.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/onnx.hpp @@ -4,12 +4,23 @@ #pragma once +#if !defined(IN_OV_COMPONENT) && !defined(NGRAPH_LEGACY_HEADER_INCLUDED) +# define NGRAPH_LEGACY_HEADER_INCLUDED +# ifdef _MSC_VER +# pragma message( \ + "The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# else +# warning("The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# endif +#endif + #include #include #include #include #include +#include "ngraph/deprecated.hpp" #include "ngraph/function.hpp" #include "onnx_importer_visibility.hpp" @@ -25,8 +36,8 @@ namespace onnx_import { /// \param[in] domain A domain to get the supported operators for. /// /// \return The set containing names of supported operators. -ONNX_IMPORTER_API -std::set get_supported_operators(std::int64_t version, const std::string& domain); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API std::set get_supported_operators(std::int64_t version, + const std::string& domain); /// \brief Determines whether ONNX operator is supported. /// @@ -36,8 +47,9 @@ std::set get_supported_operators(std::int64_t version, const std::s /// If not set, the default domain "ai.onnx" is used. /// /// \return true if operator is supported, false otherwise. -ONNX_IMPORTER_API -bool is_operator_supported(const std::string& op_name, std::int64_t version, const std::string& domain = "ai.onnx"); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API bool is_operator_supported(const std::string& op_name, + std::int64_t version, + const std::string& domain = "ai.onnx"); /// \brief Imports and converts an serialized ONNX model from the input stream /// to an nGraph Function representation. @@ -52,10 +64,9 @@ bool is_operator_supported(const std::string& op_name, std::int64_t version, con /// \param[in] enable_mmap Enable mapping files with external weights instead of reading. /// /// \return An nGraph function that represents a single output from the created graph. -ONNX_IMPORTER_API -std::shared_ptr import_onnx_model(std::istream& stream, - const std::string& model_path = "", - bool enable_mmap = false); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API std::shared_ptr import_onnx_model(std::istream& stream, + const std::string& model_path = "", + bool enable_mmap = false); /// \brief Imports and converts an ONNX model from the input file /// to an nGraph Function representation. @@ -68,8 +79,8 @@ std::shared_ptr import_onnx_model(std::istream& stream, /// \param[in] enable_mmap Enable mapping files with external weights instead of reading. /// /// \return An nGraph function that represents a single output from the created graph. -ONNX_IMPORTER_API -std::shared_ptr import_onnx_model(const std::string& file_path, bool enable_mmap = false); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API std::shared_ptr import_onnx_model(const std::string& file_path, + bool enable_mmap = false); } // namespace onnx_import } // namespace ngraph diff --git a/src/frontends/onnx/frontend/include/onnx_import/onnx_importer_visibility.hpp b/src/frontends/onnx/frontend/include/onnx_import/onnx_importer_visibility.hpp index e235dfb547541b..d0c6cf7cfde915 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/onnx_importer_visibility.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/onnx_importer_visibility.hpp @@ -2,6 +2,16 @@ // SPDX-License-Identifier: Apache-2.0 // +#if !defined(IN_OV_COMPONENT) && !defined(NGRAPH_LEGACY_HEADER_INCLUDED) +# define NGRAPH_LEGACY_HEADER_INCLUDED +# ifdef _MSC_VER +# pragma message( \ + "The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# else +# warning("The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# endif +#endif + #include "ngraph/visibility.hpp" #ifdef OPENVINO_STATIC_LIBRARY diff --git a/src/frontends/onnx/frontend/include/onnx_import/onnx_utils.hpp b/src/frontends/onnx/frontend/include/onnx_import/onnx_utils.hpp index 0810bda574ef6b..631c689cf0dd66 100644 --- a/src/frontends/onnx/frontend/include/onnx_import/onnx_utils.hpp +++ b/src/frontends/onnx/frontend/include/onnx_import/onnx_utils.hpp @@ -4,9 +4,20 @@ #pragma once +#if !defined(IN_OV_COMPONENT) && !defined(NGRAPH_LEGACY_HEADER_INCLUDED) +# define NGRAPH_LEGACY_HEADER_INCLUDED +# ifdef _MSC_VER +# pragma message( \ + "The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# else +# warning("The nGraph API is deprecated and will be removed in the 2024.0 release. For instructions on transitioning to the new API, please refer to https://docs.openvino.ai/latest/openvino_2_0_transition_guide.html") +# endif +#endif + #include #include +#include "ngraph/deprecated.hpp" #include "onnx_import/core/operator_set.hpp" #include "onnx_importer_visibility.hpp" @@ -24,8 +35,10 @@ namespace onnx_import { /// \param domain The domain the ONNX operator is registered to. /// \param fn The function providing the implementation of the operator /// which transforms the single ONNX operator to an nGraph sub-graph. -ONNX_IMPORTER_API -void register_operator(const std::string& name, std::int64_t version, const std::string& domain, Operator fn); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API void register_operator(const std::string& name, + std::int64_t version, + const std::string& domain, + Operator fn); /// \brief Unregisters ONNX custom operator. /// The function unregisters previously registered operator. @@ -33,8 +46,9 @@ void register_operator(const std::string& name, std::int64_t version, const std: /// \param name The ONNX operator name. /// \param version The ONNX operator set version. /// \param domain The domain the ONNX operator is registered to. -ONNX_IMPORTER_API -void unregister_operator(const std::string& name, std::int64_t version, const std::string& domain); +NGRAPH_API_DEPRECATED ONNX_IMPORTER_API void unregister_operator(const std::string& name, + std::int64_t version, + const std::string& domain); } // namespace onnx_import diff --git a/src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp b/src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp index 3d0e97a4b34178..a13d3a28c7d443 100644 --- a/src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp +++ b/src/frontends/onnx/frontend/include/openvino/frontend/onnx/node_context.hpp @@ -4,10 +4,12 @@ #pragma once +#include "openvino/core/deprecated.hpp" #include "openvino/frontend/extension/conversion.hpp" #include "openvino/frontend/node_context.hpp" #include "openvino/frontend/onnx/visibility.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { class Node; @@ -39,3 +41,4 @@ using CreatorFunction = std::function& conversions) { for (const auto& extension : conversions) { @@ -59,6 +60,7 @@ OperatorsBridge register_extensions(OperatorsBridge& bridge, } return bridge; } +OPENVINO_SUPPRESS_DEPRECATED_END OperatorsBridge init_ops_bridge(const std::vector& conversions) { const auto legacy_conv_ext = std::find_if(std::begin(conversions), @@ -175,6 +177,7 @@ Graph::Graph(const std::string& model_dir, } } +OPENVINO_SUPPRESS_DEPRECATED_START void Graph::convert_to_ngraph_nodes() { const float total = static_cast(m_model->get_graph().node().size()); unsigned int completed = 0u; @@ -206,6 +209,7 @@ void Graph::convert_to_ngraph_nodes() { } } } +OPENVINO_SUPPRESS_DEPRECATED_END void Graph::remove_dangling_parameters() { const auto any_tensor_name_matches_onnx_output = [](const Output& param_output, @@ -252,6 +256,7 @@ std::shared_ptr Graph::convert() { return function; } +OPENVINO_SUPPRESS_DEPRECATED_START OutputVector Graph::make_framework_nodes(const Node& onnx_node) { std::shared_ptr framework_node; if (onnx_node.has_subgraphs()) { @@ -304,6 +309,7 @@ void Graph::decode_to_framework_nodes() { } } } +OPENVINO_SUPPRESS_DEPRECATED_END std::shared_ptr Graph::create_function() { auto function = std::make_shared(get_ng_outputs(), m_parameters, get_name()); @@ -334,6 +340,7 @@ Output Graph::get_ng_node_from_cache(const std::string& name) { return m_cache->get_node(name); } +OPENVINO_SUPPRESS_DEPRECATED_START OutputVector Graph::get_ng_outputs() { OutputVector results; for (const auto& output : m_model->get_graph().output()) { @@ -436,13 +443,12 @@ void Graph::set_friendly_names(const Node& onnx_node, const OutputVector& ng_sub // null node does not have tensor if (!ngraph::op::is_null(ng_subgraph_outputs[i])) { ng_subgraph_outputs[i].get_tensor().set_names({onnx_node.output(static_cast(i))}); - NGRAPH_SUPPRESS_DEPRECATED_START ov::descriptor::set_ov_tensor_legacy_name(ng_subgraph_outputs[i].get_tensor(), onnx_node.output(static_cast(i))); - NGRAPH_SUPPRESS_DEPRECATED_END } } } +OPENVINO_SUPPRESS_DEPRECATED_END const OpsetImports& Graph::get_opset_imports() const { return m_model->get_opset_imports(); diff --git a/src/frontends/onnx/frontend/src/core/graph.hpp b/src/frontends/onnx/frontend/src/core/graph.hpp index 600aa6f572658f..60425ec44b3655 100644 --- a/src/frontends/onnx/frontend/src/core/graph.hpp +++ b/src/frontends/onnx/frontend/src/core/graph.hpp @@ -15,6 +15,7 @@ #include "ngraph/function.hpp" #include "ngraph/op/parameter.hpp" #include "onnx_import/core/operator_set.hpp" +#include "openvino/core/deprecated.hpp" #include "openvino/frontend/extension/holder.hpp" #include "ops_bridge.hpp" @@ -50,7 +51,9 @@ class Graph : public std::enable_shared_from_this { } virtual bool is_ng_node_in_cache(const std::string& name) const; virtual Output get_ng_node_from_cache(const std::string& name); + OPENVINO_SUPPRESS_DEPRECATED_START OutputVector make_ng_nodes(const Node& onnx_node); + OPENVINO_SUPPRESS_DEPRECATED_END const OpsetImports& get_opset_imports() const; virtual ~Graph() = default; @@ -65,10 +68,14 @@ class Graph : public std::enable_shared_from_this { const bool enable_mmap, ov::frontend::ExtensionHolder extensions = {}); + OPENVINO_SUPPRESS_DEPRECATED_START void set_friendly_names(const Node& onnx_node, const OutputVector& ng_subgraph_outputs) const; + OPENVINO_SUPPRESS_DEPRECATED_END protected: + OPENVINO_SUPPRESS_DEPRECATED_START OutputVector make_framework_nodes(const Node& onnx_node); + OPENVINO_SUPPRESS_DEPRECATED_END void decode_to_framework_nodes(); void convert_to_ngraph_nodes(); void remove_dangling_parameters(); @@ -81,7 +88,9 @@ class Graph : public std::enable_shared_from_this { ov::frontend::ExtensionHolder m_extensions = {}; private: + OPENVINO_SUPPRESS_DEPRECATED_START std::vector m_nodes; + OPENVINO_SUPPRESS_DEPRECATED_END std::string m_model_dir; bool m_enable_mmap; OperatorsBridge m_ops_bridge; diff --git a/src/frontends/onnx/frontend/src/core/node.cpp b/src/frontends/onnx/frontend/src/core/node.cpp index 1679a5bb043515..3e46962609402a 100644 --- a/src/frontends/onnx/frontend/src/core/node.cpp +++ b/src/frontends/onnx/frontend/src/core/node.cpp @@ -103,6 +103,7 @@ class Node::Impl { std::unordered_map> m_subgraphs; }; +OPENVINO_SUPPRESS_DEPRECATED_START const ONNX_NAMESPACE::NodeProto& Node::Impl::node_proto() const { return *m_node_proto; } @@ -204,7 +205,9 @@ OutputVector Node::Impl::get_ng_inputs() const { if (!name.empty()) { result.push_back(m_graph->get_ng_node_from_cache(name)); } else { + OPENVINO_SUPPRESS_DEPRECATED_START result.push_back(std::make_shared()->output(0)); + OPENVINO_SUPPRESS_DEPRECATED_END } } return result; @@ -369,6 +372,7 @@ const Attribute& Node::get_attribute(const std::string& name) const { } return *found_attr; } +OPENVINO_SUPPRESS_DEPRECATED_END template <> float Node::get_attribute_value(const std::string& name, float default_value) const { diff --git a/src/frontends/onnx/frontend/src/core/null_node.cpp b/src/frontends/onnx/frontend/src/core/null_node.cpp index ba605134f16c60..e5c26d70ddf1f3 100644 --- a/src/frontends/onnx/frontend/src/core/null_node.cpp +++ b/src/frontends/onnx/frontend/src/core/null_node.cpp @@ -7,7 +7,9 @@ #include #include "ngraph/node.hpp" +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { std::shared_ptr NullNode::clone_with_new_inputs(const ov::OutputVector& /* new_args */) const { @@ -27,3 +29,4 @@ bool ngraph::op::is_null(const std::shared_ptr& node) { bool ngraph::op::is_null(const Output& output) { return is_null(output.get_node()); } +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/editor.cpp b/src/frontends/onnx/frontend/src/editor.cpp index 678e6dc3247967..8cde33e95a9473 100644 --- a/src/frontends/onnx/frontend/src/editor.cpp +++ b/src/frontends/onnx/frontend/src/editor.cpp @@ -530,10 +530,12 @@ std::string onnx_editor::ONNXModelEditor::model_string() const { } std::shared_ptr onnx_editor::ONNXModelEditor::get_function() const { + OPENVINO_SUPPRESS_DEPRECATED_START return ngraph::onnx_import::detail::import_onnx_model(m_pimpl->m_model_proto, m_model_path, m_enable_mmap, m_extensions); + OPENVINO_SUPPRESS_DEPRECATED_END } void onnx_editor::ONNXModelEditor::set_input_values( diff --git a/src/frontends/onnx/frontend/src/editor.hpp b/src/frontends/onnx/frontend/src/editor.hpp index 9d4a7e461e84dc..1ffa567dec1311 100644 --- a/src/frontends/onnx/frontend/src/editor.hpp +++ b/src/frontends/onnx/frontend/src/editor.hpp @@ -9,6 +9,7 @@ #include #include "editor_types.hpp" +#include "ngraph/deprecated.hpp" #include "ngraph/function.hpp" #include "ngraph/op/constant.hpp" #include "ngraph/partial_shape.hpp" diff --git a/src/frontends/onnx/frontend/src/exceptions.cpp b/src/frontends/onnx/frontend/src/exceptions.cpp index 7db6c86f382314..af6d923cafbf34 100644 --- a/src/frontends/onnx/frontend/src/exceptions.cpp +++ b/src/frontends/onnx/frontend/src/exceptions.cpp @@ -6,10 +6,13 @@ #include +#include "openvino/core/deprecated.hpp" + namespace ngraph { namespace onnx_import { namespace error { namespace detail { +OPENVINO_SUPPRESS_DEPRECATED_START std::string get_error_msg_prefix(const Node& node) { std::stringstream ss; ss << "While validating ONNX node '" << node << "'"; @@ -22,6 +25,7 @@ void OnnxNodeValidationFailure::create(const CheckLocInfo& check_loc_info, const std::string& explanation) { throw OnnxNodeValidationFailure(make_what(check_loc_info, detail::get_error_msg_prefix(node), explanation)); } +OPENVINO_SUPPRESS_DEPRECATED_END } // namespace error } // namespace onnx_import } // namespace ngraph diff --git a/src/frontends/onnx/frontend/src/exceptions.hpp b/src/frontends/onnx/frontend/src/exceptions.hpp index 81add351b220f9..5c155ef7db864c 100644 --- a/src/frontends/onnx/frontend/src/exceptions.hpp +++ b/src/frontends/onnx/frontend/src/exceptions.hpp @@ -9,6 +9,7 @@ #include "ngraph/check.hpp" #include "ngraph/except.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" #include "openvino/core/except.hpp" #include "utils/tensor_external_data.hpp" @@ -16,14 +17,17 @@ namespace ngraph { namespace onnx_import { namespace error { namespace detail { +OPENVINO_SUPPRESS_DEPRECATED_START std::string get_error_msg_prefix(const Node& node); -} +OPENVINO_SUPPRESS_DEPRECATED_END +} // namespace detail class OnnxNodeValidationFailure : public ov::AssertFailure { public: - [[noreturn]] static void create(const CheckLocInfo& check_loc_info, - const Node& node, - const std::string& explanation); + OPENVINO_SUPPRESS_DEPRECATED_START [[noreturn]] static void create(const CheckLocInfo& check_loc_info, + const Node& node, + const std::string& explanation); + OPENVINO_SUPPRESS_DEPRECATED_END protected: explicit OnnxNodeValidationFailure(const std::string& what_arg) : ov::AssertFailure(what_arg) {} diff --git a/src/frontends/onnx/frontend/src/node_context.cpp b/src/frontends/onnx/frontend/src/node_context.cpp index 2185f2a11c68f3..ef6381d8b1d69c 100644 --- a/src/frontends/onnx/frontend/src/node_context.cpp +++ b/src/frontends/onnx/frontend/src/node_context.cpp @@ -6,6 +6,7 @@ #include #include +OPENVINO_SUPPRESS_DEPRECATED_START ov::frontend::onnx::NodeContext::NodeContext(const ngraph::onnx_import::Node& context) : ov::frontend::NodeContext(context.op_type()), m_context(context), @@ -42,3 +43,4 @@ ov::Any ov::frontend::onnx::NodeContext::apply_additional_conversion_rules(const // no conversion rules found return data; } +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/onnx.cpp b/src/frontends/onnx/frontend/src/onnx.cpp index a073441cf41c98..a2a7068174258b 100644 --- a/src/frontends/onnx/frontend/src/onnx.cpp +++ b/src/frontends/onnx/frontend/src/onnx.cpp @@ -29,7 +29,9 @@ std::shared_ptr import_onnx_model(std::istream& stream, const auto model_proto = std::make_shared(onnx_common::parse_from_istream(stream)); ov::frontend::ExtensionHolder extensions; extensions.conversions.push_back(legacy_conversion_extension); + OPENVINO_SUPPRESS_DEPRECATED_START const auto model = detail::import_onnx_model(model_proto, model_path, enable_mmap, std::move(extensions)); + OPENVINO_SUPPRESS_DEPRECATED_END const auto error_message = common::collect_translation_exceptions(model); NGRAPH_CHECK(error_message.empty(), error_message); return model; @@ -42,8 +44,9 @@ std::shared_ptr import_onnx_model(const std::string& file_path, const OPENVINO_THROW("Error during import of ONNX model expected to be in file: " + file_path + ". Could not open the file."); }; - + OPENVINO_SUPPRESS_DEPRECATED_START const auto model = import_onnx_model(model_stream, file_path, enable_mmap); + OPENVINO_SUPPRESS_DEPRECATED_END const auto error_message = common::collect_translation_exceptions(model); NGRAPH_CHECK(error_message.empty(), error_message); return model; diff --git a/src/frontends/onnx/frontend/src/onnx_framework_node.hpp b/src/frontends/onnx/frontend/src/onnx_framework_node.hpp index 5db79a1cfb3a25..54d821acddec81 100644 --- a/src/frontends/onnx/frontend/src/onnx_framework_node.hpp +++ b/src/frontends/onnx/frontend/src/onnx_framework_node.hpp @@ -34,6 +34,7 @@ class Model; } namespace frontend { +OPENVINO_SUPPRESS_DEPRECATED_START class ONNXFrameworkNode : public ov::op::util::FrameworkNode { public: OPENVINO_OP("ONNXFrameworkNode", "util", ov::op::util::FrameworkNode); @@ -96,6 +97,7 @@ class ONNXSubgraphFrameworkNode : public ONNXFrameworkNode { private: std::vector> m_functions; }; +OPENVINO_SUPPRESS_DEPRECATED_END // Be careful with using protobuf references (also onnx_import::Node) inside NotSupportedONNXNode // which are inserted into ov::Model due to different lifetime and problematic sharing between dynamic libs. diff --git a/src/frontends/onnx/frontend/src/op/abs.hpp b/src/frontends/onnx/frontend/src/op/abs.hpp index 5dabe75e38b0a4..34b21c91920062 100644 --- a/src/frontends/onnx/frontend/src/op/abs.hpp +++ b/src/frontends/onnx/frontend/src/op/abs.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -36,3 +39,4 @@ using set_6::abs; } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/acos.hpp b/src/frontends/onnx/frontend/src/op/acos.hpp index 525cb304c1b199..ab9c64421a80ce 100644 --- a/src/frontends/onnx/frontend/src/op/acos.hpp +++ b/src/frontends/onnx/frontend/src/op/acos.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector acos(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/acosh.hpp b/src/frontends/onnx/frontend/src/op/acosh.hpp index 7bb94df331dcab..745a8fa8c5c2cd 100644 --- a/src/frontends/onnx/frontend/src/op/acosh.hpp +++ b/src/frontends/onnx/frontend/src/op/acosh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ inline OutputVector acosh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.cpp b/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.cpp index 1dfc431bb2e294..0aec90df094022 100644 --- a/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.cpp +++ b/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.cpp @@ -7,6 +7,7 @@ #include "default_opset.hpp" #include "exceptions.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector adaptive_avg_pooling2d(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.hpp b/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.hpp index 46137a653ee6db..28f397eb8ea3b2 100644 --- a/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.hpp +++ b/src/frontends/onnx/frontend/src/op/adaptive_avg_pooling2d.hpp @@ -1,6 +1,10 @@ // Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // +#pragma once + +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START #include "onnx_import/core/node.hpp" @@ -13,3 +17,4 @@ OutputVector adaptive_avg_pooling2d(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/add.cpp b/src/frontends/onnx/frontend/src/op/add.cpp index aadf2224aecdcd..453b41fa80e5c8 100644 --- a/src/frontends/onnx/frontend/src/op/add.cpp +++ b/src/frontends/onnx/frontend/src/op/add.cpp @@ -10,6 +10,7 @@ #include "ngraph/shape.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -39,3 +40,4 @@ OutputVector add(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/add.hpp b/src/frontends/onnx/frontend/src/op/add.hpp index c1186cae9766bc..12f9dd548e8008 100644 --- a/src/frontends/onnx/frontend/src/op/add.hpp +++ b/src/frontends/onnx/frontend/src/op/add.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" @@ -40,3 +43,4 @@ using set_13::add; } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/affine.cpp b/src/frontends/onnx/frontend/src/op/affine.cpp index c99e97893832ed..1c7a2feaded83b 100644 --- a/src/frontends/onnx/frontend/src/op/affine.cpp +++ b/src/frontends/onnx/frontend/src/op/affine.cpp @@ -9,6 +9,7 @@ #include "ngraph/builder/autobroadcast.hpp" #include "ngraph/shape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -39,3 +40,4 @@ OutputVector affine(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/affine.hpp b/src/frontends/onnx/frontend/src/op/affine.hpp index cad2b8d747325e..ed3e216357e1f3 100644 --- a/src/frontends/onnx/frontend/src/op/affine.hpp +++ b/src/frontends/onnx/frontend/src/op/affine.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector affine(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/and.hpp b/src/frontends/onnx/frontend/src/op/and.hpp index 66bcefdb6c8727..f40216e8e14981 100644 --- a/src/frontends/onnx/frontend/src/op/and.hpp +++ b/src/frontends/onnx/frontend/src/op/and.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -30,3 +33,4 @@ inline OutputVector logical_and(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/argmax.cpp b/src/frontends/onnx/frontend/src/op/argmax.cpp index 17e74932808fdb..5e9fae310c1cfd 100644 --- a/src/frontends/onnx/frontend/src/op/argmax.cpp +++ b/src/frontends/onnx/frontend/src/op/argmax.cpp @@ -8,6 +8,7 @@ #include "onnx_import/core/node.hpp" #include "utils/arg_min_max_factory.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -32,3 +33,4 @@ OutputVector argmax(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/argmax.hpp b/src/frontends/onnx/frontend/src/op/argmax.hpp index e6ec403f157d32..c88d63dc3fc8de 100644 --- a/src/frontends/onnx/frontend/src/op/argmax.hpp +++ b/src/frontends/onnx/frontend/src/op/argmax.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -37,3 +40,4 @@ OutputVector argmax(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/argmin.cpp b/src/frontends/onnx/frontend/src/op/argmin.cpp index 6570426bfaa093..8c69cb77539742 100644 --- a/src/frontends/onnx/frontend/src/op/argmin.cpp +++ b/src/frontends/onnx/frontend/src/op/argmin.cpp @@ -8,6 +8,7 @@ #include "onnx_import/core/node.hpp" #include "utils/arg_min_max_factory.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -32,3 +33,4 @@ OutputVector argmin(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/argmin.hpp b/src/frontends/onnx/frontend/src/op/argmin.hpp index a784a2f44ce487..7bacbc7b42caf5 100644 --- a/src/frontends/onnx/frontend/src/op/argmin.hpp +++ b/src/frontends/onnx/frontend/src/op/argmin.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -37,3 +40,4 @@ OutputVector argmin(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/asin.hpp b/src/frontends/onnx/frontend/src/op/asin.hpp index 0824c37635c193..b4a9590ad17999 100644 --- a/src/frontends/onnx/frontend/src/op/asin.hpp +++ b/src/frontends/onnx/frontend/src/op/asin.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector asin(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/asinh.hpp b/src/frontends/onnx/frontend/src/op/asinh.hpp index 18032401512eb9..317c4c4e183fe2 100644 --- a/src/frontends/onnx/frontend/src/op/asinh.hpp +++ b/src/frontends/onnx/frontend/src/op/asinh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ inline OutputVector asinh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/atan.hpp b/src/frontends/onnx/frontend/src/op/atan.hpp index b2ca52c736d0f4..414256dc420c90 100644 --- a/src/frontends/onnx/frontend/src/op/atan.hpp +++ b/src/frontends/onnx/frontend/src/op/atan.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector atan(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/atanh.hpp b/src/frontends/onnx/frontend/src/op/atanh.hpp index a704edd7936514..ef3bd26c48ab7f 100644 --- a/src/frontends/onnx/frontend/src/op/atanh.hpp +++ b/src/frontends/onnx/frontend/src/op/atanh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -21,3 +24,4 @@ inline OutputVector atanh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/aten.cpp b/src/frontends/onnx/frontend/src/op/aten.cpp index 97794267b5d27a..e147a93b973f99 100644 --- a/src/frontends/onnx/frontend/src/op/aten.cpp +++ b/src/frontends/onnx/frontend/src/op/aten.cpp @@ -10,6 +10,7 @@ #include "onnx_import/core/null_node.hpp" #include "openvino/opsets/opset8.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -91,3 +92,4 @@ OutputVector aten(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/aten.hpp b/src/frontends/onnx/frontend/src/op/aten.hpp index 9e5e7fe07e8306..9420bcfd16b6b0 100644 --- a/src/frontends/onnx/frontend/src/op/aten.hpp +++ b/src/frontends/onnx/frontend/src/op/aten.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector aten(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/average_pool.cpp b/src/frontends/onnx/frontend/src/op/average_pool.cpp index 2458a43000aea7..ff9bcb9bfbf791 100644 --- a/src/frontends/onnx/frontend/src/op/average_pool.cpp +++ b/src/frontends/onnx/frontend/src/op/average_pool.cpp @@ -7,6 +7,7 @@ #include "ngraph/node.hpp" #include "utils/pooling_factory.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -22,3 +23,4 @@ OutputVector average_pool(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/average_pool.hpp b/src/frontends/onnx/frontend/src/op/average_pool.hpp index 44669f80b7b30a..b3b0d086b6c3d4 100644 --- a/src/frontends/onnx/frontend/src/op/average_pool.hpp +++ b/src/frontends/onnx/frontend/src/op/average_pool.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector average_pool(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/batch_norm.cpp b/src/frontends/onnx/frontend/src/op/batch_norm.cpp index e644b00af99976..db49ff8d74e7a4 100644 --- a/src/frontends/onnx/frontend/src/op/batch_norm.cpp +++ b/src/frontends/onnx/frontend/src/op/batch_norm.cpp @@ -11,6 +11,7 @@ #include "exceptions.hpp" #include "onnx_import/core/null_node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -76,3 +77,4 @@ OutputVector batch_norm(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/batch_norm.hpp b/src/frontends/onnx/frontend/src/op/batch_norm.hpp index 8f88b6a99dda9d..bcbf7b4cef1fdc 100644 --- a/src/frontends/onnx/frontend/src/op/batch_norm.hpp +++ b/src/frontends/onnx/frontend/src/op/batch_norm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector batch_norm(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/bitshift.cpp b/src/frontends/onnx/frontend/src/op/bitshift.cpp index a4ad55caaec465..87354dbe88539d 100644 --- a/src/frontends/onnx/frontend/src/op/bitshift.cpp +++ b/src/frontends/onnx/frontend/src/op/bitshift.cpp @@ -8,6 +8,7 @@ #include "exceptions.hpp" #include "ngraph/shape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -44,3 +45,4 @@ OutputVector bitshift(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/bitshift.hpp b/src/frontends/onnx/frontend/src/op/bitshift.hpp index ed4faceba46ee3..b6ac40023d35f1 100644 --- a/src/frontends/onnx/frontend/src/op/bitshift.hpp +++ b/src/frontends/onnx/frontend/src/op/bitshift.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" @@ -22,3 +25,4 @@ OutputVector bitshift(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cast.cpp b/src/frontends/onnx/frontend/src/op/cast.cpp index dc979bb2f27de6..58b18da8bedc2a 100644 --- a/src/frontends/onnx/frontend/src/op/cast.cpp +++ b/src/frontends/onnx/frontend/src/op/cast.cpp @@ -10,6 +10,7 @@ #include "ngraph/type/element_type.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -27,3 +28,4 @@ OutputVector cast(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cast.hpp b/src/frontends/onnx/frontend/src/op/cast.hpp index 155d224d3cfc5f..f645bbc3666d58 100644 --- a/src/frontends/onnx/frontend/src/op/cast.hpp +++ b/src/frontends/onnx/frontend/src/op/cast.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector cast(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cast_like.cpp b/src/frontends/onnx/frontend/src/op/cast_like.cpp index decd4be5bd4f89..6d9edc85a3043b 100644 --- a/src/frontends/onnx/frontend/src/op/cast_like.cpp +++ b/src/frontends/onnx/frontend/src/op/cast_like.cpp @@ -10,6 +10,7 @@ #include "ngraph/type/element_type.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -24,3 +25,4 @@ OutputVector cast_like(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cast_like.hpp b/src/frontends/onnx/frontend/src/op/cast_like.hpp index f2bd7a798b43ea..84387c59e59749 100644 --- a/src/frontends/onnx/frontend/src/op/cast_like.hpp +++ b/src/frontends/onnx/frontend/src/op/cast_like.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector cast_like(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/ceil.hpp b/src/frontends/onnx/frontend/src/op/ceil.hpp index 129abc1f74f092..283c7c372338ce 100644 --- a/src/frontends/onnx/frontend/src/op/ceil.hpp +++ b/src/frontends/onnx/frontend/src/op/ceil.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector ceil(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/clip.cpp b/src/frontends/onnx/frontend/src/op/clip.cpp index 29a207904a5798..cf469b4b366168 100644 --- a/src/frontends/onnx/frontend/src/op/clip.cpp +++ b/src/frontends/onnx/frontend/src/op/clip.cpp @@ -12,6 +12,7 @@ #include "ngraph/validation_util.hpp" #include "onnx_import/core/null_node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -68,3 +69,4 @@ OutputVector clip(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/clip.hpp b/src/frontends/onnx/frontend/src/op/clip.hpp index 6e6bf23f73597a..6281e318eda278 100644 --- a/src/frontends/onnx/frontend/src/op/clip.hpp +++ b/src/frontends/onnx/frontend/src/op/clip.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector clip(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/attention.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/attention.hpp index d76917eb50932f..00c868f36a2506 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/attention.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/attention.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/bias_gelu.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/bias_gelu.hpp index 8d96ce08fd6a0c..f5f8deb32de35a 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/bias_gelu.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/bias_gelu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/embed_layer_normalization.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/embed_layer_normalization.hpp index e1019cd24d1e22..a65060a2bc11d7 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/embed_layer_normalization.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/embed_layer_normalization.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/fused_conv.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/fused_conv.hpp index 30bb37044bbba9..7e8b24761e39dd 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/fused_conv.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/fused_conv.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/fusedgemm.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/fusedgemm.hpp index ff357875a4fdd2..c4c1b70a1d4d3d 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/fusedgemm.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/fusedgemm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/com.microsoft/skip_layer_normalization.hpp b/src/frontends/onnx/frontend/src/op/com.microsoft/skip_layer_normalization.hpp index dbe29c2236ec4f..2f150b366f6b43 100644 --- a/src/frontends/onnx/frontend/src/op/com.microsoft/skip_layer_normalization.hpp +++ b/src/frontends/onnx/frontend/src/op/com.microsoft/skip_layer_normalization.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { diff --git a/src/frontends/onnx/frontend/src/op/compress.cpp b/src/frontends/onnx/frontend/src/op/compress.cpp index 88ef01ca208287..7960d4e16e4739 100644 --- a/src/frontends/onnx/frontend/src/op/compress.cpp +++ b/src/frontends/onnx/frontend/src/op/compress.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "ngraph/builder/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -39,3 +40,4 @@ OutputVector compress(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/compress.hpp b/src/frontends/onnx/frontend/src/op/compress.hpp index 7c16acd8d19879..9135b07155005a 100644 --- a/src/frontends/onnx/frontend/src/op/compress.hpp +++ b/src/frontends/onnx/frontend/src/op/compress.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/output_vector.hpp" #include "onnx_import/core/node.hpp" @@ -17,3 +20,4 @@ OutputVector compress(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/concat.cpp b/src/frontends/onnx/frontend/src/op/concat.cpp index d1faf328a72b07..63931703559f19 100644 --- a/src/frontends/onnx/frontend/src/op/concat.cpp +++ b/src/frontends/onnx/frontend/src/op/concat.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -30,3 +31,4 @@ OutputVector concat(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/concat.hpp b/src/frontends/onnx/frontend/src/op/concat.hpp index 5ec2298cfc96cf..65e51e0e17823b 100644 --- a/src/frontends/onnx/frontend/src/op/concat.hpp +++ b/src/frontends/onnx/frontend/src/op/concat.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector concat(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant.cpp b/src/frontends/onnx/frontend/src/op/constant.cpp index 88126afabfc997..6d86e9d6d35456 100644 --- a/src/frontends/onnx/frontend/src/op/constant.cpp +++ b/src/frontends/onnx/frontend/src/op/constant.cpp @@ -14,6 +14,7 @@ #include "ngraph/op/constant.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -185,3 +186,4 @@ OutputVector constant(const onnx_import::Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant.hpp b/src/frontends/onnx/frontend/src/op/constant.hpp index ffc517091b9289..fd95f64261c6ff 100644 --- a/src/frontends/onnx/frontend/src/op/constant.hpp +++ b/src/frontends/onnx/frontend/src/op/constant.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector constant(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant_fill.cpp b/src/frontends/onnx/frontend/src/op/constant_fill.cpp index 08af90630f7aa6..1e3931d8a74309 100644 --- a/src/frontends/onnx/frontend/src/op/constant_fill.cpp +++ b/src/frontends/onnx/frontend/src/op/constant_fill.cpp @@ -13,6 +13,7 @@ #include "ngraph/op/constant.hpp" #include "onnx_common/utils.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -48,3 +49,4 @@ OutputVector constant_fill(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant_fill.hpp b/src/frontends/onnx/frontend/src/op/constant_fill.hpp index 798fdb65793b79..1f3b9c618d7561 100644 --- a/src/frontends/onnx/frontend/src/op/constant_fill.hpp +++ b/src/frontends/onnx/frontend/src/op/constant_fill.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" @@ -22,3 +25,4 @@ OutputVector constant_fill(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant_of_shape.cpp b/src/frontends/onnx/frontend/src/op/constant_of_shape.cpp index ca689c29668402..53bc5f18b2a8b7 100644 --- a/src/frontends/onnx/frontend/src/op/constant_of_shape.cpp +++ b/src/frontends/onnx/frontend/src/op/constant_of_shape.cpp @@ -12,6 +12,7 @@ #include "utils/common.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -40,3 +41,4 @@ OutputVector constant_of_shape(const onnx_import::Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/constant_of_shape.hpp b/src/frontends/onnx/frontend/src/op/constant_of_shape.hpp index c5a74c887cd4f6..3bd2fbd16e7f4b 100644 --- a/src/frontends/onnx/frontend/src/op/constant_of_shape.hpp +++ b/src/frontends/onnx/frontend/src/op/constant_of_shape.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector constant_of_shape(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv.cpp b/src/frontends/onnx/frontend/src/op/conv.cpp index 12a1143315c586..48b1007a4a4ad2 100644 --- a/src/frontends/onnx/frontend/src/op/conv.cpp +++ b/src/frontends/onnx/frontend/src/op/conv.cpp @@ -18,6 +18,7 @@ #include "utils/convpool.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -85,3 +86,4 @@ OutputVector conv(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv.hpp b/src/frontends/onnx/frontend/src/op/conv.hpp index 79939c7f5fb5bc..90eaaa206df9f2 100644 --- a/src/frontends/onnx/frontend/src/op/conv.hpp +++ b/src/frontends/onnx/frontend/src/op/conv.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -29,3 +32,4 @@ OutputVector conv(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv_integer.cpp b/src/frontends/onnx/frontend/src/op/conv_integer.cpp index ed01b6461cd940..ad01ea55f39aeb 100644 --- a/src/frontends/onnx/frontend/src/op/conv_integer.cpp +++ b/src/frontends/onnx/frontend/src/op/conv_integer.cpp @@ -9,6 +9,7 @@ #include "utils/convpool.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace { @@ -78,3 +79,4 @@ OutputVector conv_integer(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv_integer.hpp b/src/frontends/onnx/frontend/src/op/conv_integer.hpp index 824a08af1f0b85..4a933a224c3e5e 100644 --- a/src/frontends/onnx/frontend/src/op/conv_integer.hpp +++ b/src/frontends/onnx/frontend/src/op/conv_integer.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector conv_integer(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv_transpose.cpp b/src/frontends/onnx/frontend/src/op/conv_transpose.cpp index d517a9a0908678..09f59bc2394603 100644 --- a/src/frontends/onnx/frontend/src/op/conv_transpose.cpp +++ b/src/frontends/onnx/frontend/src/op/conv_transpose.cpp @@ -23,6 +23,7 @@ #include "ngraph/validation_util.hpp" #include "utils/convpool.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -221,3 +222,4 @@ OutputVector conv_transpose(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/conv_transpose.hpp b/src/frontends/onnx/frontend/src/op/conv_transpose.hpp index 68011f41298e37..f5a9866cdfebdb 100644 --- a/src/frontends/onnx/frontend/src/op/conv_transpose.hpp +++ b/src/frontends/onnx/frontend/src/op/conv_transpose.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector conv_transpose(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cos.cpp b/src/frontends/onnx/frontend/src/op/cos.cpp index 1edb024969590e..05fb3bbd78ffe9 100644 --- a/src/frontends/onnx/frontend/src/op/cos.cpp +++ b/src/frontends/onnx/frontend/src/op/cos.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -22,3 +23,4 @@ OutputVector cos(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cos.hpp b/src/frontends/onnx/frontend/src/op/cos.hpp index 47407c6d397e74..f79f066a4ba4d4 100644 --- a/src/frontends/onnx/frontend/src/op/cos.hpp +++ b/src/frontends/onnx/frontend/src/op/cos.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/output_vector.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector cos(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cosh.cpp b/src/frontends/onnx/frontend/src/op/cosh.cpp index 0bf10902767fea..4928a16bd62db4 100644 --- a/src/frontends/onnx/frontend/src/op/cosh.cpp +++ b/src/frontends/onnx/frontend/src/op/cosh.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -22,3 +23,4 @@ OutputVector cosh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cosh.hpp b/src/frontends/onnx/frontend/src/op/cosh.hpp index e9558399c81c8f..22c7eb0d3ce3b9 100644 --- a/src/frontends/onnx/frontend/src/op/cosh.hpp +++ b/src/frontends/onnx/frontend/src/op/cosh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/output_vector.hpp" #include "onnx_import/core/node.hpp" @@ -17,3 +20,4 @@ OutputVector cosh(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/crop.cpp b/src/frontends/onnx/frontend/src/op/crop.cpp index 1e14cdbbd54eba..e7aeda12f4f665 100644 --- a/src/frontends/onnx/frontend/src/op/crop.cpp +++ b/src/frontends/onnx/frontend/src/op/crop.cpp @@ -9,6 +9,7 @@ #include "ngraph/builder/autobroadcast.hpp" #include "ngraph/shape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -78,3 +79,4 @@ OutputVector crop(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/crop.hpp b/src/frontends/onnx/frontend/src/op/crop.hpp index f7d5d34cba927c..58310c65a762fb 100644 --- a/src/frontends/onnx/frontend/src/op/crop.hpp +++ b/src/frontends/onnx/frontend/src/op/crop.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector crop(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cum_sum.cpp b/src/frontends/onnx/frontend/src/op/cum_sum.cpp index a3e1400a874474..7f4bef11793799 100644 --- a/src/frontends/onnx/frontend/src/op/cum_sum.cpp +++ b/src/frontends/onnx/frontend/src/op/cum_sum.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -37,3 +38,4 @@ OutputVector cum_sum(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/cum_sum.hpp b/src/frontends/onnx/frontend/src/op/cum_sum.hpp index aa32f93d6546d6..4e3a39c8e297c2 100644 --- a/src/frontends/onnx/frontend/src/op/cum_sum.hpp +++ b/src/frontends/onnx/frontend/src/op/cum_sum.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector cum_sum(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/depth_to_space.cpp b/src/frontends/onnx/frontend/src/op/depth_to_space.cpp index 57818856d66aef..d92ea6ad92761f 100644 --- a/src/frontends/onnx/frontend/src/op/depth_to_space.cpp +++ b/src/frontends/onnx/frontend/src/op/depth_to_space.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -34,3 +35,4 @@ OutputVector depth_to_space(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/depth_to_space.hpp b/src/frontends/onnx/frontend/src/op/depth_to_space.hpp index 89ec4b62a2f72e..dae6bf41e6541a 100644 --- a/src/frontends/onnx/frontend/src/op/depth_to_space.hpp +++ b/src/frontends/onnx/frontend/src/op/depth_to_space.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -28,3 +31,4 @@ OutputVector depth_to_space(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dequantize_linear.cpp b/src/frontends/onnx/frontend/src/op/dequantize_linear.cpp index c1fa458a6bdcf5..86a19fd4dc8f6c 100644 --- a/src/frontends/onnx/frontend/src/op/dequantize_linear.cpp +++ b/src/frontends/onnx/frontend/src/op/dequantize_linear.cpp @@ -16,6 +16,7 @@ #include "onnx_import/core/null_node.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -187,3 +188,4 @@ OutputVector dequantize_linear(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dequantize_linear.hpp b/src/frontends/onnx/frontend/src/op/dequantize_linear.hpp index 52675aa21eed81..d44a019adabd8f 100644 --- a/src/frontends/onnx/frontend/src/op/dequantize_linear.hpp +++ b/src/frontends/onnx/frontend/src/op/dequantize_linear.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -32,3 +35,4 @@ OutputVector dequantize_linear(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dft.cpp b/src/frontends/onnx/frontend/src/op/dft.cpp index 28fbad5203e85f..037dfd67682866 100644 --- a/src/frontends/onnx/frontend/src/op/dft.cpp +++ b/src/frontends/onnx/frontend/src/op/dft.cpp @@ -8,6 +8,7 @@ #include "utils/common.hpp" #include "utils/dft.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -35,3 +36,4 @@ OutputVector dft(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dft.hpp b/src/frontends/onnx/frontend/src/op/dft.hpp index cb8eb963cafe22..0390bbedc0c875 100644 --- a/src/frontends/onnx/frontend/src/op/dft.hpp +++ b/src/frontends/onnx/frontend/src/op/dft.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector dft(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/div.hpp b/src/frontends/onnx/frontend/src/op/div.hpp index 74ef8fa1724118..1da6ae3bc4dc32 100644 --- a/src/frontends/onnx/frontend/src/op/div.hpp +++ b/src/frontends/onnx/frontend/src/op/div.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -34,3 +37,4 @@ inline OutputVector div(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dropout.cpp b/src/frontends/onnx/frontend/src/op/dropout.cpp index 13528e6bdbf2a4..170e7dfb627434 100644 --- a/src/frontends/onnx/frontend/src/op/dropout.cpp +++ b/src/frontends/onnx/frontend/src/op/dropout.cpp @@ -13,6 +13,7 @@ #include "onnx_import/core/null_node.hpp" #include "openvino/op/util/op_types.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -76,3 +77,4 @@ OutputVector dropout(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dropout.hpp b/src/frontends/onnx/frontend/src/op/dropout.hpp index 7f35ea62ae0435..3524be000c7623 100644 --- a/src/frontends/onnx/frontend/src/op/dropout.hpp +++ b/src/frontends/onnx/frontend/src/op/dropout.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { @@ -26,3 +29,4 @@ OutputVector dropout(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.cpp b/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.cpp index d53df952912d36..e147f825ee0141 100644 --- a/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.cpp +++ b/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.cpp @@ -16,6 +16,7 @@ #include "onnx_import/core/null_node.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace { @@ -105,3 +106,4 @@ OutputVector dynamic_quantize_linear(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.hpp b/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.hpp index 9dbf8131b3c50e..84d8bc852628d7 100644 --- a/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.hpp +++ b/src/frontends/onnx/frontend/src/op/dynamic_quantize_linear.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -17,3 +20,4 @@ OutputVector dynamic_quantize_linear(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/einsum.cpp b/src/frontends/onnx/frontend/src/op/einsum.cpp index b40ef5c7f5b04c..c2732ae4210198 100644 --- a/src/frontends/onnx/frontend/src/op/einsum.cpp +++ b/src/frontends/onnx/frontend/src/op/einsum.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -23,3 +24,4 @@ OutputVector einsum(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/einsum.hpp b/src/frontends/onnx/frontend/src/op/einsum.hpp index 915cef67513b25..7252006fdffba6 100644 --- a/src/frontends/onnx/frontend/src/op/einsum.hpp +++ b/src/frontends/onnx/frontend/src/op/einsum.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector einsum(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/elu.cpp b/src/frontends/onnx/frontend/src/op/elu.cpp index abd38460fd6e9b..4af7e99c1a549a 100644 --- a/src/frontends/onnx/frontend/src/op/elu.cpp +++ b/src/frontends/onnx/frontend/src/op/elu.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -27,3 +28,4 @@ OutputVector elu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/elu.hpp b/src/frontends/onnx/frontend/src/op/elu.hpp index 6b1481e9fb7171..d0b6cc0daf107e 100644 --- a/src/frontends/onnx/frontend/src/op/elu.hpp +++ b/src/frontends/onnx/frontend/src/op/elu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector elu(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/equal.hpp b/src/frontends/onnx/frontend/src/op/equal.hpp index 8d14dea6bfed8b..108ab06527bbcf 100644 --- a/src/frontends/onnx/frontend/src/op/equal.hpp +++ b/src/frontends/onnx/frontend/src/op/equal.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector equal(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/erf.hpp b/src/frontends/onnx/frontend/src/op/erf.hpp index 279ed6d2d3f8d9..76933ef8cd370a 100644 --- a/src/frontends/onnx/frontend/src/op/erf.hpp +++ b/src/frontends/onnx/frontend/src/op/erf.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector erf(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/exp.hpp b/src/frontends/onnx/frontend/src/op/exp.hpp index b851f80ff9305c..ecd5a7c6b46b53 100644 --- a/src/frontends/onnx/frontend/src/op/exp.hpp +++ b/src/frontends/onnx/frontend/src/op/exp.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector exp(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/expand.cpp b/src/frontends/onnx/frontend/src/op/expand.cpp index 77707f66e43e2b..12abc218ecf1db 100644 --- a/src/frontends/onnx/frontend/src/op/expand.cpp +++ b/src/frontends/onnx/frontend/src/op/expand.cpp @@ -12,6 +12,7 @@ #include "ngraph/op/multiply.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -40,3 +41,4 @@ OutputVector expand(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/expand.hpp b/src/frontends/onnx/frontend/src/op/expand.hpp index d460ac741ac020..d76745d0cd7fd5 100644 --- a/src/frontends/onnx/frontend/src/op/expand.hpp +++ b/src/frontends/onnx/frontend/src/op/expand.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector expand(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/eye_like.cpp b/src/frontends/onnx/frontend/src/op/eye_like.cpp index d6c7c1741d5e65..29c03e04e86ae6 100644 --- a/src/frontends/onnx/frontend/src/op/eye_like.cpp +++ b/src/frontends/onnx/frontend/src/op/eye_like.cpp @@ -11,6 +11,7 @@ #include "openvino/op/eye.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -70,3 +71,4 @@ OutputVector eye_like(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/eye_like.hpp b/src/frontends/onnx/frontend/src/op/eye_like.hpp index 4edfaf9e8c4662..011495f1bac732 100644 --- a/src/frontends/onnx/frontend/src/op/eye_like.hpp +++ b/src/frontends/onnx/frontend/src/op/eye_like.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector eye_like(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/flatten.cpp b/src/frontends/onnx/frontend/src/op/flatten.cpp index 4222fa03eed716..2a8d445be1f8cd 100644 --- a/src/frontends/onnx/frontend/src/op/flatten.cpp +++ b/src/frontends/onnx/frontend/src/op/flatten.cpp @@ -10,6 +10,7 @@ #include "ngraph/builder/reshape.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { diff --git a/src/frontends/onnx/frontend/src/op/flatten.hpp b/src/frontends/onnx/frontend/src/op/flatten.hpp index fde79250351bb3..8f0c7e8458c543 100644 --- a/src/frontends/onnx/frontend/src/op/flatten.hpp +++ b/src/frontends/onnx/frontend/src/op/flatten.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/floor.hpp b/src/frontends/onnx/frontend/src/op/floor.hpp index 4de50005fee8a5..535dc4771207b0 100644 --- a/src/frontends/onnx/frontend/src/op/floor.hpp +++ b/src/frontends/onnx/frontend/src/op/floor.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector floor(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gather.hpp b/src/frontends/onnx/frontend/src/op/gather.hpp index b5220a8095dca4..330e8fc434d880 100644 --- a/src/frontends/onnx/frontend/src/op/gather.hpp +++ b/src/frontends/onnx/frontend/src/op/gather.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" @@ -30,3 +33,4 @@ inline OutputVector gather(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gather_elements.hpp b/src/frontends/onnx/frontend/src/op/gather_elements.hpp index 7e1823b2e25f45..a5052a52fc87df 100644 --- a/src/frontends/onnx/frontend/src/op/gather_elements.hpp +++ b/src/frontends/onnx/frontend/src/op/gather_elements.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/output_vector.hpp" @@ -23,3 +26,4 @@ inline OutputVector gather_elements(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gather_nd.cpp b/src/frontends/onnx/frontend/src/op/gather_nd.cpp index 7fdfcaf6de408f..fe50c1689b30ac 100644 --- a/src/frontends/onnx/frontend/src/op/gather_nd.cpp +++ b/src/frontends/onnx/frontend/src/op/gather_nd.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -30,3 +31,4 @@ OutputVector gather_nd(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gather_nd.hpp b/src/frontends/onnx/frontend/src/op/gather_nd.hpp index 228e0f5b6722db..ad2092f21275b7 100644 --- a/src/frontends/onnx/frontend/src/op/gather_nd.hpp +++ b/src/frontends/onnx/frontend/src/op/gather_nd.hpp @@ -7,6 +7,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector gather_nd(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gemm.cpp b/src/frontends/onnx/frontend/src/op/gemm.cpp index b4b9f707f17e3f..c05f1963b99060 100644 --- a/src/frontends/onnx/frontend/src/op/gemm.cpp +++ b/src/frontends/onnx/frontend/src/op/gemm.cpp @@ -13,6 +13,7 @@ #include "ngraph/op/matmul.hpp" #include "ngraph/op/multiply.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { diff --git a/src/frontends/onnx/frontend/src/op/gemm.hpp b/src/frontends/onnx/frontend/src/op/gemm.hpp index 69ae2b0d873a0c..fd28462c9c1c5f 100644 --- a/src/frontends/onnx/frontend/src/op/gemm.hpp +++ b/src/frontends/onnx/frontend/src/op/gemm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/global_average_pool.cpp b/src/frontends/onnx/frontend/src/op/global_average_pool.cpp index 0f81499d35aff4..750c97c6c2d5f4 100644 --- a/src/frontends/onnx/frontend/src/op/global_average_pool.cpp +++ b/src/frontends/onnx/frontend/src/op/global_average_pool.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "ngraph/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -47,3 +48,4 @@ OutputVector global_average_pool(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/global_average_pool.hpp b/src/frontends/onnx/frontend/src/op/global_average_pool.hpp index c0d03d88be7830..6d267bab74ba61 100644 --- a/src/frontends/onnx/frontend/src/op/global_average_pool.hpp +++ b/src/frontends/onnx/frontend/src/op/global_average_pool.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector global_average_pool(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/global_max_pool.cpp b/src/frontends/onnx/frontend/src/op/global_max_pool.cpp index b8e82ea611ef18..e7a90f31af0635 100644 --- a/src/frontends/onnx/frontend/src/op/global_max_pool.cpp +++ b/src/frontends/onnx/frontend/src/op/global_max_pool.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "ngraph/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -47,3 +48,4 @@ OutputVector global_max_pool(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/global_max_pool.hpp b/src/frontends/onnx/frontend/src/op/global_max_pool.hpp index 12db15f209f5ad..f3e1c6221f30b0 100644 --- a/src/frontends/onnx/frontend/src/op/global_max_pool.hpp +++ b/src/frontends/onnx/frontend/src/op/global_max_pool.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector global_max_pool(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/greater.hpp b/src/frontends/onnx/frontend/src/op/greater.hpp index 1c235b24cfc16d..f39f1744ca34c1 100644 --- a/src/frontends/onnx/frontend/src/op/greater.hpp +++ b/src/frontends/onnx/frontend/src/op/greater.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector greater(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/grid_sample.cpp b/src/frontends/onnx/frontend/src/op/grid_sample.cpp index db7375b4d813e4..63129b4c3dec18 100644 --- a/src/frontends/onnx/frontend/src/op/grid_sample.cpp +++ b/src/frontends/onnx/frontend/src/op/grid_sample.cpp @@ -6,6 +6,7 @@ #include "openvino/opsets/opset9.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -29,3 +30,4 @@ OutputVector grid_sample(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/grid_sample.hpp b/src/frontends/onnx/frontend/src/op/grid_sample.hpp index 566f387b526bd4..5c2a4715fbe2f6 100644 --- a/src/frontends/onnx/frontend/src/op/grid_sample.hpp +++ b/src/frontends/onnx/frontend/src/op/grid_sample.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector grid_sample(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gru.cpp b/src/frontends/onnx/frontend/src/op/gru.cpp index 66e5b6e307aea4..62453ffe293d44 100644 --- a/src/frontends/onnx/frontend/src/op/gru.cpp +++ b/src/frontends/onnx/frontend/src/op/gru.cpp @@ -14,6 +14,7 @@ #include "onnx_import/core/null_node.hpp" #include "utils/recurrent.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -107,3 +108,4 @@ OutputVector gru(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/gru.hpp b/src/frontends/onnx/frontend/src/op/gru.hpp index 867da8732101fb..94f0dcba72533e 100644 --- a/src/frontends/onnx/frontend/src/op/gru.hpp +++ b/src/frontends/onnx/frontend/src/op/gru.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector gru(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/hard_sigmoid.cpp b/src/frontends/onnx/frontend/src/op/hard_sigmoid.cpp index 3a7f4d31052c27..0d7703373671a2 100644 --- a/src/frontends/onnx/frontend/src/op/hard_sigmoid.cpp +++ b/src/frontends/onnx/frontend/src/op/hard_sigmoid.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -35,3 +36,4 @@ OutputVector hard_sigmoid(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/hard_sigmoid.hpp b/src/frontends/onnx/frontend/src/op/hard_sigmoid.hpp index 1bcddf788cd3f6..66d4c0b5ac04f1 100644 --- a/src/frontends/onnx/frontend/src/op/hard_sigmoid.hpp +++ b/src/frontends/onnx/frontend/src/op/hard_sigmoid.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector hard_sigmoid(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/hard_swish.hpp b/src/frontends/onnx/frontend/src/op/hard_swish.hpp index 09d2ddd5a5cfbe..7a771ab39d2cdd 100644 --- a/src/frontends/onnx/frontend/src/op/hard_swish.hpp +++ b/src/frontends/onnx/frontend/src/op/hard_swish.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ inline OutputVector hard_swish(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/hardmax.cpp b/src/frontends/onnx/frontend/src/op/hardmax.cpp index 0021cdc53f67d7..8200ffbc2db0c6 100644 --- a/src/frontends/onnx/frontend/src/op/hardmax.cpp +++ b/src/frontends/onnx/frontend/src/op/hardmax.cpp @@ -12,6 +12,7 @@ #include "utils/common.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -97,3 +98,4 @@ OutputVector hardmax(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/hardmax.hpp b/src/frontends/onnx/frontend/src/op/hardmax.hpp index 378406fb75e2e8..2bc5bf414472d7 100644 --- a/src/frontends/onnx/frontend/src/op/hardmax.hpp +++ b/src/frontends/onnx/frontend/src/op/hardmax.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ OutputVector hardmax(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/identity.hpp b/src/frontends/onnx/frontend/src/op/identity.hpp index 847dedc0cd4be1..fa6ea1b24a412c 100644 --- a/src/frontends/onnx/frontend/src/op/identity.hpp +++ b/src/frontends/onnx/frontend/src/op/identity.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -29,3 +32,4 @@ inline OutputVector identity(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/if.cpp b/src/frontends/onnx/frontend/src/op/if.cpp index d193892b7302c7..6de301589456ee 100644 --- a/src/frontends/onnx/frontend/src/op/if.cpp +++ b/src/frontends/onnx/frontend/src/op/if.cpp @@ -8,6 +8,7 @@ #include "ngraph/node.hpp" #include "ngraph/opsets/opset8.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -67,3 +68,4 @@ OutputVector if_op(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/if.hpp b/src/frontends/onnx/frontend/src/op/if.hpp index 12cdea1d75c6ee..8c6d91610cb28b 100644 --- a/src/frontends/onnx/frontend/src/op/if.hpp +++ b/src/frontends/onnx/frontend/src/op/if.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector if_op(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/image_scaler.cpp b/src/frontends/onnx/frontend/src/op/image_scaler.cpp index e51a598d0797b5..974a230c9d94a1 100644 --- a/src/frontends/onnx/frontend/src/op/image_scaler.cpp +++ b/src/frontends/onnx/frontend/src/op/image_scaler.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -41,3 +42,4 @@ OutputVector image_scaler(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/image_scaler.hpp b/src/frontends/onnx/frontend/src/op/image_scaler.hpp index a432daca815a35..472c59a5abe3ec 100644 --- a/src/frontends/onnx/frontend/src/op/image_scaler.hpp +++ b/src/frontends/onnx/frontend/src/op/image_scaler.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -16,3 +19,4 @@ OutputVector image_scaler(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/instance_norm.cpp b/src/frontends/onnx/frontend/src/op/instance_norm.cpp index e0cdce220eda83..e738940d659b82 100644 --- a/src/frontends/onnx/frontend/src/op/instance_norm.cpp +++ b/src/frontends/onnx/frontend/src/op/instance_norm.cpp @@ -21,6 +21,7 @@ #include "utils/common.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -91,3 +92,4 @@ OutputVector instance_norm(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/instance_norm.hpp b/src/frontends/onnx/frontend/src/op/instance_norm.hpp index 6657f4ef2f0035..1c1679e08b7380 100644 --- a/src/frontends/onnx/frontend/src/op/instance_norm.hpp +++ b/src/frontends/onnx/frontend/src/op/instance_norm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -30,3 +33,4 @@ OutputVector instance_norm(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_finite.cpp b/src/frontends/onnx/frontend/src/op/is_finite.cpp index 97568bb43fcab7..e0a2f8c1cfe055 100644 --- a/src/frontends/onnx/frontend/src/op/is_finite.cpp +++ b/src/frontends/onnx/frontend/src/op/is_finite.cpp @@ -6,6 +6,7 @@ #include "openvino/opsets/opset10.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -20,3 +21,4 @@ OutputVector is_finite(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_finite.hpp b/src/frontends/onnx/frontend/src/op/is_finite.hpp index 49b666b0c63ce7..d95ea99b10ce4b 100644 --- a/src/frontends/onnx/frontend/src/op/is_finite.hpp +++ b/src/frontends/onnx/frontend/src/op/is_finite.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector is_finite(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_inf.cpp b/src/frontends/onnx/frontend/src/op/is_inf.cpp index b1135580fc2c89..1aa7965215d602 100644 --- a/src/frontends/onnx/frontend/src/op/is_inf.cpp +++ b/src/frontends/onnx/frontend/src/op/is_inf.cpp @@ -6,6 +6,7 @@ #include "openvino/opsets/opset10.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -23,3 +24,4 @@ OutputVector is_inf(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_inf.hpp b/src/frontends/onnx/frontend/src/op/is_inf.hpp index 36780409555234..20e64271de0404 100644 --- a/src/frontends/onnx/frontend/src/op/is_inf.hpp +++ b/src/frontends/onnx/frontend/src/op/is_inf.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -17,3 +20,4 @@ OutputVector is_inf(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_nan.cpp b/src/frontends/onnx/frontend/src/op/is_nan.cpp index d76f67ab4257ff..ae65977da3cd8f 100644 --- a/src/frontends/onnx/frontend/src/op/is_nan.cpp +++ b/src/frontends/onnx/frontend/src/op/is_nan.cpp @@ -6,6 +6,7 @@ #include "openvino/opsets/opset10.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -20,3 +21,4 @@ OutputVector is_nan(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/is_nan.hpp b/src/frontends/onnx/frontend/src/op/is_nan.hpp index 7e4aa666e42bb6..ed146b5a7419b2 100644 --- a/src/frontends/onnx/frontend/src/op/is_nan.hpp +++ b/src/frontends/onnx/frontend/src/op/is_nan.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector is_nan(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/leaky_relu.cpp b/src/frontends/onnx/frontend/src/op/leaky_relu.cpp index 4783536c9803fd..c4c0d5f627d124 100644 --- a/src/frontends/onnx/frontend/src/op/leaky_relu.cpp +++ b/src/frontends/onnx/frontend/src/op/leaky_relu.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "exceptions.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -29,3 +30,4 @@ OutputVector leaky_relu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/leaky_relu.hpp b/src/frontends/onnx/frontend/src/op/leaky_relu.hpp index 1a913dc9e0ed7a..38355791b74c3a 100644 --- a/src/frontends/onnx/frontend/src/op/leaky_relu.hpp +++ b/src/frontends/onnx/frontend/src/op/leaky_relu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector leaky_relu(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/less.hpp b/src/frontends/onnx/frontend/src/op/less.hpp index 234b6d470035cb..9903323219033e 100644 --- a/src/frontends/onnx/frontend/src/op/less.hpp +++ b/src/frontends/onnx/frontend/src/op/less.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector less(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/log.cpp b/src/frontends/onnx/frontend/src/op/log.cpp index a079563f6e3996..8a9e3072043054 100644 --- a/src/frontends/onnx/frontend/src/op/log.cpp +++ b/src/frontends/onnx/frontend/src/op/log.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -23,3 +24,4 @@ OutputVector log(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/log.hpp b/src/frontends/onnx/frontend/src/op/log.hpp index 2a8b93c77697df..540e80ba6a5727 100644 --- a/src/frontends/onnx/frontend/src/op/log.hpp +++ b/src/frontends/onnx/frontend/src/op/log.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/output_vector.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector log(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/log_softmax.cpp b/src/frontends/onnx/frontend/src/op/log_softmax.cpp index df442c8358bb02..e1f4ef9167c3e7 100644 --- a/src/frontends/onnx/frontend/src/op/log_softmax.cpp +++ b/src/frontends/onnx/frontend/src/op/log_softmax.cpp @@ -10,6 +10,7 @@ #include "ngraph/builder/reshape.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace { @@ -76,3 +77,4 @@ OutputVector log_softmax(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/log_softmax.hpp b/src/frontends/onnx/frontend/src/op/log_softmax.hpp index fd25b448840154..79a3a075f27ff4 100644 --- a/src/frontends/onnx/frontend/src/op/log_softmax.hpp +++ b/src/frontends/onnx/frontend/src/op/log_softmax.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector log_softmax(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/loop.cpp b/src/frontends/onnx/frontend/src/op/loop.cpp index 6b364e669d2723..21621a86520b5a 100644 --- a/src/frontends/onnx/frontend/src/op/loop.cpp +++ b/src/frontends/onnx/frontend/src/op/loop.cpp @@ -16,6 +16,7 @@ #include "onnx_import/core/null_node.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -177,3 +178,4 @@ OutputVector loop(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/loop.hpp b/src/frontends/onnx/frontend/src/op/loop.hpp index c8d417f81bdc2f..9e7af71c3daab4 100644 --- a/src/frontends/onnx/frontend/src/op/loop.hpp +++ b/src/frontends/onnx/frontend/src/op/loop.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -28,3 +31,4 @@ OutputVector loop(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lp_norm.cpp b/src/frontends/onnx/frontend/src/op/lp_norm.cpp index 8a92186548ec96..62d86dd216989a 100644 --- a/src/frontends/onnx/frontend/src/op/lp_norm.cpp +++ b/src/frontends/onnx/frontend/src/op/lp_norm.cpp @@ -17,6 +17,7 @@ #include "ngraph/op/divide.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -53,3 +54,4 @@ OutputVector lp_norm(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lp_norm.hpp b/src/frontends/onnx/frontend/src/op/lp_norm.hpp index dd76e6b9514f47..f65bac798fbf10 100644 --- a/src/frontends/onnx/frontend/src/op/lp_norm.hpp +++ b/src/frontends/onnx/frontend/src/op/lp_norm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -31,3 +34,4 @@ OutputVector lp_norm(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lp_pool.cpp b/src/frontends/onnx/frontend/src/op/lp_pool.cpp index e18d35a8bb8014..b8dbf6a974d49c 100644 --- a/src/frontends/onnx/frontend/src/op/lp_pool.cpp +++ b/src/frontends/onnx/frontend/src/op/lp_pool.cpp @@ -16,6 +16,7 @@ #include "ngraph/util.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -63,3 +64,4 @@ OutputVector global_lp_pool(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lp_pool.hpp b/src/frontends/onnx/frontend/src/op/lp_pool.hpp index f4b9e2793efb4c..de32c26f0817b9 100644 --- a/src/frontends/onnx/frontend/src/op/lp_pool.hpp +++ b/src/frontends/onnx/frontend/src/op/lp_pool.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -36,3 +39,4 @@ OutputVector global_lp_pool(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lrn.cpp b/src/frontends/onnx/frontend/src/op/lrn.cpp index e49a983eae83e6..cda91d11f4f3d2 100644 --- a/src/frontends/onnx/frontend/src/op/lrn.cpp +++ b/src/frontends/onnx/frontend/src/op/lrn.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -29,3 +30,4 @@ OutputVector lrn(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lrn.hpp b/src/frontends/onnx/frontend/src/op/lrn.hpp index efb5ad8300f296..4438b4bf68e275 100644 --- a/src/frontends/onnx/frontend/src/op/lrn.hpp +++ b/src/frontends/onnx/frontend/src/op/lrn.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector lrn(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lstm.cpp b/src/frontends/onnx/frontend/src/op/lstm.cpp index 59594b3a28c8a2..93bfcae63632fa 100644 --- a/src/frontends/onnx/frontend/src/op/lstm.cpp +++ b/src/frontends/onnx/frontend/src/op/lstm.cpp @@ -26,6 +26,7 @@ #include "ngraph/type/element_type.hpp" #include "onnx_import/core/null_node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -268,3 +269,4 @@ OutputVector lstm(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/lstm.hpp b/src/frontends/onnx/frontend/src/op/lstm.hpp index 6396765a689e1a..4b84e4466aac44 100644 --- a/src/frontends/onnx/frontend/src/op/lstm.hpp +++ b/src/frontends/onnx/frontend/src/op/lstm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector lstm(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/matmul.hpp b/src/frontends/onnx/frontend/src/op/matmul.hpp index d2e995e481042e..d4930005bfc54c 100644 --- a/src/frontends/onnx/frontend/src/op/matmul.hpp +++ b/src/frontends/onnx/frontend/src/op/matmul.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector matmul(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/matmul_integer.cpp b/src/frontends/onnx/frontend/src/op/matmul_integer.cpp index 034a0db6a25dee..26f0100c92e171 100644 --- a/src/frontends/onnx/frontend/src/op/matmul_integer.cpp +++ b/src/frontends/onnx/frontend/src/op/matmul_integer.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -53,3 +54,4 @@ OutputVector matmul_integer(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/matmul_integer.hpp b/src/frontends/onnx/frontend/src/op/matmul_integer.hpp index f27055cba37c96..3da61339848ca6 100644 --- a/src/frontends/onnx/frontend/src/op/matmul_integer.hpp +++ b/src/frontends/onnx/frontend/src/op/matmul_integer.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ OutputVector matmul_integer(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/max.hpp b/src/frontends/onnx/frontend/src/op/max.hpp index add5aeb83f1c99..6ae77fb49a15b4 100644 --- a/src/frontends/onnx/frontend/src/op/max.hpp +++ b/src/frontends/onnx/frontend/src/op/max.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -31,3 +34,4 @@ inline OutputVector max(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/max_pool.cpp b/src/frontends/onnx/frontend/src/op/max_pool.cpp index 9558956137686c..f95435791f1b19 100644 --- a/src/frontends/onnx/frontend/src/op/max_pool.cpp +++ b/src/frontends/onnx/frontend/src/op/max_pool.cpp @@ -10,6 +10,7 @@ #include "openvino/util/log.hpp" #include "utils/pooling_factory.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -36,3 +37,4 @@ OutputVector max_pool(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/max_pool.hpp b/src/frontends/onnx/frontend/src/op/max_pool.hpp index 6e965a94692ac2..f9b266feb6b463 100644 --- a/src/frontends/onnx/frontend/src/op/max_pool.hpp +++ b/src/frontends/onnx/frontend/src/op/max_pool.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -41,3 +44,4 @@ OutputVector max_pool(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mean.cpp b/src/frontends/onnx/frontend/src/op/mean.cpp index e9c8bf27a52d03..31d9e94ea7f3b3 100644 --- a/src/frontends/onnx/frontend/src/op/mean.cpp +++ b/src/frontends/onnx/frontend/src/op/mean.cpp @@ -7,6 +7,7 @@ #include "default_opset.hpp" #include "utils/variadic.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector mean(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mean.hpp b/src/frontends/onnx/frontend/src/op/mean.hpp index 44b161266922a2..178cf1e5b766d9 100644 --- a/src/frontends/onnx/frontend/src/op/mean.hpp +++ b/src/frontends/onnx/frontend/src/op/mean.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector mean(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mean_variance_normalization.cpp b/src/frontends/onnx/frontend/src/op/mean_variance_normalization.cpp index b8c3d04c5d3e83..6a1dca496f6d2c 100644 --- a/src/frontends/onnx/frontend/src/op/mean_variance_normalization.cpp +++ b/src/frontends/onnx/frontend/src/op/mean_variance_normalization.cpp @@ -13,6 +13,7 @@ #include "ngraph/opsets/opset5.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -47,3 +48,4 @@ OutputVector mean_variance_normalization(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mean_variance_normalization.hpp b/src/frontends/onnx/frontend/src/op/mean_variance_normalization.hpp index 757c8313b7d8f0..736559b103c062 100644 --- a/src/frontends/onnx/frontend/src/op/mean_variance_normalization.hpp +++ b/src/frontends/onnx/frontend/src/op/mean_variance_normalization.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector mean_variance_normalization(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/min.hpp b/src/frontends/onnx/frontend/src/op/min.hpp index f1fa52eadecbdb..6ffe0fa4612379 100644 --- a/src/frontends/onnx/frontend/src/op/min.hpp +++ b/src/frontends/onnx/frontend/src/op/min.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -31,3 +34,4 @@ inline OutputVector min(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mod.cpp b/src/frontends/onnx/frontend/src/op/mod.cpp index 331e7a9f3194da..ed1ef644a86e87 100644 --- a/src/frontends/onnx/frontend/src/op/mod.cpp +++ b/src/frontends/onnx/frontend/src/op/mod.cpp @@ -12,6 +12,7 @@ #include "ngraph/op/util/attr_types.hpp" #include "op/mod.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -42,3 +43,4 @@ OutputVector mod(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mod.hpp b/src/frontends/onnx/frontend/src/op/mod.hpp index 0838f496099097..02856e909d1064 100644 --- a/src/frontends/onnx/frontend/src/op/mod.hpp +++ b/src/frontends/onnx/frontend/src/op/mod.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector mod(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/mul.hpp b/src/frontends/onnx/frontend/src/op/mul.hpp index f13b077236b709..51b4d8cb4cbabd 100644 --- a/src/frontends/onnx/frontend/src/op/mul.hpp +++ b/src/frontends/onnx/frontend/src/op/mul.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -35,3 +38,4 @@ inline OutputVector mul(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/neg.hpp b/src/frontends/onnx/frontend/src/op/neg.hpp index 8d0131c564ccd1..19f7cbdcbb82e0 100644 --- a/src/frontends/onnx/frontend/src/op/neg.hpp +++ b/src/frontends/onnx/frontend/src/op/neg.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "ngraph/op/negative.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ inline OutputVector neg(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/non_max_suppression.cpp b/src/frontends/onnx/frontend/src/op/non_max_suppression.cpp index 2078b8c2964f57..ac83ebd7faf3b1 100644 --- a/src/frontends/onnx/frontend/src/op/non_max_suppression.cpp +++ b/src/frontends/onnx/frontend/src/op/non_max_suppression.cpp @@ -13,6 +13,7 @@ #include "op/non_max_suppression.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -72,3 +73,4 @@ OutputVector non_max_suppression(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/non_max_suppression.hpp b/src/frontends/onnx/frontend/src/op/non_max_suppression.hpp index 4d64ee179104d0..371654842ca86a 100644 --- a/src/frontends/onnx/frontend/src/op/non_max_suppression.hpp +++ b/src/frontends/onnx/frontend/src/op/non_max_suppression.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector non_max_suppression(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/non_zero.cpp b/src/frontends/onnx/frontend/src/op/non_zero.cpp index 9da0d85a028c12..84bb07122aab30 100644 --- a/src/frontends/onnx/frontend/src/op/non_zero.cpp +++ b/src/frontends/onnx/frontend/src/op/non_zero.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -24,3 +25,4 @@ OutputVector non_zero(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/non_zero.hpp b/src/frontends/onnx/frontend/src/op/non_zero.hpp index a0d270a63cc93f..d5758e6507840c 100644 --- a/src/frontends/onnx/frontend/src/op/non_zero.hpp +++ b/src/frontends/onnx/frontend/src/op/non_zero.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ OutputVector non_zero(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/not.hpp b/src/frontends/onnx/frontend/src/op/not.hpp index fba90dbfee1cf5..b498cee9ae3ec3 100644 --- a/src/frontends/onnx/frontend/src/op/not.hpp +++ b/src/frontends/onnx/frontend/src/op/not.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector logical_not(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/onehot.cpp b/src/frontends/onnx/frontend/src/op/onehot.cpp index 4075a46f6f2204..42d40f1ebbd97a 100644 --- a/src/frontends/onnx/frontend/src/op/onehot.cpp +++ b/src/frontends/onnx/frontend/src/op/onehot.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { diff --git a/src/frontends/onnx/frontend/src/op/onehot.hpp b/src/frontends/onnx/frontend/src/op/onehot.hpp index e3fc086281224f..ab95ea7eeadb25 100644 --- a/src/frontends/onnx/frontend/src/op/onehot.hpp +++ b/src/frontends/onnx/frontend/src/op/onehot.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/or.hpp b/src/frontends/onnx/frontend/src/op/or.hpp index 92a9bad744fab0..ccf46f8c2f3c4b 100644 --- a/src/frontends/onnx/frontend/src/op/or.hpp +++ b/src/frontends/onnx/frontend/src/op/or.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector logical_or(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/deformable_conv_2d.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/deformable_conv_2d.hpp index af6e5470628f11..98d4988b3564c8 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/deformable_conv_2d.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/deformable_conv_2d.hpp @@ -16,6 +16,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/detection_output.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/detection_output.hpp index e81eda1d082498..e20810e2b4e0a0 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/detection_output.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/detection_output.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/detection_output.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/detection_output.hpp index f7f21b6bd8afd0..2254fb98782a34 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/detection_output.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/detection_output.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/generate_proposals_single_image.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/generate_proposals_single_image.hpp index c9cb86cb4aecd2..b17c944fe3def1 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/generate_proposals_single_image.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/generate_proposals_single_image.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "ngraph/op/experimental_detectron_generate_proposals.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/prior_grid_generator.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/prior_grid_generator.hpp index bc1ab2ef8be5ca..2fdcf1be1034ea 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/prior_grid_generator.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/prior_grid_generator.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "ngraph/op/experimental_detectron_prior_grid_generator.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/roi_feature_extractor.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/roi_feature_extractor.hpp index 6af63681d88348..c401ab6e74f976 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/roi_feature_extractor.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/roi_feature_extractor.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "ngraph/op/experimental_detectron_roi_feature.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/topk_rios.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/topk_rios.hpp index 480d3dd55d65c7..41daf52b6ef447 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/topk_rios.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/experimental_detectron/topk_rios.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "ngraph/op/experimental_detectron_topkrois.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/fake_quantize.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/fake_quantize.hpp index 169b8f244e6fab..497b7b430482cc 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/fake_quantize.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/fake_quantize.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/generate_proposals.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/generate_proposals.hpp index ace98f25c2410d..eb9dc4e3e16a70 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/generate_proposals.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/generate_proposals.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/group_norm.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/group_norm.hpp index f2fc1333865134..46ab07f27fa077 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/group_norm.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/group_norm.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/normalize.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/normalize.hpp index 9f736521e38378..a265980052bd02 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/normalize.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/normalize.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/prior_box.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/prior_box.hpp index 9d97450d3375e6..9bf1db0d9bf276 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/prior_box.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/prior_box.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/swish.hpp b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/swish.hpp index 1380e31e9afad8..0b89434bed01f5 100644 --- a/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/swish.hpp +++ b/src/frontends/onnx/frontend/src/op/org.openvinotoolkit/swish.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "ngraph/node.hpp" diff --git a/src/frontends/onnx/frontend/src/op/pad.cpp b/src/frontends/onnx/frontend/src/op/pad.cpp index aa26a8da2be26d..326d652aa3c16a 100644 --- a/src/frontends/onnx/frontend/src/op/pad.cpp +++ b/src/frontends/onnx/frontend/src/op/pad.cpp @@ -36,6 +36,7 @@ ngraph::op::PadMode get_pad_mode(std::string mode) { return pad_mode; } } // namespace +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -109,3 +110,4 @@ OutputVector pad(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/pad.hpp b/src/frontends/onnx/frontend/src/op/pad.hpp index 964867bf859fe4..aa3539f47aadba 100644 --- a/src/frontends/onnx/frontend/src/op/pad.hpp +++ b/src/frontends/onnx/frontend/src/op/pad.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector pad(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/pow.cpp b/src/frontends/onnx/frontend/src/op/pow.cpp index 8bf2bb791e6412..645a5109717434 100644 --- a/src/frontends/onnx/frontend/src/op/pow.cpp +++ b/src/frontends/onnx/frontend/src/op/pow.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "ngraph/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -40,3 +41,4 @@ OutputVector pow(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/pow.hpp b/src/frontends/onnx/frontend/src/op/pow.hpp index e6a9daca30eaa5..c48f37492d7e6c 100644 --- a/src/frontends/onnx/frontend/src/op/pow.hpp +++ b/src/frontends/onnx/frontend/src/op/pow.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { @@ -19,3 +22,4 @@ OutputVector pow(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/prelu.cpp b/src/frontends/onnx/frontend/src/op/prelu.cpp index 6d8e6a0dbd6631..fa336eaa2b8c24 100644 --- a/src/frontends/onnx/frontend/src/op/prelu.cpp +++ b/src/frontends/onnx/frontend/src/op/prelu.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -26,3 +27,4 @@ OutputVector prelu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/prelu.hpp b/src/frontends/onnx/frontend/src/op/prelu.hpp index 98faf09e8d2884..3ceb9845c22877 100644 --- a/src/frontends/onnx/frontend/src/op/prelu.hpp +++ b/src/frontends/onnx/frontend/src/op/prelu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector prelu(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/qlinear_conv.cpp b/src/frontends/onnx/frontend/src/op/qlinear_conv.cpp index fd18ce723de798..928324d0a7de01 100644 --- a/src/frontends/onnx/frontend/src/op/qlinear_conv.cpp +++ b/src/frontends/onnx/frontend/src/op/qlinear_conv.cpp @@ -18,6 +18,7 @@ #include "onnx_import/core/null_node.hpp" #include "quantize_linear.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -66,3 +67,4 @@ OutputVector qlinear_conv(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/qlinear_conv.hpp b/src/frontends/onnx/frontend/src/op/qlinear_conv.hpp index bd5a4949c704f7..116f4b082fd961 100644 --- a/src/frontends/onnx/frontend/src/op/qlinear_conv.hpp +++ b/src/frontends/onnx/frontend/src/op/qlinear_conv.hpp @@ -7,6 +7,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -29,3 +32,4 @@ OutputVector qlinear_conv(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/qlinear_matmul.cpp b/src/frontends/onnx/frontend/src/op/qlinear_matmul.cpp index 845252de133f04..c6f0077e7cbac8 100644 --- a/src/frontends/onnx/frontend/src/op/qlinear_matmul.cpp +++ b/src/frontends/onnx/frontend/src/op/qlinear_matmul.cpp @@ -14,6 +14,7 @@ #include "quantize_linear.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -53,3 +54,4 @@ OutputVector qlinear_matmul(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/qlinear_matmul.hpp b/src/frontends/onnx/frontend/src/op/qlinear_matmul.hpp index c418e5af318226..37b9a49b4e8c11 100644 --- a/src/frontends/onnx/frontend/src/op/qlinear_matmul.hpp +++ b/src/frontends/onnx/frontend/src/op/qlinear_matmul.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -22,3 +25,4 @@ OutputVector qlinear_matmul(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/quant_conv.hpp b/src/frontends/onnx/frontend/src/op/quant_conv.hpp index 89b48b269298b1..69f95fe1cafee2 100644 --- a/src/frontends/onnx/frontend/src/op/quant_conv.hpp +++ b/src/frontends/onnx/frontend/src/op/quant_conv.hpp @@ -7,6 +7,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -29,3 +32,4 @@ OutputVector quant_conv(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/quantize_linear.cpp b/src/frontends/onnx/frontend/src/op/quantize_linear.cpp index 7bac76b0359359..40ace174738bb3 100644 --- a/src/frontends/onnx/frontend/src/op/quantize_linear.cpp +++ b/src/frontends/onnx/frontend/src/op/quantize_linear.cpp @@ -18,6 +18,7 @@ #include "ngraph/validation_util.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -226,3 +227,4 @@ OutputVector quantize_linear(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/quantize_linear.hpp b/src/frontends/onnx/frontend/src/op/quantize_linear.hpp index 829742686ae301..01c52db094dc7c 100644 --- a/src/frontends/onnx/frontend/src/op/quantize_linear.hpp +++ b/src/frontends/onnx/frontend/src/op/quantize_linear.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -31,3 +34,4 @@ OutputVector quantize_linear(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_normal.cpp b/src/frontends/onnx/frontend/src/op/random_normal.cpp index b9bdbe51a0c059..35978df4dbf2ad 100644 --- a/src/frontends/onnx/frontend/src/op/random_normal.cpp +++ b/src/frontends/onnx/frontend/src/op/random_normal.cpp @@ -8,6 +8,7 @@ #include "ngraph/shape.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -33,3 +34,4 @@ OutputVector random_normal(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_normal.hpp b/src/frontends/onnx/frontend/src/op/random_normal.hpp index 81df213d7145db..453c65a3da4166 100644 --- a/src/frontends/onnx/frontend/src/op/random_normal.hpp +++ b/src/frontends/onnx/frontend/src/op/random_normal.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector random_normal(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_normal_like.cpp b/src/frontends/onnx/frontend/src/op/random_normal_like.cpp index c2436b423fba61..8d77d8055db16b 100644 --- a/src/frontends/onnx/frontend/src/op/random_normal_like.cpp +++ b/src/frontends/onnx/frontend/src/op/random_normal_like.cpp @@ -7,6 +7,7 @@ #include "utils/common.hpp" #include "utils/random_normal.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -35,3 +36,4 @@ OutputVector random_normal_like(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_normal_like.hpp b/src/frontends/onnx/frontend/src/op/random_normal_like.hpp index b24333d6c9578b..71ccb3bae632af 100644 --- a/src/frontends/onnx/frontend/src/op/random_normal_like.hpp +++ b/src/frontends/onnx/frontend/src/op/random_normal_like.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector random_normal_like(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_uniform.cpp b/src/frontends/onnx/frontend/src/op/random_uniform.cpp index 7bc947bd027683..6215dcc491c07d 100644 --- a/src/frontends/onnx/frontend/src/op/random_uniform.cpp +++ b/src/frontends/onnx/frontend/src/op/random_uniform.cpp @@ -11,6 +11,7 @@ #include "ngraph/shape.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -42,3 +43,4 @@ OutputVector random_uniform(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_uniform.hpp b/src/frontends/onnx/frontend/src/op/random_uniform.hpp index b4e0d6a952a03c..ed92b2294baddf 100644 --- a/src/frontends/onnx/frontend/src/op/random_uniform.hpp +++ b/src/frontends/onnx/frontend/src/op/random_uniform.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector random_uniform(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_uniform_like.cpp b/src/frontends/onnx/frontend/src/op/random_uniform_like.cpp index 75acebc0e2718d..7549b06e0355bb 100644 --- a/src/frontends/onnx/frontend/src/op/random_uniform_like.cpp +++ b/src/frontends/onnx/frontend/src/op/random_uniform_like.cpp @@ -11,6 +11,7 @@ #include "ngraph/shape.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -49,3 +50,4 @@ OutputVector random_uniform_like(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/random_uniform_like.hpp b/src/frontends/onnx/frontend/src/op/random_uniform_like.hpp index 945d355bc3769b..eb4b8fcc1d6762 100644 --- a/src/frontends/onnx/frontend/src/op/random_uniform_like.hpp +++ b/src/frontends/onnx/frontend/src/op/random_uniform_like.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector random_uniform_like(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/range.cpp b/src/frontends/onnx/frontend/src/op/range.cpp index 729fb30492f3ce..cd01426f89060e 100644 --- a/src/frontends/onnx/frontend/src/op/range.cpp +++ b/src/frontends/onnx/frontend/src/op/range.cpp @@ -8,6 +8,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector range(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/range.hpp b/src/frontends/onnx/frontend/src/op/range.hpp index 1c8f37cea7c364..0e9bb540c5729d 100644 --- a/src/frontends/onnx/frontend/src/op/range.hpp +++ b/src/frontends/onnx/frontend/src/op/range.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector range(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reciprocal.cpp b/src/frontends/onnx/frontend/src/op/reciprocal.cpp index 48c57059379d41..cb698716c9ad48 100644 --- a/src/frontends/onnx/frontend/src/op/reciprocal.cpp +++ b/src/frontends/onnx/frontend/src/op/reciprocal.cpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "ngraph/op/constant.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -28,3 +29,4 @@ OutputVector reciprocal(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reciprocal.hpp b/src/frontends/onnx/frontend/src/op/reciprocal.hpp index ddbd688b124e71..ef163f711714de 100644 --- a/src/frontends/onnx/frontend/src/op/reciprocal.hpp +++ b/src/frontends/onnx/frontend/src/op/reciprocal.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector reciprocal(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reduce.cpp b/src/frontends/onnx/frontend/src/op/reduce.cpp index ab06c1d4630c36..9e70e09f4bdeb4 100644 --- a/src/frontends/onnx/frontend/src/op/reduce.cpp +++ b/src/frontends/onnx/frontend/src/op/reduce.cpp @@ -14,6 +14,7 @@ #include "op/identity.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -152,3 +153,4 @@ OutputVector reduce_sum_square(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reduce.hpp b/src/frontends/onnx/frontend/src/op/reduce.hpp index 7baade675e4994..2abd29a98db308 100644 --- a/src/frontends/onnx/frontend/src/op/reduce.hpp +++ b/src/frontends/onnx/frontend/src/op/reduce.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "onnx_import/core/node.hpp" namespace ngraph { @@ -172,3 +175,4 @@ OutputVector reduce_sum_square(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/relu.hpp b/src/frontends/onnx/frontend/src/op/relu.hpp index 76c9c49a40e458..969ee010589ccb 100644 --- a/src/frontends/onnx/frontend/src/op/relu.hpp +++ b/src/frontends/onnx/frontend/src/op/relu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector relu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reshape.cpp b/src/frontends/onnx/frontend/src/op/reshape.cpp index cd7da2a971f865..15cc07a5719f82 100644 --- a/src/frontends/onnx/frontend/src/op/reshape.cpp +++ b/src/frontends/onnx/frontend/src/op/reshape.cpp @@ -14,6 +14,7 @@ #include "ngraph/shape.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -44,3 +45,4 @@ OutputVector reshape(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reshape.hpp b/src/frontends/onnx/frontend/src/op/reshape.hpp index 540f55a4288fed..c8e39cdd5b4ffa 100644 --- a/src/frontends/onnx/frontend/src/op/reshape.hpp +++ b/src/frontends/onnx/frontend/src/op/reshape.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -27,3 +30,4 @@ OutputVector reshape(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/resize.cpp b/src/frontends/onnx/frontend/src/op/resize.cpp index aafb33365d973d..a800686fb63acf 100644 --- a/src/frontends/onnx/frontend/src/op/resize.cpp +++ b/src/frontends/onnx/frontend/src/op/resize.cpp @@ -12,6 +12,7 @@ #include "onnx_import/core/null_node.hpp" #include "utils/common.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -154,3 +155,4 @@ OutputVector resize(const onnx_import::Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/resize.hpp b/src/frontends/onnx/frontend/src/op/resize.hpp index 8e5bf553d1b867..bdc78309b4f7c1 100644 --- a/src/frontends/onnx/frontend/src/op/resize.hpp +++ b/src/frontends/onnx/frontend/src/op/resize.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -24,3 +27,4 @@ OutputVector resize(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reverse_sequence.cpp b/src/frontends/onnx/frontend/src/op/reverse_sequence.cpp index d5b0de1a14b301..8d550d680962d8 100644 --- a/src/frontends/onnx/frontend/src/op/reverse_sequence.cpp +++ b/src/frontends/onnx/frontend/src/op/reverse_sequence.cpp @@ -12,6 +12,7 @@ #include "ngraph/validation_util.hpp" #include "onnx_import/core/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -59,3 +60,4 @@ OutputVector reverse_sequence(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/reverse_sequence.hpp b/src/frontends/onnx/frontend/src/op/reverse_sequence.hpp index 533b2f0b3620c7..36944be683003f 100644 --- a/src/frontends/onnx/frontend/src/op/reverse_sequence.hpp +++ b/src/frontends/onnx/frontend/src/op/reverse_sequence.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector reverse_sequence(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/rnn.cpp b/src/frontends/onnx/frontend/src/op/rnn.cpp index d67bbe7ff2319b..b1c43a45a20193 100644 --- a/src/frontends/onnx/frontend/src/op/rnn.cpp +++ b/src/frontends/onnx/frontend/src/op/rnn.cpp @@ -10,6 +10,7 @@ #include "ngraph/builder/reshape.hpp" #include "utils/recurrent.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -55,3 +56,4 @@ OutputVector rnn(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/rnn.hpp b/src/frontends/onnx/frontend/src/op/rnn.hpp index 09fb48cc80b94a..24c15054adca5f 100644 --- a/src/frontends/onnx/frontend/src/op/rnn.hpp +++ b/src/frontends/onnx/frontend/src/op/rnn.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector rnn(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/roi_align.cpp b/src/frontends/onnx/frontend/src/op/roi_align.cpp index 6773806fe993a7..5625f7a69a8566 100644 --- a/src/frontends/onnx/frontend/src/op/roi_align.cpp +++ b/src/frontends/onnx/frontend/src/op/roi_align.cpp @@ -8,6 +8,7 @@ #include "ngraph/opsets/opset9.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -82,3 +83,4 @@ OutputVector roi_align(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/roi_align.hpp b/src/frontends/onnx/frontend/src/op/roi_align.hpp index 2e1bce69d66dcf..05367c7ed52ca1 100644 --- a/src/frontends/onnx/frontend/src/op/roi_align.hpp +++ b/src/frontends/onnx/frontend/src/op/roi_align.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector roi_align(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/round.cpp b/src/frontends/onnx/frontend/src/op/round.cpp index a71e6f4db3c65f..97eeb241ce88ed 100644 --- a/src/frontends/onnx/frontend/src/op/round.cpp +++ b/src/frontends/onnx/frontend/src/op/round.cpp @@ -11,6 +11,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -26,3 +27,4 @@ OutputVector round(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/round.hpp b/src/frontends/onnx/frontend/src/op/round.hpp index 8e4be10c3ae423..38ea015d89044e 100644 --- a/src/frontends/onnx/frontend/src/op/round.hpp +++ b/src/frontends/onnx/frontend/src/op/round.hpp @@ -7,6 +7,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector round(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scan.cpp b/src/frontends/onnx/frontend/src/op/scan.cpp index 7df3661c1e5064..36232f10f3b06f 100644 --- a/src/frontends/onnx/frontend/src/op/scan.cpp +++ b/src/frontends/onnx/frontend/src/op/scan.cpp @@ -16,6 +16,7 @@ #include "onnx_import/core/null_node.hpp" #include "openvino/core/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -185,3 +186,4 @@ OutputVector scan(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scan.hpp b/src/frontends/onnx/frontend/src/op/scan.hpp index 11d557ed47d1ff..d6919cef1bf3b7 100644 --- a/src/frontends/onnx/frontend/src/op/scan.hpp +++ b/src/frontends/onnx/frontend/src/op/scan.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -32,3 +35,4 @@ OutputVector scan(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scatter_elements.cpp b/src/frontends/onnx/frontend/src/op/scatter_elements.cpp index 3d2c9984b0ae14..7178866863e92d 100644 --- a/src/frontends/onnx/frontend/src/op/scatter_elements.cpp +++ b/src/frontends/onnx/frontend/src/op/scatter_elements.cpp @@ -10,6 +10,7 @@ #include "exceptions.hpp" #include "openvino/opsets/opset12.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -54,3 +55,4 @@ OutputVector scatter_elements(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scatter_elements.hpp b/src/frontends/onnx/frontend/src/op/scatter_elements.hpp index 47e9d26a0744ce..449a2d86fa4c2b 100644 --- a/src/frontends/onnx/frontend/src/op/scatter_elements.hpp +++ b/src/frontends/onnx/frontend/src/op/scatter_elements.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector scatter_elements(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scatter_nd.cpp b/src/frontends/onnx/frontend/src/op/scatter_nd.cpp index 15be0a0be1d3e7..8c92b704b1cfbd 100644 --- a/src/frontends/onnx/frontend/src/op/scatter_nd.cpp +++ b/src/frontends/onnx/frontend/src/op/scatter_nd.cpp @@ -12,6 +12,7 @@ #include "default_opset.hpp" #include "exceptions.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -39,3 +40,4 @@ OutputVector scatter_nd(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/scatter_nd.hpp b/src/frontends/onnx/frontend/src/op/scatter_nd.hpp index 9e1f20e63548ed..9d9c97b41f4b97 100644 --- a/src/frontends/onnx/frontend/src/op/scatter_nd.hpp +++ b/src/frontends/onnx/frontend/src/op/scatter_nd.hpp @@ -7,6 +7,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -23,3 +26,4 @@ OutputVector scatter_nd(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/selu.cpp b/src/frontends/onnx/frontend/src/op/selu.cpp index 038708bb111583..16f8bca9149cfd 100644 --- a/src/frontends/onnx/frontend/src/op/selu.cpp +++ b/src/frontends/onnx/frontend/src/op/selu.cpp @@ -11,6 +11,7 @@ #include "ngraph/op/constant.hpp" #include "op/selu.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -34,3 +35,4 @@ OutputVector selu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/selu.hpp b/src/frontends/onnx/frontend/src/op/selu.hpp index d87be8c5936ac9..7541e1ceab380b 100644 --- a/src/frontends/onnx/frontend/src/op/selu.hpp +++ b/src/frontends/onnx/frontend/src/op/selu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector selu(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/shape.cpp b/src/frontends/onnx/frontend/src/op/shape.cpp index 4ecfdc45d427a3..da16ebbf022c90 100644 --- a/src/frontends/onnx/frontend/src/op/shape.cpp +++ b/src/frontends/onnx/frontend/src/op/shape.cpp @@ -11,6 +11,7 @@ #include "ngraph/type/element_type.hpp" #include "op/shape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector shape(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/shape.hpp b/src/frontends/onnx/frontend/src/op/shape.hpp index 0e671c029c8b79..35d3f9dfdca08a 100644 --- a/src/frontends/onnx/frontend/src/op/shape.hpp +++ b/src/frontends/onnx/frontend/src/op/shape.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -18,3 +21,4 @@ OutputVector shape(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/shrink.cpp b/src/frontends/onnx/frontend/src/op/shrink.cpp index 131baa4ecf2c4e..3c46b1bc9ff2e8 100644 --- a/src/frontends/onnx/frontend/src/op/shrink.cpp +++ b/src/frontends/onnx/frontend/src/op/shrink.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "exceptions.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -65,3 +66,4 @@ OutputVector shrink(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/shrink.hpp b/src/frontends/onnx/frontend/src/op/shrink.hpp index 26589471039276..9fcdeb0f2b7a15 100644 --- a/src/frontends/onnx/frontend/src/op/shrink.hpp +++ b/src/frontends/onnx/frontend/src/op/shrink.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector shrink(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sigmoid.hpp b/src/frontends/onnx/frontend/src/op/sigmoid.hpp index c211965f7ee76f..b7b3e57d4ee50a 100644 --- a/src/frontends/onnx/frontend/src/op/sigmoid.hpp +++ b/src/frontends/onnx/frontend/src/op/sigmoid.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector sigmoid(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sign.hpp b/src/frontends/onnx/frontend/src/op/sign.hpp index 9c9ff45cac1185..7b47ac33d774fe 100644 --- a/src/frontends/onnx/frontend/src/op/sign.hpp +++ b/src/frontends/onnx/frontend/src/op/sign.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector sign(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sin.hpp b/src/frontends/onnx/frontend/src/op/sin.hpp index 5bef6d46620243..e3adcc09eab53f 100644 --- a/src/frontends/onnx/frontend/src/op/sin.hpp +++ b/src/frontends/onnx/frontend/src/op/sin.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector sin(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sinh.hpp b/src/frontends/onnx/frontend/src/op/sinh.hpp index b1aa01d1a21003..3477b9309114ec 100644 --- a/src/frontends/onnx/frontend/src/op/sinh.hpp +++ b/src/frontends/onnx/frontend/src/op/sinh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector sinh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/size.cpp b/src/frontends/onnx/frontend/src/op/size.cpp index c5ec356fe21556..979cb46cc4ec5f 100644 --- a/src/frontends/onnx/frontend/src/op/size.cpp +++ b/src/frontends/onnx/frontend/src/op/size.cpp @@ -12,6 +12,7 @@ #include "ngraph/shape.hpp" #include "ngraph/type/element_type.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -30,3 +31,4 @@ OutputVector size(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/size.hpp b/src/frontends/onnx/frontend/src/op/size.hpp index 2ae95848289b02..87c017335be1b2 100644 --- a/src/frontends/onnx/frontend/src/op/size.hpp +++ b/src/frontends/onnx/frontend/src/op/size.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector size(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/slice.cpp b/src/frontends/onnx/frontend/src/op/slice.cpp index 6c4d145c0b91e6..2fc10c29816609 100644 --- a/src/frontends/onnx/frontend/src/op/slice.cpp +++ b/src/frontends/onnx/frontend/src/op/slice.cpp @@ -11,6 +11,7 @@ #include "onnx_import/core/null_node.hpp" #include "openvino/opsets/opset8.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -69,3 +70,4 @@ OutputVector slice(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/slice.hpp b/src/frontends/onnx/frontend/src/op/slice.hpp index 2a061c291fd331..706179c12e9b13 100644 --- a/src/frontends/onnx/frontend/src/op/slice.hpp +++ b/src/frontends/onnx/frontend/src/op/slice.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector slice(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softmax.cpp b/src/frontends/onnx/frontend/src/op/softmax.cpp index 343109692079b1..df8769f7181f20 100644 --- a/src/frontends/onnx/frontend/src/op/softmax.cpp +++ b/src/frontends/onnx/frontend/src/op/softmax.cpp @@ -10,6 +10,7 @@ #include "ngraph/builder/reshape.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace { @@ -81,3 +82,4 @@ OutputVector softmax(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softmax.hpp b/src/frontends/onnx/frontend/src/op/softmax.hpp index 611be5bfacbe91..7714c3672ed130 100644 --- a/src/frontends/onnx/frontend/src/op/softmax.hpp +++ b/src/frontends/onnx/frontend/src/op/softmax.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -29,3 +32,4 @@ OutputVector softmax(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softplus.cpp b/src/frontends/onnx/frontend/src/op/softplus.cpp index 981ba54534d3cb..770565a83c4dbb 100644 --- a/src/frontends/onnx/frontend/src/op/softplus.cpp +++ b/src/frontends/onnx/frontend/src/op/softplus.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "ngraph/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector softplus(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softplus.hpp b/src/frontends/onnx/frontend/src/op/softplus.hpp index 46f2703b80f1f0..f2eac6977df4bf 100644 --- a/src/frontends/onnx/frontend/src/op/softplus.hpp +++ b/src/frontends/onnx/frontend/src/op/softplus.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector softplus(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softsign.cpp b/src/frontends/onnx/frontend/src/op/softsign.cpp index 6de478f5b64713..6ddee06bfe936b 100644 --- a/src/frontends/onnx/frontend/src/op/softsign.cpp +++ b/src/frontends/onnx/frontend/src/op/softsign.cpp @@ -11,6 +11,7 @@ #include "ngraph/opsets/opset9.hpp" #include "ngraph/shape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -22,3 +23,4 @@ OutputVector softsign(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/softsign.hpp b/src/frontends/onnx/frontend/src/op/softsign.hpp index ef72f08ebfd88b..e62f39eb12e011 100644 --- a/src/frontends/onnx/frontend/src/op/softsign.hpp +++ b/src/frontends/onnx/frontend/src/op/softsign.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -17,3 +20,4 @@ OutputVector softsign(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/space_to_depth.cpp b/src/frontends/onnx/frontend/src/op/space_to_depth.cpp index d804747806f152..9281be45dacd6f 100644 --- a/src/frontends/onnx/frontend/src/op/space_to_depth.cpp +++ b/src/frontends/onnx/frontend/src/op/space_to_depth.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector space_to_depth(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/space_to_depth.hpp b/src/frontends/onnx/frontend/src/op/space_to_depth.hpp index 9635f01f067b53..f8aeccaad5994b 100644 --- a/src/frontends/onnx/frontend/src/op/space_to_depth.hpp +++ b/src/frontends/onnx/frontend/src/op/space_to_depth.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector space_to_depth(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/split.cpp b/src/frontends/onnx/frontend/src/op/split.cpp index df567ab59d1a8e..8da89e4f06fe42 100644 --- a/src/frontends/onnx/frontend/src/op/split.cpp +++ b/src/frontends/onnx/frontend/src/op/split.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "op/split.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -48,3 +49,4 @@ OutputVector split(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/split.hpp b/src/frontends/onnx/frontend/src/op/split.hpp index ace43e4ec72dd7..1aac31456b87ac 100644 --- a/src/frontends/onnx/frontend/src/op/split.hpp +++ b/src/frontends/onnx/frontend/src/op/split.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector split(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sqrt.hpp b/src/frontends/onnx/frontend/src/op/sqrt.hpp index 407d2a1975e605..f686119dec0f05 100644 --- a/src/frontends/onnx/frontend/src/op/sqrt.hpp +++ b/src/frontends/onnx/frontend/src/op/sqrt.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector sqrt(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/squeeze.cpp b/src/frontends/onnx/frontend/src/op/squeeze.cpp index bde9b468b7614e..8bfc2035cb2315 100644 --- a/src/frontends/onnx/frontend/src/op/squeeze.cpp +++ b/src/frontends/onnx/frontend/src/op/squeeze.cpp @@ -8,6 +8,7 @@ #include "ngraph/op/constant.hpp" #include "op/squeeze.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -40,3 +41,4 @@ OutputVector squeeze(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/squeeze.hpp b/src/frontends/onnx/frontend/src/op/squeeze.hpp index 409eec2fa21dd0..45739ecb5b0e37 100644 --- a/src/frontends/onnx/frontend/src/op/squeeze.hpp +++ b/src/frontends/onnx/frontend/src/op/squeeze.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -25,3 +28,4 @@ OutputVector squeeze(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/stft.cpp b/src/frontends/onnx/frontend/src/op/stft.cpp index bf4d0b17185e8b..0df74f2673d1b5 100644 --- a/src/frontends/onnx/frontend/src/op/stft.cpp +++ b/src/frontends/onnx/frontend/src/op/stft.cpp @@ -11,6 +11,7 @@ #include "utils/common.hpp" #include "utils/dft.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -123,3 +124,4 @@ OutputVector stft(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/stft.hpp b/src/frontends/onnx/frontend/src/op/stft.hpp index c288c99419e5de..9c46b29537679b 100644 --- a/src/frontends/onnx/frontend/src/op/stft.hpp +++ b/src/frontends/onnx/frontend/src/op/stft.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector stft(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sub.hpp b/src/frontends/onnx/frontend/src/op/sub.hpp index 9257ea6b785b3c..0e0ac4e2b73077 100644 --- a/src/frontends/onnx/frontend/src/op/sub.hpp +++ b/src/frontends/onnx/frontend/src/op/sub.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/builder/autobroadcast.hpp" #include "ngraph/node.hpp" @@ -31,3 +34,4 @@ inline OutputVector sub(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/sum.hpp b/src/frontends/onnx/frontend/src/op/sum.hpp index 047c308f4c692d..ed9ec9e2a2efee 100644 --- a/src/frontends/onnx/frontend/src/op/sum.hpp +++ b/src/frontends/onnx/frontend/src/op/sum.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -31,3 +34,4 @@ inline OutputVector sum(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/tan.hpp b/src/frontends/onnx/frontend/src/op/tan.hpp index bcc881f3f3b5aa..f2104f7301edb5 100644 --- a/src/frontends/onnx/frontend/src/op/tan.hpp +++ b/src/frontends/onnx/frontend/src/op/tan.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -24,3 +27,4 @@ inline OutputVector tan(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/tanh.hpp b/src/frontends/onnx/frontend/src/op/tanh.hpp index 8bb5c1ea549bac..c1f0c04c466c5e 100644 --- a/src/frontends/onnx/frontend/src/op/tanh.hpp +++ b/src/frontends/onnx/frontend/src/op/tanh.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -25,3 +28,4 @@ inline OutputVector tanh(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/thresholded_relu.cpp b/src/frontends/onnx/frontend/src/op/thresholded_relu.cpp index 5d508484a3961a..92c1a68e00f290 100644 --- a/src/frontends/onnx/frontend/src/op/thresholded_relu.cpp +++ b/src/frontends/onnx/frontend/src/op/thresholded_relu.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -33,3 +34,4 @@ OutputVector thresholded_relu(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/thresholded_relu.hpp b/src/frontends/onnx/frontend/src/op/thresholded_relu.hpp index 7d507db6450791..f92aad3a549b39 100644 --- a/src/frontends/onnx/frontend/src/op/thresholded_relu.hpp +++ b/src/frontends/onnx/frontend/src/op/thresholded_relu.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector thresholded_relu(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/tile.cpp b/src/frontends/onnx/frontend/src/op/tile.cpp index b608ed9d932262..2ba47734d3d32b 100644 --- a/src/frontends/onnx/frontend/src/op/tile.cpp +++ b/src/frontends/onnx/frontend/src/op/tile.cpp @@ -9,6 +9,7 @@ #include "default_opset.hpp" #include "onnx_import/core/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -31,3 +32,4 @@ OutputVector tile(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/tile.hpp b/src/frontends/onnx/frontend/src/op/tile.hpp index aaf7a07e0f6e98..5a4c465d803b32 100644 --- a/src/frontends/onnx/frontend/src/op/tile.hpp +++ b/src/frontends/onnx/frontend/src/op/tile.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -24,3 +27,4 @@ OutputVector tile(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/topk.cpp b/src/frontends/onnx/frontend/src/op/topk.cpp index df884eaa54c0a9..62999492ee7bbc 100644 --- a/src/frontends/onnx/frontend/src/op/topk.cpp +++ b/src/frontends/onnx/frontend/src/op/topk.cpp @@ -16,6 +16,7 @@ #include "op/topk.hpp" #include "utils/reshape.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace { /// \return Return the second input to the TopK node reshaped to a scalar. ngraph::Output get_k(const ngraph::onnx_import::Node& node) { @@ -96,3 +97,4 @@ OutputVector topk(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/topk.hpp b/src/frontends/onnx/frontend/src/op/topk.hpp index 5d789039c28c15..6a6623872f8ce5 100644 --- a/src/frontends/onnx/frontend/src/op/topk.hpp +++ b/src/frontends/onnx/frontend/src/op/topk.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -39,3 +42,4 @@ OutputVector topk(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/transpose.cpp b/src/frontends/onnx/frontend/src/op/transpose.cpp index bc8590e20bf773..74272483f7e8d9 100644 --- a/src/frontends/onnx/frontend/src/op/transpose.cpp +++ b/src/frontends/onnx/frontend/src/op/transpose.cpp @@ -10,6 +10,7 @@ #include "ngraph/builder/reshape.hpp" #include "ngraph/node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -30,3 +31,4 @@ OutputVector transpose(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/transpose.hpp b/src/frontends/onnx/frontend/src/op/transpose.hpp index 52e1900c954a37..11ea7f23483355 100644 --- a/src/frontends/onnx/frontend/src/op/transpose.hpp +++ b/src/frontends/onnx/frontend/src/op/transpose.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -20,3 +23,4 @@ OutputVector transpose(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/trilu.cpp b/src/frontends/onnx/frontend/src/op/trilu.cpp index 0ba900d862cff8..30952fdff60e35 100644 --- a/src/frontends/onnx/frontend/src/op/trilu.cpp +++ b/src/frontends/onnx/frontend/src/op/trilu.cpp @@ -8,6 +8,7 @@ #include "exceptions.hpp" #include "onnx_import/core/null_node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -102,3 +103,4 @@ OutputVector trilu(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/trilu.hpp b/src/frontends/onnx/frontend/src/op/trilu.hpp index e00c2d835ef665..37d3b2696bae54 100644 --- a/src/frontends/onnx/frontend/src/op/trilu.hpp +++ b/src/frontends/onnx/frontend/src/op/trilu.hpp @@ -1,6 +1,10 @@ // Copyright (C) 2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // +#pragma once +#include "openvino/core/deprecated.hpp" + +OPENVINO_SUPPRESS_DEPRECATED_START #include "onnx_import/core/node.hpp" @@ -13,3 +17,4 @@ OutputVector trilu(const Node& node); } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/unique.cpp b/src/frontends/onnx/frontend/src/op/unique.cpp index 86f8c5cd00c44a..68739b70544c7d 100644 --- a/src/frontends/onnx/frontend/src/op/unique.cpp +++ b/src/frontends/onnx/frontend/src/op/unique.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -25,3 +26,4 @@ OutputVector unique(const Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/unique.hpp b/src/frontends/onnx/frontend/src/op/unique.hpp index 74ac386a022915..3dd1386c35ea2f 100644 --- a/src/frontends/onnx/frontend/src/op/unique.hpp +++ b/src/frontends/onnx/frontend/src/op/unique.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -19,3 +22,4 @@ OutputVector unique(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/unsqueeze.cpp b/src/frontends/onnx/frontend/src/op/unsqueeze.cpp index ce0ae3b87d8722..773e7225e7a506 100644 --- a/src/frontends/onnx/frontend/src/op/unsqueeze.cpp +++ b/src/frontends/onnx/frontend/src/op/unsqueeze.cpp @@ -11,6 +11,7 @@ #include "ngraph/shape.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -35,3 +36,4 @@ OutputVector unsqueeze(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/unsqueeze.hpp b/src/frontends/onnx/frontend/src/op/unsqueeze.hpp index af82074605b358..196e8c96e4d510 100644 --- a/src/frontends/onnx/frontend/src/op/unsqueeze.hpp +++ b/src/frontends/onnx/frontend/src/op/unsqueeze.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -24,3 +27,4 @@ OutputVector unsqueeze(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/upsample.cpp b/src/frontends/onnx/frontend/src/op/upsample.cpp index 2da7bd407c7b9a..7f319fe876e0e8 100644 --- a/src/frontends/onnx/frontend/src/op/upsample.cpp +++ b/src/frontends/onnx/frontend/src/op/upsample.cpp @@ -10,6 +10,7 @@ #include "exceptions.hpp" #include "ngraph/op/util/op_types.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace op { @@ -115,3 +116,4 @@ OutputVector upsample(const onnx_import::Node& node) { } // namespace op } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/upsample.hpp b/src/frontends/onnx/frontend/src/op/upsample.hpp index efc1cd7478dc88..e65695beacbbaa 100644 --- a/src/frontends/onnx/frontend/src/op/upsample.hpp +++ b/src/frontends/onnx/frontend/src/op/upsample.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -30,3 +33,4 @@ OutputVector upsample(const Node& node); } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/where.hpp b/src/frontends/onnx/frontend/src/op/where.hpp index 21a9c58e19941e..48aac1c65105b4 100644 --- a/src/frontends/onnx/frontend/src/op/where.hpp +++ b/src/frontends/onnx/frontend/src/op/where.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include #include "default_opset.hpp" @@ -26,3 +29,4 @@ inline OutputVector where(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/op/xor.hpp b/src/frontends/onnx/frontend/src/op/xor.hpp index 29f665fcab62d4..16218e831fb5e5 100644 --- a/src/frontends/onnx/frontend/src/op/xor.hpp +++ b/src/frontends/onnx/frontend/src/op/xor.hpp @@ -4,6 +4,9 @@ #pragma once +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" @@ -26,3 +29,4 @@ inline OutputVector logical_xor(const Node& node) { } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.cpp b/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.cpp index 396c6eab556f2f..a010f5aa149801 100644 --- a/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.cpp +++ b/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.cpp @@ -11,11 +11,13 @@ namespace ngraph { namespace onnx_import { namespace utils { +OPENVINO_SUPPRESS_DEPRECATED_START ArgMinMaxFactory::ArgMinMaxFactory(const Node& node) : m_keep_dims{node.get_attribute_value("keepdims", 1)}, m_input_node{node.get_ng_inputs().at(0)}, m_axis{node.get_attribute_value("axis", 0)}, m_select_last_index{node.get_attribute_value("select_last_index", 0)} {} +OPENVINO_SUPPRESS_DEPRECATED_END std::shared_ptr ArgMinMaxFactory::make_arg_max() const { return make_topk_subgraph(default_opset::TopK::Mode::MAX); diff --git a/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.hpp b/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.hpp index 97b053268cf07d..f8f012e3611d8c 100644 --- a/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.hpp +++ b/src/frontends/onnx/frontend/src/utils/arg_min_max_factory.hpp @@ -10,6 +10,7 @@ #include "default_opset.hpp" #include "ngraph/node.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" namespace ngraph { namespace onnx_import { @@ -17,7 +18,9 @@ namespace utils { /// \brief Factory class which generates sub-graphs for ONNX ArgMin, ArgMax ops. class ArgMinMaxFactory { public: + OPENVINO_SUPPRESS_DEPRECATED_START explicit ArgMinMaxFactory(const Node& node); + OPENVINO_SUPPRESS_DEPRECATED_END virtual ~ArgMinMaxFactory() = default; /// \brief Creates ArgMax ONNX operation. diff --git a/src/frontends/onnx/frontend/src/utils/common.cpp b/src/frontends/onnx/frontend/src/utils/common.cpp index 811a7b2e3f70a2..4f23ab6746278c 100644 --- a/src/frontends/onnx/frontend/src/utils/common.cpp +++ b/src/frontends/onnx/frontend/src/utils/common.cpp @@ -9,7 +9,9 @@ #include "default_opset.hpp" #include "ngraph/graph_util.hpp" #include "onnx_framework_node.hpp" +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace common { @@ -183,3 +185,4 @@ std::string collect_translation_exceptions(const std::shared_ptr& par } // namespace common } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/utils/common.hpp b/src/frontends/onnx/frontend/src/utils/common.hpp index bc2636b17babd8..0c56a0bffaf090 100644 --- a/src/frontends/onnx/frontend/src/utils/common.hpp +++ b/src/frontends/onnx/frontend/src/utils/common.hpp @@ -18,6 +18,7 @@ #include "ngraph/shape.hpp" #include "ngraph/type/element_type.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" namespace ngraph { namespace onnx_import { @@ -130,8 +131,10 @@ std::unique_ptr make_unique(Args&&... args) { /// \param node ONNX node /// /// \return OutputVector with binary op +OPENVINO_SUPPRESS_DEPRECATED_START template OutputVector handle_opset6_binary_op(const Node& node); +OPENVINO_SUPPRESS_DEPRECATED_END /// \brief Creates a "dummy" constant to be used in place of an invalid initializer /// encountered in the original model. diff --git a/src/frontends/onnx/frontend/src/utils/convpool.cpp b/src/frontends/onnx/frontend/src/utils/convpool.cpp index 5aecbe8a73ce20..25f1364b9abf60 100644 --- a/src/frontends/onnx/frontend/src/utils/convpool.cpp +++ b/src/frontends/onnx/frontend/src/utils/convpool.cpp @@ -12,6 +12,8 @@ #include "ngraph/strides.hpp" #include "ngraph/validation_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + namespace ngraph { namespace onnx_import { namespace convpool { @@ -168,3 +170,5 @@ Output get_reshaped_filters(const Output& filters, i } // namespace convpool } // namespace onnx_import } // namespace ngraph + +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/utils/convpool.hpp b/src/frontends/onnx/frontend/src/utils/convpool.hpp index 5ee42c9825cf8b..e5523dc9b6ea7e 100644 --- a/src/frontends/onnx/frontend/src/utils/convpool.hpp +++ b/src/frontends/onnx/frontend/src/utils/convpool.hpp @@ -8,7 +8,9 @@ #include "ngraph/shape.hpp" #include "ngraph/strides.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace convpool { @@ -110,3 +112,4 @@ Output get_reshaped_filters(const Output& filters, i } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/utils/dft.cpp b/src/frontends/onnx/frontend/src/utils/dft.cpp index d025516d15e57e..904b0c5d506972 100644 --- a/src/frontends/onnx/frontend/src/utils/dft.cpp +++ b/src/frontends/onnx/frontend/src/utils/dft.cpp @@ -6,6 +6,7 @@ #include "default_opset.hpp" #include "onnx_import/core/null_node.hpp" +#include "openvino/core/deprecated.hpp" using namespace ngraph::onnx_import; @@ -46,7 +47,9 @@ ov::Output make_dft(const ov::Output& signal, if (is_inversed || !is_onesided) { // skip for RDFT case conversion_to_complex_applied = try_convert_real_to_complex(processed_signal); } + OPENVINO_SUPPRESS_DEPRECATED_START bool dft_length_provided = !ngraph::op::is_null(length); + OPENVINO_SUPPRESS_DEPRECATED_END ov::Output result; if (is_inversed) { diff --git a/src/frontends/onnx/frontend/src/utils/onnx_internal.cpp b/src/frontends/onnx/frontend/src/utils/onnx_internal.cpp index e812d02c236240..7f4bb79aaac2f9 100644 --- a/src/frontends/onnx/frontend/src/utils/onnx_internal.cpp +++ b/src/frontends/onnx/frontend/src/utils/onnx_internal.cpp @@ -37,6 +37,7 @@ void remove_dangling_parameters(std::shared_ptr& function) { } } +OPENVINO_SUPPRESS_DEPRECATED_START void remove_dangling_results(std::shared_ptr& function) { const auto results = function->get_results(); for (auto result : results) { @@ -52,6 +53,7 @@ void remove_dangling_results(std::shared_ptr& function) { } } } +OPENVINO_SUPPRESS_DEPRECATED_END void apply_transformations(ONNX_NAMESPACE::ModelProto& model_proto) { transform::fixup_legacy_operators(model_proto); diff --git a/src/frontends/onnx/frontend/src/utils/pooling_factory.cpp b/src/frontends/onnx/frontend/src/utils/pooling_factory.cpp index 7053f30a76696b..6db39f4e55be45 100644 --- a/src/frontends/onnx/frontend/src/utils/pooling_factory.cpp +++ b/src/frontends/onnx/frontend/src/utils/pooling_factory.cpp @@ -30,6 +30,7 @@ std::shared_ptr transposition_axis_order(const Rank& in } } // namespace +OPENVINO_SUPPRESS_DEPRECATED_START PoolingFactory::PoolingFactory(const Node& node) : m_onnx_node{node}, m_inputs{node.get_ng_inputs()}, @@ -57,6 +58,7 @@ OutputVector PoolingFactory::make_avg_pool() const { m_rounding_type, m_auto_pad)}; } +OPENVINO_SUPPRESS_DEPRECATED_END OutputVector PoolingFactory::make_max_pool() const { return {std::make_shared(m_inputs.at(0), diff --git a/src/frontends/onnx/frontend/src/utils/pooling_factory.hpp b/src/frontends/onnx/frontend/src/utils/pooling_factory.hpp index 58cd710cfcf5cb..c582257b8de501 100644 --- a/src/frontends/onnx/frontend/src/utils/pooling_factory.hpp +++ b/src/frontends/onnx/frontend/src/utils/pooling_factory.hpp @@ -15,6 +15,7 @@ #include "ngraph/shape.hpp" #include "ngraph/strides.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" namespace ngraph { namespace onnx_import { @@ -31,7 +32,9 @@ namespace pooling { /// paddings, kernel shape and auto_pad type. class PoolingFactory { public: + OPENVINO_SUPPRESS_DEPRECATED_START explicit PoolingFactory(const Node& node); + OPENVINO_SUPPRESS_DEPRECATED_END virtual ~PoolingFactory() = default; /// @@ -50,7 +53,9 @@ class PoolingFactory { OutputVector make_max_pool_with_indices() const; protected: + OPENVINO_SUPPRESS_DEPRECATED_START Node m_onnx_node; + OPENVINO_SUPPRESS_DEPRECATED_END const OutputVector m_inputs; Shape m_kernel_shape; Strides m_strides; diff --git a/src/frontends/onnx/frontend/src/utils/recurrent.cpp b/src/frontends/onnx/frontend/src/utils/recurrent.cpp index cb0fc1e784b9a8..14a414dfa2aee6 100644 --- a/src/frontends/onnx/frontend/src/utils/recurrent.cpp +++ b/src/frontends/onnx/frontend/src/utils/recurrent.cpp @@ -16,6 +16,7 @@ #include "ngraph/enum_names.hpp" #include "onnx_import/core/null_node.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START namespace ngraph { namespace onnx_import { namespace recurrent { @@ -119,3 +120,4 @@ OpAttributes::OpAttributes(const Node& node) } // namespace recurrent } // namespace onnx_import } // namespace ngraph +OPENVINO_SUPPRESS_DEPRECATED_END diff --git a/src/frontends/onnx/frontend/src/utils/recurrent.hpp b/src/frontends/onnx/frontend/src/utils/recurrent.hpp index f8c36a3c8f6254..02e04a78177b2c 100644 --- a/src/frontends/onnx/frontend/src/utils/recurrent.hpp +++ b/src/frontends/onnx/frontend/src/utils/recurrent.hpp @@ -11,6 +11,7 @@ #include "ngraph/node.hpp" #include "ngraph/op/util/attr_types.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" namespace ngraph { namespace onnx_import { @@ -40,7 +41,9 @@ enum class OpInput { struct OpInputMap { using container_type = std::map>; + OPENVINO_SUPPRESS_DEPRECATED_START explicit OpInputMap(const onnx_import::Node& node, std::size_t gates_count); + OPENVINO_SUPPRESS_DEPRECATED_END OpInputMap(container_type&& map); virtual ~OpInputMap() = default; @@ -56,7 +59,9 @@ struct OpInputMap { /// \brief This structure aggregates operator's attributes. /// struct OpAttributes { + OPENVINO_SUPPRESS_DEPRECATED_START explicit OpAttributes(const Node& node); + OPENVINO_SUPPRESS_DEPRECATED_END virtual ~OpAttributes() = default; ngraph::op::RecurrentSequenceDirection m_direction; diff --git a/src/frontends/onnx/frontend/src/utils/variadic.hpp b/src/frontends/onnx/frontend/src/utils/variadic.hpp index 680cc4bab1b19a..fe48ea92b34938 100644 --- a/src/frontends/onnx/frontend/src/utils/variadic.hpp +++ b/src/frontends/onnx/frontend/src/utils/variadic.hpp @@ -11,6 +11,7 @@ #include "ngraph/op/add.hpp" #include "ngraph/shape.hpp" #include "onnx_import/core/node.hpp" +#include "openvino/core/deprecated.hpp" #include "utils/common.hpp" namespace ngraph { @@ -24,6 +25,7 @@ namespace variadic { /// \tparam T Class of an nGraph binary operation (e.g. Add, Minimum, Maximum) /// /// \return nGraph node equivalent of the ONNX operation +OPENVINO_SUPPRESS_DEPRECATED_START template inline OutputVector make_ng_variadic_op( const Node& node, @@ -48,6 +50,7 @@ inline OutputVector make_ng_variadic_op( return {result}; } +OPENVINO_SUPPRESS_DEPRECATED_END } // namespace variadic diff --git a/src/frontends/onnx/tests/onnx_import.in.cpp b/src/frontends/onnx/tests/onnx_import.in.cpp index 5466a8afb564d3..2b7f0eb43390bc 100644 --- a/src/frontends/onnx/tests/onnx_import.in.cpp +++ b/src/frontends/onnx/tests/onnx_import.in.cpp @@ -43,7 +43,7 @@ #include "common_test_utils/test_tools.hpp" #include "common_test_utils/type_prop.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_import_com_microsoft.in.cpp b/src/frontends/onnx/tests/onnx_import_com_microsoft.in.cpp index 16580d4a41adf1..8107e2c6511224 100644 --- a/src/frontends/onnx/tests/onnx_import_com_microsoft.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_com_microsoft.in.cpp @@ -20,7 +20,7 @@ #include "onnx_import/onnx.hpp" #include "common_test_utils/test_control.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_import_const_folding.in.cpp b/src/frontends/onnx/tests/onnx_import_const_folding.in.cpp index ad3167da45e428..70d1548995b008 100644 --- a/src/frontends/onnx/tests/onnx_import_const_folding.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_const_folding.in.cpp @@ -16,7 +16,7 @@ #include "ngraph/pass/manager.hpp" #include "onnx_import/onnx.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; using namespace ngraph::onnx_import; diff --git a/src/frontends/onnx/tests/onnx_import_deprecated.in.cpp b/src/frontends/onnx/tests/onnx_import_deprecated.in.cpp index 2d411918047718..57a2db96b17f7f 100644 --- a/src/frontends/onnx/tests/onnx_import_deprecated.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_deprecated.in.cpp @@ -26,6 +26,7 @@ #include "onnx_import/onnx.hpp" using namespace ngraph; + OPENVINO_SUPPRESS_DEPRECATED_START static std::string s_manifest = "${MANIFEST}"; diff --git a/src/frontends/onnx/tests/onnx_import_dyn_shapes.in.cpp b/src/frontends/onnx/tests/onnx_import_dyn_shapes.in.cpp index f3ac232e91ac26..8a4c6bd4fdeb76 100644 --- a/src/frontends/onnx/tests/onnx_import_dyn_shapes.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_dyn_shapes.in.cpp @@ -29,6 +29,7 @@ using namespace ngraph; using namespace ngraph::onnx_import; using namespace ngraph::test; + OPENVINO_SUPPRESS_DEPRECATED_START static std::string s_manifest = "${MANIFEST}"; diff --git a/src/frontends/onnx/tests/onnx_import_exceptions.cpp b/src/frontends/onnx/tests/onnx_import_exceptions.cpp index 7d29a5a8a0b971..1dff9f29582bdd 100644 --- a/src/frontends/onnx/tests/onnx_import_exceptions.cpp +++ b/src/frontends/onnx/tests/onnx_import_exceptions.cpp @@ -12,7 +12,7 @@ #include "ngraph/ngraph.hpp" #include "onnx_import/onnx.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_import_org_openvino.in.cpp b/src/frontends/onnx/tests/onnx_import_org_openvino.in.cpp index 1411efbeb876d1..e3c2288f8e059c 100644 --- a/src/frontends/onnx/tests/onnx_import_org_openvino.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_org_openvino.in.cpp @@ -40,7 +40,7 @@ #include "common_test_utils/test_tools.hpp" #include "common_test_utils/type_prop.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_import_org_pytorch.in.cpp b/src/frontends/onnx/tests/onnx_import_org_pytorch.in.cpp index 6fc283de4b1f29..2e2802e5d3de36 100644 --- a/src/frontends/onnx/tests/onnx_import_org_pytorch.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_org_pytorch.in.cpp @@ -20,7 +20,7 @@ #include "onnx_import/onnx.hpp" #include "common_test_utils/test_control.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_import_signal.in.cpp b/src/frontends/onnx/tests/onnx_import_signal.in.cpp index d4def5b401a6c5..a7ee8da25f58e0 100644 --- a/src/frontends/onnx/tests/onnx_import_signal.in.cpp +++ b/src/frontends/onnx/tests/onnx_import_signal.in.cpp @@ -20,7 +20,7 @@ #include "onnx_import/onnx.hpp" #include "common_test_utils/test_control.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph; diff --git a/src/frontends/onnx/tests/onnx_importer_test.cpp b/src/frontends/onnx/tests/onnx_importer_test.cpp index 462eca4fa0360b..305422447fa4dd 100644 --- a/src/frontends/onnx/tests/onnx_importer_test.cpp +++ b/src/frontends/onnx/tests/onnx_importer_test.cpp @@ -13,6 +13,8 @@ #include "openvino/openvino.hpp" #include "openvino/util/file_util.hpp" +OPENVINO_SUPPRESS_DEPRECATED_START + TEST(ONNX_Importer_Tests, ImportBasicModel) { auto model_file_path = CommonTestUtils::getModelFromTestModelZoo(ov::util::path_join({ONNX_MODELS_DIR, "add_abc_initializers.onnx"})); diff --git a/src/frontends/onnx/tests/onnx_tensor_names.cpp b/src/frontends/onnx/tests/onnx_tensor_names.cpp index c683e4c6ae2f9b..11bca13e9b549e 100644 --- a/src/frontends/onnx/tests/onnx_tensor_names.cpp +++ b/src/frontends/onnx/tests/onnx_tensor_names.cpp @@ -10,7 +10,7 @@ #include "onnx_import/onnx.hpp" #include "onnx_import/onnx_utils.hpp" -NGRAPH_SUPPRESS_DEPRECATED_START +OPENVINO_SUPPRESS_DEPRECATED_START using namespace ngraph;