AddPp

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

Adds a mapping ProcessPoint to a FlowNode node. Currently, only one ProcessPoint can be added to a FlowNode node. After a ProcessPoint is added, the input and output of the FlowNode node are mapped to those of the ProcessPoint in sequence by default.

Prototype

1
FlowNode &AddPp(const ProcessPoint &pp)

Parameters

Parameter

Input/Output

Description

pp

Input

ProcessPoint mapped from the FlowNode node, which can be Class FunctionPp or Class ProcessPoint.

Returns

A FlowNode node.

Exception Handling

None

Constraints

The number of inputs/outputs of the added ProcessPoint must be consistent with that of the FlowNode node.