GetOriginFormat

Function Usage

Obtains the original format of a tensor described by TensorDesc.

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

Prototype

1
Format GetOriginFormat() const

Parameters

None

Returns

Original format of the tensor described by TensorDesc.

For the definition of the Format data type, see Format.

Exception Handling

None

Constraints

None