get_data_type
Function
Obtains the tensor object data type.
C++ Prototype
InferDataType GetDataType() const
Python Prototype
get_data_type()
Parameters
None
Usage Example
Obtain the tensor type.
1 | data_type = infer_tensor.get_data_type() |
Parent topic: InferTensor