GetDynamicSubgraph

Description

Obtains a 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.

Graph GetDynamicSubgraph(const std::string &name, uint32_t index) const

Graph GetDynamicSubgraph(const char_t *name, uint32_t index) const

Parameters

Parameter

Input/Output

Description

name

Input

Subgraph name.

index

Input

Subgraph index.

Returns

The Graph object.

Exception Handling

None

Restrictions

None