Deprecate nGraph v0 ops and builders (#1856)
[platform/upstream/dldt.git] / ngraph / core / include / ngraph / op / gather_nd.hpp
index f905af0..adc9dea 100644 (file)
@@ -25,8 +25,11 @@ namespace ngraph
         namespace v0
         {
             /// \brief Gather slices from params with shapes given by indices
-            class NGRAPH_API GatherND : public Op
+            class NGRAPH_DEPRECATED(
+                "This operation is deprecated and will be removed soon. Please do not use it.")
+                NGRAPH_API GatherND : public Op
             {
+                NGRAPH_SUPPRESS_DEPRECATED_START
             public:
                 static constexpr NodeTypeInfo type_info{"GatherND", 0};
                 const NodeTypeInfo& get_type_info() const override { return type_info; }
@@ -42,8 +45,11 @@ namespace ngraph
                 void validate_and_infer_types() override;
                 virtual std::shared_ptr<Node>
                     clone_with_new_inputs(const OutputVector& new_args) const override;
+                NGRAPH_SUPPRESS_DEPRECATED_END
             };
         }
+        NGRAPH_SUPPRESS_DEPRECATED_START
         using v0::GatherND;
+        NGRAPH_SUPPRESS_DEPRECATED_END
     }
 }