ToStreamGraph

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

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. The graphs are in DOT format, with entries of the AscendString type.

Prototype

1
const std::map<AscendString, AscendString> &ToStreamGraph() const

Parameters

None

Returns

A key-value map, where the key is the graph name, and the value is the corresponding stream graph in DOT format.

Restrictions

None