GetDataTypeSize

Function Usage

Obtains the data type of a tensor. The byte length of the data type is returned based on the specified TensorDataType.

Prototype

uint32_t GetDataTypeSize() const;

Return Parameter Description

Data Structure

Description

uint32_t

Byte length corresponding to the tensor data type.