GetNodesMap
产品支持情况
产品  | 
是否支持  | 
|---|---|
√  | 
|
√  | 
|
√  | 
|
√  | 
|
√  | 
函数功能
获取ScopeGraph中包含的nodes信息。
函数原型
 数据类型为string的接口后续版本会废弃,建议使用数据类型为非string的接口。
1 2  | const std::unordered_map<std::string, ge::OperatorPtr> &GetNodesMap() const; Status GetNodesMap(std::unordered_map<AscendString, ge::OperatorPtr> &nodes_map) const;  | 
参数说明
参数名  | 
输入/输出  | 
描述  | 
|---|---|---|
nodes_map  | 
输出  | 
ScopeGraph中nodes信息  | 
返回值
参数名  | 
描述  | 
|---|---|
-  | 
ScopeGraph中nodes信息  | 
约束说明
无。
父主题: ScopeGraph类