---
title: NPU_DUMP_GRAPH
description: "TensorFlow 2.6.5训练与在线推理场景下，用于开启TF Adapter图Dump功能。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/envvar/envref_07_0040.html
sourcePath: /source/zh/canncommercial/900/maintenref/envvar/envref_07_0040.html
indexId: c8e9ee84ee84fdebe27ce2017f852789d42a5deef110fe017581c37a6fc500cd67
---
# NPU_DUMP_GRAPH

#### 功能描述

TensorFlow 2.6.5训练与在线推理场景下，用于开启TF Adapter图Dump功能。

- "1"或"true"：开启图Dump功能
- "0"或"false"：关闭图Dump功能


#### 配置示例

```
export NPU_DUMP_GRAPH=1
```


#### 使用约束

- 该环境变量需要在import npu_device前设置。
- 该环境变量仅适用于TensorFlow2.6.5网络在昇腾平台执行训练或在线推理的场景。


#### 支持的型号

Atlas 350 加速卡

Atlas A3 训练系列产品 / Atlas A3 推理系列产品

Atlas A2 训练系列产品 / Atlas A2 推理系列产品

Atlas 训练系列产品
