SetOriginFormat
Function Usage
Sets the original format of a tensor.
The original format refers to that of the original network model.
Prototype
1 | graphStatus SetOriginFormat(const ge::Format &format) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
format |
Input |
Original format value to be set. For details about the format type, see Format. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None
Constraints
None
Parent topic: Tensor