get_format
Applicable Products
All processors
Function Usage
Obtains the format of a tensor described by TensorDesc.
Prototype
1 | get_format() -> Format |
Parameters
None
Returns
Enumerated value of Format
Restrictions
The returned format is obtained through value copy (deep copy). This API modifies the returned format, which does not affect the existing format information in TensorDesc.
Parent topic: TensorDesc