set_multi_outputs
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Sets the tensors of the outputs with specified indexes in batches.
Prototype
1 | set_multi_outputs(self, index, outputs: List[Union[FlowMsg, np.ndarray, fw.FlowMsg]], balance_config: BalanceConfig) -> int |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Index of the specified output. |
output |
Input |
Message of the specified output. |
balance_config |
Input |
Configurations related to balanced distribution. |
Returns
- 0: success
- Other values: failure. For details, see UDF Error Codes.
Exception Handling
None
Constraints
None
Parent topic: Class MetaRunContext