GetSubgraphNames
Description
Obtains the subgraph names of an operator.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
std::vector<std::string> GetSubgraphNames() const
graphStatus GetSubgraphNames(std::vector<AscendString> &names) const
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
names |
Output |
Subgraph name list of an operator. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Exception Handling
None
Restrictions
None
Parent topic: Operator