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.
- 参数
tensor – [in] Tensor object handle.
shape_num – [out] Dimension of shape.
- 返回
The shape array of the tensor.