目录

GetSubgraph

Function Description

Obtains an operator subgraph based on the subgraph name.

Function Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

Graph GetSubgraph(const std::string &name) const;
Graph GetSubgraph(const char_t *name) const;

Parameters

Parameter Input/Output Description
name Input Subgraph name.

Return Value

Graph object.

Exception Handling

None

Restrictions

None