获取Tensor的DataType。
ge::DataType GetDataType() const;
无。
参数名
类型
描述
-
ge:: DataType
返回tensor的Datatype值,默认值为DT_UNDEFINED。