__init__

Applicable Products

All processors

Function Usage

Constructs SubgraphOutput. Two construction methods are supported: constructing with empty outputs (and then setting them through set_output), or directly binding to an output anchor.

Prototype

1
2
__init__() -> None
__init__(node: Node, out_index: int) -> None

Parameters

Parameter

Input/Output

Description

node

Input

(Optional) Main graph node, which is of the ge.graph.Node type.

out_index

Input

(Optional) Node output index.

Returns

None

Restrictions

None