GetTensorDataTypeDesc
函数功能
获取张量的数据类型。
函数原型
std::string GetTensorDataTypeDesc(TensorDataType type);
参数说明
参数名 |
输入/输出 |
说明 |
---|---|---|
type |
输入 |
枚举值,范围在[-1, 12],参考TensorDataType。 |
返回参数说明
数据结构 |
说明 |
---|---|
std::string |
返回的张量的数据。 |
支持的型号
Atlas 200/300/500 推理产品
Atlas 200I/500 A2 推理产品
Atlas 推理系列产品
Atlas 800I A2推理产品
父主题: 基础函数