GetDynamicSubgraphBuilder

Description

Obtains the SubgraphBuilder object of the dynamic-input operator subgraph based on the subgraph name and subgraph index.

Prototype

APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.

SubgraphBuilder GetDynamicSubgraphBuilder(const std::string &name, uint32_t index) const

SubgraphBuilder GetDynamicSubgraphBuilder(const char_t *name, uint32_t index) const

Parameters

Parameter

Input/Output

Description

name

Input

Subgraph name.

index

Input

Subgraph index.

Returns

The SubgraphBuilder object.

Exception Handling

None

Restrictions

None