昇腾社区首页
中文
注册
开发者
下载

GEStreamAllocationSummaryGetStreamGraphs

头文件

/include/ge/ge_graph_compile_summary.h

功能说明

获取根图和子图的流图。

函数原型

1
ge::Status GEStreamAllocationSummaryGetStreamGraphs(const ge::CompiledGraphSummary &compiled_graph_summary, std::map<AscendString, AscendString> &graph_to_stream_graphs)

参数说明

参数

输入/输出

说明

compiled_graph_summary

输入

图编译后的概要信息。

graph_to_stream_graphs

输出

map格式,key为图名称,value为流图的字符串。

返回值说明

参数名

类型

说明

-

ge::Status

  • SUCCESS:接口调用成功。
  • FAILED:接口调用失败

约束说明