MapOutput

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

Maps the output ranked pp_output_index of ProcessPoint to the output ranked node_output_index of FlowNode, and returns FlowNode with the output mapped.

This API is optional. If it is not called, the outputs of FlowNode and ProcessPoint are mapped in sequence by default.

Prototype

1
FlowNode &MapOutput(uint32_t node_output_index, const ProcessPoint &pp, uint32_t pp_output_index)

Command-Line Options

Parameter

Input/Output

Description

node_output_index

Input

Output index of FlowNode.

pp

Input

ProcessPoint mapped from the FlowNode node.

pp_output_index

Input

Output index of ProcessPoint.

Returns

A FlowNode node with the output mapped.

Exception Handling

None

Constraints

This API can be called only after the FlowNode &AddPp API is called.