GetSubgraph
Description
Obtains an operator subgraph based on the subgraph name.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
Graph GetSubgraph(const std::string &name) const
Graph GetSubgraph(const char_t *name) const
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Subgraph name. |
Returns
The Graph object.
Exception Handling
None
Restrictions
None
Parent topic: Operator