get_data_type接口 接口功能获取张量对象数据类型。 C++函数原型InferDataType GetDataType() const Python函数get_data_type() 接口参数无。 使用样例data_type = infer_tensor.get_data_type() 父主题: InferTensor