GetOpsTypeList
Description
Obtains the list of all supported operator types.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
static graphStatus GetOpsTypeList(std::vector<std::string> &all_ops)
static graphStatus GetOpsTypeList(std::vector<AscendString> &all_ops)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
all_ops |
Output |
List of operator types. |
Returns
graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.
Restrictions
None
Parent topic: OperatorFactory