Deprecate nGraph v0 ops and builders (#1856)
[platform/upstream/dldt.git] / ngraph / core / include / ngraph / op / dequantize.hpp
index 3f3040b..32e24ee 100644 (file)
@@ -30,8 +30,11 @@ namespace ngraph
             ///        Maps quantized input (q) to real output (r) using scale (s) and zero point
             ///        (z):
             ///        r = (q - o) * s
-            class NGRAPH_API Dequantize : public ngraph::op::Op
+            class NGRAPH_DEPRECATED(
+                "This operation is deprecated and will be removed soon. Please do not use it.")
+                NGRAPH_API Dequantize : public ngraph::op::Op
             {
+                NGRAPH_SUPPRESS_DEPRECATED_START
             public:
                 static constexpr NodeTypeInfo type_info{"Dequantize", 0};
                 const NodeTypeInfo& get_type_info() const override { return type_info; }
@@ -62,8 +65,11 @@ namespace ngraph
             private:
                 element::Type m_type;
                 AxisSet m_axes;
+                NGRAPH_SUPPRESS_DEPRECATED_END
             };
         }
+        NGRAPH_SUPPRESS_DEPRECATED_START
         using v0::Dequantize;
+        NGRAPH_SUPPRESS_DEPRECATED_END
     }
 }