---
title: ScopeBatchMultiClassNonMaxSuppressionPass
description: "如下图结构进行融合成BatchMultiClassNonMaxSuppression算子，融合scope下有scope路径："
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommercial/latest/Convergence/tfscopefusionref/atlasfr_30_0018.html
sourcePath: /source/zh/TensorFlowCommercial/900/Convergence/tfscopefusionref/atlasfr_30_0018.html
indexId: 896bcec1084d948510768ab03e616b47e5c3fc33d6f378b49d9f6d5cae0d211585
---
# ScopeBatchMultiClassNonMaxSuppressionPass

#### 功能说明

如下图结构进行融合成BatchMultiClassNonMaxSuppression算子，融合scope下有scope路径：

该融合规则包含了两个匹配规则：

ScopeFaceBoxesBatchMultiClassNMSPattern：包括1个NonMaxSuppressionV3 ，并且不包含Transpose。

ScopeFilteredBatchMultiClassNMSPattern：包括1个NonMaxSuppressionV3 ，5个Range，1个ConcatV2和80个Fill。


#### Scope详情


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

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


#### 融合对应关系

map/TensorArrayUnstack/Shape，作为融合后算子第一个输入。

map/TensorArrayUnstack_1/Shape，作为融合后算子第二个输入。

map/TensorArrayUnstack_3/Shape，如果存在这个节点，作为融合后算子第三个输入。

map/TensorArrayUnstack_4/Shape，如果存在这个节点，作为融合后算子第四个输入。

map/TensorArrayStack/TensorArrayGatherV3，如果存在，作为融合后算子第一个输出。

map/TensorArrayStack_1/TensorArrayGatherV3，如果存在，作为融合后算子第二个输出。

map/TensorArrayStack_2/TensorArrayGatherV3，如果存在，作为融合后算子第三个输出。

map/TensorArrayStack_4/TensorArrayGatherV3，如果存在，作为融合后算子第四个输出。


#### 适用网络

FaceBox

RetinaNet


#### 融合规则类型

定制化融合规则
