aclgrphDumpGraph

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_ir_build.h>
  • Library file: libge_compiler.so

Function Usage

Dumps the input graph to a text file.

Prototype

1
graphStatus aclgrphDumpGraph(const ge::Graph &graph, const char_t *file, const size_t len)

Parameters

Parameter

Input/Output

Description

graph

Input

Input graph.

file

Output

Output file name.

len

Output

Length of the output file name.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0): success.

Other values: failure. For details, see ge::graphStatus.

Restrictions

None