get_format
Applicable Products
All processors
Function Usage
Obtains the tensor format.
Prototype
1 | get_format() -> Format |
Parameters
None
Returns
(Format) Tensor format
Restrictions
If the return value is not a valid format, ValueError is thrown.
Parent topic: Tensor