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