namespace v0
{
/// \brief Splits the input tensor into a list of smaller tensors ("pieces")
- class NGRAPH_API Split : public ngraph::op::util::FusedOp
+ class NGRAPH_DEPRECATED(
+ "This operation is deprecated and will be removed soon. "
+ "Use v1::Split instead of it.") NGRAPH_API Split : public ngraph::op::util::FusedOp
{
+ NGRAPH_SUPPRESS_DEPRECATED_START
public:
static constexpr NodeTypeInfo type_info{"Split", 0};
const NodeTypeInfo& get_type_info() const override { return type_info; }
size_t m_num_split;
/// contains lengths of chunks that the input tensor will be split into
std::vector<size_t> m_splits;
+ NGRAPH_SUPPRESS_DEPRECATED_END
};
}
};
}
+ NGRAPH_SUPPRESS_DEPRECATED_START
using v0::Split;
+ NGRAPH_SUPPRESS_DEPRECATED_END
}
}