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