---
title: DumpFormat
description: "Dump文件的格式，头文件位于CANN软件安装后文件存储路径下的include/graph/graph.h。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0570.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0570.html
indexId: d117522d94192f9e67555e9383fd9e7be54e1b2bea4c3fe95ed836c3948361a972
---
# DumpFormat

Dump文件的格式，头文件位于CANN软件安装后文件存储路径下的include/graph/graph.h。

```
enum class DumpFormat : uint32_t {
kOnnx,      // 基于ONNX的模型描述结构，可以使用Netron等可视化软件打开，生成文件名为ge_onnx*.pbtxt
kTxt,       // protobuf格式存储的文本文件，生成文件名为ge_proto*.txt
kReadable   // 参考Dynamo风格的高可读性文本文件，生成文件名为ge_readable*.txt
};
```
