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 200/300/500 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas 800I A2 inference product