DumpFormat

Dump file format. The header file is include/graph/graph.h in the CANN component directory.

enum class DumpFormat : uint32_t {
  kOnnx,      // Model description structure based on ONNX. You can open this file using visualizer software such as Netron. The generated file name is ge_onnx*.pbtxt.
  kTxt,       // text file stored in Protobuf format. The generated file name is ge_proto*.txt.
  kReadable, // High-readability text file in Dynamo style. The generated file name is ge_readable*.txt.
};