UpdateOutputDesc
Description
Updates the tensor format of an output port.
Prototype
graphStatus UpdateOutputDesc(const int32_t index, const TensorDesc &tensor_desc);
Restrictions
None
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Output port index of the operator. |
tensor_desc |
Input |
Tensor format to be updated. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
GRAPH_SUCCESS(0) on success; else, failure. |
Parent topic: Class GNode