GetName
Description
Obtains the graph name.
Prototype
APIs using strings will be deprecated in later versions. Use APIs supporting non-string data instead.
const std::string &Graph::GetName() const; graphStatus GetName(AscendString &name) const;
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Output |
Operator name. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
SUCCESS: The operator name is successfully obtained. |
Parent topic: Graph Construction APIs