GetOriginFormat

Description

Obtains the original format of a tensor.

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

Prototype

ge::Format GetOriginFormat() const

Parameters

None.

Returns

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

Exception Handling

None.

Restrictions

None.