Class TensorListReserve
Defined in File tensor_list_reserve.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class TensorListReserve : public mindspore::ops::BaseOperator
TensorListReserve defined TensorListReserve operator prototype of lite.
Public Functions
-
inline TensorListReserve()
Constructor.
-
void Init(const int64_t element_dtype, const int64_t shape_type)
Method to init the op’s attributes.
- Parameters
element_dtype – [in] Define the element data type in op;
shape_type – [in] Define the shape type in op;
-
void set_element_dtype(const int64_t element_dtype)
Method to set the op’s element_dtype attributes.
- Parameters
element_dtype – [in] Define the element data type in op;
-
void set_shape_type(const int64_t shape_type)
Method to set the op’s shape_type attributes.
- Parameters
shape_type – [in] Define the shape type in op;
-
int64_t get_element_dtype() const
Method to get the op’s element_dtype attributes.
-
int64_t get_shape_type() const
Method to get the op’s shape_type attributes.
-
inline TensorListReserve()