get_data_type
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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