GetFormat

函数功能

获取Tensor的Format。

函数原型

1
ge::Format GetFormat() const

参数说明

无。

返回值

返回tensor的Format值,默认值为FORMAT_RESERVED。

异常处理

无。

约束说明

无。