[Remove APIs] remove api set_data_shape (#15805)
Signed-off-by: Zhai, Xuejun <xuejun.zhai@intel.com>
This commit is contained in:
parent
b7bcef6864
commit
749ff8c93f
@ -225,13 +225,6 @@ public:
|
||||
/// Repeated values are allowed.
|
||||
AxisSet get_axis_set_val() const;
|
||||
|
||||
/// \brief Update Constant shape. New shape size must equal to the data elements
|
||||
/// count
|
||||
///
|
||||
/// \param shape The shape of the tensor constant.
|
||||
OPENVINO_DEPRECATED("Use Constant c-tor with shape argument instead")
|
||||
void set_data_shape(const Shape& shape);
|
||||
|
||||
/// \brief Return data size in bytes
|
||||
size_t get_byte_size() const {
|
||||
return m_data->size();
|
||||
|
@ -465,11 +465,6 @@ ov::AxisSet ov::op::v0::Constant::get_axis_set_val() const {
|
||||
return output_axis_set;
|
||||
}
|
||||
|
||||
void ov::op::v0::Constant::set_data_shape(const ov::Shape& shape) {
|
||||
NGRAPH_CHECK(shape_size(shape) == shape_size(m_shape));
|
||||
m_shape = shape;
|
||||
}
|
||||
|
||||
shared_ptr<ov::Node> ov::op::v0::Constant::clone_with_new_inputs(const OutputVector& new_args) const {
|
||||
OV_OP_SCOPE(v0_Constant_clone_with_new_inputs);
|
||||
check_new_args_count(this, new_args);
|
||||
|
Loading…
Reference in New Issue
Block a user