X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ngraph%2Fcore%2Finclude%2Fngraph%2Fop%2Fselect.hpp;h=06b9bfbfe2b284f09801e1533bb2b2153d6e9714;hb=d25bb6314a10cd8fc3c49ea3745f4801dd2eae95;hp=1faf15b2316f2b1c5daee626f78be4359f945175;hpb=802d605bff9b548a4bd282f939a904705dc7c262;p=platform%2Fupstream%2Fdldt.git diff --git a/ngraph/core/include/ngraph/op/select.hpp b/ngraph/core/include/ngraph/op/select.hpp index 1faf15b..06b9bfb 100644 --- a/ngraph/core/include/ngraph/op/select.hpp +++ b/ngraph/core/include/ngraph/op/select.hpp @@ -41,8 +41,11 @@ namespace ngraph /// | ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | /// | \f$E[d_1,\dots,d_n]\f$ | The tensor \f$T\f$, where \f$T[i_1,\dots,i_n] = \texttt{arg1}[i_1,\dots,i_n]\text{ if }\texttt{arg0}[i_1,\dots,i_n] \neq 0\text{, else }\texttt{arg2}[i_1,\dots,i_n]\f$ | // clang-format on - class NGRAPH_API Select : public Op + class NGRAPH_DEPRECATED( + "This operation is deprecated and will be removed soon. " + "Use v1::Select instead of it.") NGRAPH_API Select : public Op { + NGRAPH_SUPPRESS_DEPRECATED_START public: static constexpr NodeTypeInfo type_info{"Select", 0}; const NodeTypeInfo& get_type_info() const override { return type_info; } @@ -60,6 +63,7 @@ namespace ngraph virtual std::shared_ptr clone_with_new_inputs(const OutputVector& new_args) const override; void validate_and_infer_types() override; + NGRAPH_SUPPRESS_DEPRECATED_END }; } @@ -122,6 +126,8 @@ namespace ngraph AutoBroadcastSpec m_auto_broadcast; }; } + NGRAPH_SUPPRESS_DEPRECATED_START using v0::Select; + NGRAPH_SUPPRESS_DEPRECATED_END } }