GetTensorDesc
Function Usage
Obtains the descriptor of a tensor: TensorDesc.
Prototype
1 | TensorDesc GetTensorDesc() const |
Parameters
None
Returns
Descriptor of the current tensor, which is of the TensorDesc type.
Exception Handling
None
Constraints
This API modifies the returned TensorDesc, which does not affect the existing TensorDesc information in the Tensor object.
Parent topic: Tensor