update_output_desc
Applicable Products
All processors
Function Usage
Updates the tensor format of an output port.
Prototype
1 | update_output_desc(index: int, tensor_desc: TensorDesc) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the output port of the operator. |
tensor_desc |
Input |
Format of the tensor to be updated. |
Returns
None
Restrictions
- If index is not an integer, TypeError is thrown.
- If tensor_desc is not of the TensorDesc type, TypeError is thrown.
- If the tensor format update fails, RuntimeError is thrown.
Parent topic: Node