GetOriginFormat

Function Usage

Obtains the original format of a tensor.

The original format refers to that of the original network model.

Prototype

1
ge::Format GetOriginFormat() const

Parameters

None

Returns

Original format of a tensor. The default value is FORMAT_RESERVED.

Exception Handling

None

Constraints

None