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

#### 产品支持情况

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


#### 功能说明

与--out_nodes参数配合使用，指定网络模型输出数据类型为float16、数据格式为NC1HWC0。单独配置本参数无效，但模型转换成功。


#### 关联参数

- --is_output_adjust_hw_layout参数设置为true，需要与  --out_nodes
参数配合使用，通过--out_nodes参数指定的节点输出数据类型为float16、输出数据格式为NC1HWC0。
  --is_output_adjust_hw_layout参数取值个数必须和--out_nodes参数指定节点个数匹配，多个参数取值使用英文逗号分隔。

- 当  --framework
取值为1，且为MindSpore框架网络模型时，设置本参数无效，但模型转换成功。


#### 参数取值

- true：指定网络模型输出数据类型为float16、数据格式为NC1HWC0。
- false：（默认值）不指定。


#### 推荐配置及收益

无。


#### 示例

- 若--out_nodes配置了一个节点

```
atc --model=
$HOME/module/
resnet50_tensorflow.pb
--framework=3 --output=
$HOME
/module
/out/tf_resnet50
--is_output_adjust_hw_layout=true  --out_nodes="prob:0" --soc_version=
<soc_version>
```


- 若--out_nodes配置了多个节点

```
atc --model=
$HOME/module/
resnet50_tensorflow.pb
--framework=3 --output=
$HOME
/module
/out/tf_resnet50
--is_output_adjust_hw_layout="true,true"  --out_nodes="prob:0;prob:1" --soc_version=
<soc_version>
```


#### 依赖约束

无。
