SetOriginFormat

Description

Sets the original format of a tensor into TensorDesc.

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

Prototype

void SetOriginFormat(Format origin_format)

Parameters

Parameter

Input/Output

Description

originFormat

Input

Original format to set.

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

Returns

None

Exception Handling

None

Restrictions

None