get_data_type
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the data type of a tensor.
Prototype
1 | get_data_type(self) -> np.type |
Parameters
None
Returns
Data type of a tensor. The returned type is dtype in NumPy.
Exception Handling
None
Constraints
None
Parent topic: Tensor Class