dataflow.FlowOutput

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

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

Value 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