AddPp

Applicable Products

Product

Supported

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

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)

Command-Line Options

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.