目录

GetOriginFormat

Function Description

Obtains the original format of a tensor.

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

Function Prototype

ge::Format GetOriginFormat() const;

Parameters

None

Return Value

Type Description
ge::Format Original format of a tensor. The default value is FORMAT_RESERVED.

Exception Handling

None

Restrictions

None