Function MSTensorGetShape
Defined in File tensor_c.h
Function Documentation
-
const int64_t *MSTensorGetShape(const MSTensorHandle tensor, size_t *shape_num)
Obtain the shape of the tensor.
- Parameters
tensor – [in] Tensor object handle.
shape_num – [out] Dimension of shape.
- Returns
The shape array of the tensor.