MapOutput

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

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)

Parameters

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.