目录

GetName

Function Description

Obtains the name of an operator.

Function Prototype

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

std::string GetName() const;
graphStatus GetName(AscendString &name) const;

Parameters

Parameter Input/Output Description
name Output Operator name.

Return Value

Type Description
graphStatus

GRAPH_FAILED: failed

GRAPH_SUCCESS: succeeded

Exception Handling

None

Restrictions

None