---
title: --oo_dead_code_elimination
description: "| 产品 | 是否支持 |"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/atctool/atlasatcparam_16_0065.html
sourcePath: /source/zh/canncommercial/900/devaids/atctool/atlasatcparam_16_0065.html
indexId: f31b4da6a3c0096c1c589114d56607ffdc83b4a375a83f44e4824dd922b3ef0272
---
# --oo_dead_code_elimination

#### 产品支持情况

| 产品 | 是否支持 |
| --- | --- |
| Atlas 350 加速卡 | √ |
| Atlas A3 训练系列产品 / Atlas A3 推理系列产品 | √ |
| Atlas A2 训练系列产品 / Atlas A2 推理系列产品 | √ |
| Atlas 200I/500 A2 推理产品 | √ |
| Atlas 推理系列产品 | √ |
| Atlas 训练系列产品 | √ |


#### 功能说明

调试功能扩展参数，当前不支持应用于商用产品中，后续版本会作为正式功能更新发布。

是否开启死边消除优化。

死边消除优化：在Switch节点中，若其第一个输入（pred输入）为常量节点（const），则根据该常量的值消除冗余分支。若常量为true，则移除false分支；若常量为false，则移除true分支。


#### 关联参数

无。


#### 参数取值

- true：（默认值）开启死边消除优化。
- false：关闭死边消除优化。


#### 推荐配置及收益

无。


#### 示例

```
--oo_dead_code_elimination=true
```


#### 使用约束

无。
