Obtains the data type of a tensor. The byte length of the data type is returned based on the specified TensorDataType.
1 | uint32_t TensorBase::GetDataTypeSize() const; |
Data Structure |
Description |
|---|---|
uint32_t |
Byte length corresponding to the tensor data type. |