GetOriginShapeDimNum
Function Usage
Obtains the dimension size of the original shape, that is, the rank size.
Prototype
1 | size_t GetOriginShapeDimNum() const |
Parameters
None
Returns
Dimension size of the original shape, that is, the rank of the original shape. If the rank is unknown, 0 is returned.
Exception Handling
None
Constraints
None
Parent topic: Tensor