GetDataType
Description
Obtains the data type of a tensor.
Prototype
DataType GetDataType() const
Parameters
None
Returns
A DataType for the data type.
Restrictions
None
Example
DataType type = tensor->GetDataType();
Parent topic: Class Tensor
Obtains the data type of a tensor.
DataType GetDataType() const
None
A DataType for the data type.
None
DataType type = tensor->GetDataType();