DUMP_GE_GRAPH
Description
DUMP_GE_GRAPH sets the graph dump mode.
Available values are as follows:
- 1: dumps all, including the edge relationships and data information.
- 2: dumps information without data such as weights.
- 3: dumps only node relationships.
After the environment variable is set, the following files are generated in the current path:
- ge_onnx*.pbtxt: model description structure based on ONNX. You can open this file using visualizer software such as Netron.
- ge_proto*.txt: text file stored in Protobuf format. You can convert it into a JSON file to facilitate fault locating. This file appears in pair with the ge_onnx*.pbtxt file, but has more attributes of the string type than the ge_onnx*.pbtxt file, making it more comprehensive. You can open either of them.
Compared with the ge_onnx*.pbtxt file, the ge_proto*.txt file has a smaller size. Therefore, setting DUMP_GE_GRAPH to 2 or 3 has the same effect on the ge_proto*.txt file, that is, dumping information without data such as weights.
Example
export DUMP_GE_GRAPH=1
Restrictions
None
Applicability
Parent topic: Graph Building