set_alias

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 node alias. When option:ge.experiment.data_flow_deploy_info_path is used to specify the node deployment location, the flow_node_list field can be specified using the alias.

Prototype

1
def set_alias(self, name) -> FlowNode

Parameters

Parameter

Data type

Description

name

str

Alias of a FlowNode.

Returns

Current FlowNode.

Examples

1
2
3
import dataflow as df
flow_node = df.FlowNode(...)
flow_node.set_alias(name="hello")

Constraints

None