GetDims
Description
Obtains the dimension count of a tensor.
Prototype
int32_t GetDims() const
Parameters
None
Returns
Dimension count of the tensor
Restrictions
None
Example
int32_t dims = shape->GetDims();
Parent topic: Class TensorShape
Obtains the dimension count of a tensor.
int32_t GetDims() const
None
Dimension count of the tensor
None
int32_t dims = shape->GetDims();