GEStreamAllocationSummaryGetStreamGraphs

Applicable Products

  • Ascend 950PR/Ascend 950DT: supported
  • Atlas A3 training products/Atlas A3 inference products: supported
  • Atlas A2 training products/Atlas A2 inference products: supported
  • Atlas 200I/500 A2 inference products: not supported
  • Atlas inference products: supported
  • Atlas training products: supported

Header File/Library File

  • Header file: #include <ge/ge_graph_compile_summary.h>
  • Library file: libge_compiler.so

Function Usage

Obtains the stream graphs of the root graph and subgraphs.

Prototype

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

Parameters

Parameter

Input/Output

Description

compiled_graph_summary

Input

Brief information about the graph build result.

graph_to_stream_graphs

Output

A value in Map format. The key is the graph name, and the value is the character string of the compiled graphs.

Returns

Parameter

Type

Description

-

ge::Status

  • SUCCESS: The API is called successfully.
  • FAILED: The API fails to be called.

Restrictions

None