DataType GetType() const noexcept 函数功能获取张量的数据类型。 函数原型DataType GetType() const noexcept; 返回值说明返回张量的数据类型,详情请参见enum class DataType。 父主题: class Tensor