add_input
Applicable Products
All processors
Function Usage
Adds an input anchor (node output index).
Prototype
1 | add_input(node: Node, out_index: int) -> int |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
node |
Input |
Main graph node, which is of the ge.graph.Node type. |
out_index |
Input |
Node output index. |
Returns
The internal index, with uint32 semantics
Restrictions
None
Parent topic: SubgraphInput