GetDataType

Function Usage

Obtains the data type of a tensor in the memory.

Prototype

1
TensorDataType TensorBase::GetDataType() const;

Response Parameters

Data Structure

Description

TensorDataType

For details, see the enumerations of TensorDataType.