---
title: RGB2YUV422FusionPass
description: "由于RGB2YUV422算子和该算子中的load_image支持形态不一致，所以新增融合规则，将RGB2YUV422拆分成两个算子：Aipp+YUV4442YUV422。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/graphubfusionref/atlasrr_30_0061.html
sourcePath: /source/zh/canncommercial/900/maintenref/graphubfusionref/atlasrr_30_0061.html
indexId: 152b3ee9360d77b3239163edaba9f051f7c3e13ab2219ced15a8b992b42101a378
---
# RGB2YUV422FusionPass

#### 融合模式

由于RGB2YUV422算子和该算子中的load_image支持形态不一致，所以新增融合规则，将RGB2YUV422拆分成两个算子：Aipp+YUV4442YUV422。


#### 使用约束

- RGB2YUV422输入shape是三维，且最后维必须等于3。
- RGB2YUV422的输入Reshape为NHWC格式之后必须保证HW小于等于4096。
- RGB2YUV422的输入shape的前两维取值范围是[2, 4096]。


#### 支持的型号

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

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