add_input

Applicable Products

All processors

Function Usage

Binds the boundary input at the specified index to SubgraphInput.

Prototype

1
add_input(index: int, input: SubgraphInput) -> int

Parameters

Parameter

Input/Output

Description

index

Input

Logical boundary slot index, which must be aligned with the input sequence of the replacement graph.

input

Input

Boundary input, which is of the SubgraphInput type.

Returns

The internal status, with uint32 semantics

Restrictions

None