set_route_label

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 route labels.

For example, nodes udf 1 and udf 2 are deployed on device 1 and device 2, respectively, and each node has two outputs (out 0 and out 1). If you want to send each group of out 0 and out 1 to the same device, you need to set the same route_label for the two output flowmsgs.

Prototype

1
set_route_label(self, route_label) -> None

Parameters

Parameter

Input/Output

Description

route_label

Input

Label of the route. The value 0 indicates that the label is not used.

Returns

None

Exception Handling

None

Constraints

None