set_multi_outputs

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

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

Exception Handling

None

Constraints

None