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