文档中心GetDataType返回顶部 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