GetNodesMap

Description

Obtains the node information contained in a ScopeGraph object.

Prototype

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

const std::unordered_map<std::string, ge::OperatorPtr> &GetNodesMap() const;
Status GetNodesMap(std::unordered_map<AscendString, ge::OperatorPtr> &nodes_map) const;

Parameters

Parameter

Input/Output

Description

nodes_map

Output

Node information contained in a ScopeGraph object

Returns

Parameter

Description

-

Node information contained in a ScopeGraph object

Restrictions

None