SetFormat
Function Usage
Sets the format of a tensor.
Prototype
1 | graphStatus SetFormat(const ge::Format &format) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
format |
Input |
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