GetShape
Function Usage
Obtains the shape of a tensor described by TensorDesc.
Prototype
1 | Shape GetShape() const |
Parameters
None
Returns
Shape type, that is, shape described by TensorDesc.
Exception Handling
None
Constraints
The returned shape is obtained through value copy (deep copy). This API modifies the returned shape, which does not affect the existing shape in TensorDesc.
Parent topic: TensorDesc