NodeIo

Applicable Products

All processors

Function Usage

Describes a node output anchor in the form of a frozen data class.

Prototype

1
2
3
4
@dataclass(frozen=True)
class NodeIo:
    node: Node
    index: int = 0

Parameters

Parameter

Input/Output

Description

node

Input

Node object, which is of the ge.graph.Node type.

index

Input

Node output index, which defaults to 0.

Returns

None

Restrictions

None