ToStreamGraph

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Header File/Library File

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

Function Usage

Obtains the AscendString-type stream graphs of the root graph and subgraphs. The graphs are in DOT format.

Prototype

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

Parameters

None

Returns

Key-value map. The key is the graph name, and the value is the stream graph in DOT format.

Constraints

None