GetTensorDataTypeDesc
Function Usage
Obtains the data type of a tensor.
Prototype
1 | std::string GetTensorDataTypeDesc(TensorDataType type); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
type |
Input |
Enumerated value. The value range is [–1, 12]. For details, see TensorDataType. |
Response Parameters
Data Structure |
Description |
|---|---|
std::string |
Returned tensor data. |
Supported Models
Atlas inference product
Atlas 800I A2 inference product
Parent topic: Basic Functions