set_balance_gather

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 balance gather attribute. The UDF with the balance gather attribute can use balance options to set the load balancing and affinity output.

Prototype

1
set_balance_gather(self) -> None

Parameters

None

Returns

None is returned.

Examples

1
2
3
import dataflow as df
flow_node = df.FlowNode(...)
flow_node.set_balance_gather()

Constraints

This API and set_balance_scatter are mutually exclusive.