GetTensorDataTypeDesc
Function Usage
Obtains the data type of a tensor.
Prototype
std::string GetTensorDataTypeDesc (TensorDataType type);
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Enumerated value. The value range is [-1, 12]. For details, see TensorDataType. |
Return Parameter Description
Data Structure |
Description |
|---|---|
std::string |
Returned tensor data. |
Parent topic: TensorBase