SetInput

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 output ranked src_index of src_op as the input ranked dst_index of FlowNode, and returns a FlowNode node with the input set.

Prototype

1
FlowNode &SetInput(uint32_t dst_index, const FlowOperator &src_op, uint32_t src_index = 0)

Parameters

Parameter

Input/Output

Description

dst_index

Input

Input index of FlowNode.

src_op

Input

Input node of FlowNode, which must be FlowNode or FlowData.

src_index

Input

Output index of src_op.

Returns

A FlowNode node with the input set.

Exception Handling

None

Constraints

None