dataflow.FlowOutput

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

Describes the output of FlowNode.

You do not need to define it. When the __call__ method of FlowNode is called, FlowOutput or Tuple[FlowOutput] is returned.

Prototype

1
FlowOutput(node, index)

Parameters

Parameter

Data Type

Description

node

FlowNode

FlowNode. For details, see dataflow.FlowNode.

index

int

Output index of FlowNode.

Returns

None is returned in normal scenarios.

Examples

None

Constraints

None