SetOriginFormat
Function Usage
Sets the original format of a tensor into TensorDesc.
The original format refers to that of the original network model.
Prototype
1 | void SetOriginFormat(Format origin_format) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
origin_format |
Input |
Original format to set. For the definition of the format data type, see Format. |
Returns
None
Exception Handling
None
Constraints
None
Parent topic: TensorDesc