get_data_type
Function Usage
Obtains the tensor data type.
Prototype
1 | get_data_type() -> DataType |
Parameters
None
Returns
(DataType) Tensor data type.
Constraints
Throws ValueError if the return value is not a valid DataType.
Parent topic: Tensor
Obtains the tensor data type.
1 | get_data_type() -> DataType |
None
(DataType) Tensor data type.
Throws ValueError if the return value is not a valid DataType.