文档中心GetDataTypeBack to Top GetDataType DescriptionObtains the data type of a tensor. Prototype1ge::DataType GetDataType() const ParametersNone. ReturnsData type of the tensor, represented as a ge:: DataType value. The default value is DT_UNDEFINED. Exception HandlingNone. ConstraintsNone. Parent topic: Tensor