---
title: ScopeDecodeBboxV2Pass
description: "将含有如下两种Scope融合为DecodeBboxV2算子。"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommunity/latest/Convergence/tfscopefusionref/atlasfr_30_0015.html
sourcePath: /source/zh/TensorFlowCommunity/910/Convergence/tfscopefusionref/atlasfr_30_0015.html
indexId: e2228919b69b9ee2177166506a3faf578868cc2fcf6a15dd4ce7e4bc98880c9184
---
# ScopeDecodeBboxV2Pass

#### 功能说明

将含有如下两种Scope融合为DecodeBboxV2算子。

Scope1至少包括2个Exp，4个Mul，4个sub，2的倍数个RealDiv，2个Unpack，1个Pack，3个Transpose算子，不包括Softmax算子。

Scope2至少包括2个Exp，4个Mul，10个sub，2的倍数个RealDiv，2个Unpack，1个Pack，3个Transpose，3个Rank，3个Range算子，不包括Sigmoid算子。


#### Scope详情

scope1：


scope2：


#### 融合后的算子原型

DecodeBboxV2，具体请参见《算子库(https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/920beta1/API/aolapi/operatorlist_00001.html)》。


#### 融合对应关系

scope1:

transpose的输入作为融合后算子第一个输入。

get_center_coordinates_and_sizes/transpose的输入作为融合后算子第二个输入。

transpose_1的输出作为融合后算子第一个输出。

scope2：

transpose/Rank的输入作为融合后算子第一个输入。

get_center_coordinates_and_sizes/transpose/Rank的输入作为融合后算子第二个输入。

transpose_1的输出作为融合后算子第一个输出。


#### 适用网络

Fast R-CNN

SSD-ResNet34

SSD-ResNet50V1-FPN


#### 融合规则类型

定制化融合规则
