---
title: ScopeClipBoxesPass
description: "将clip_boxes Scope融合为ClipBoxes算子。Scope内包括tf.Maximum、tf.ReverseV2、tf.Tile和tf. Minimum这四个算子，不包含Gather_2、TopKV2、Reshape_2、Split、Greater、Squeeze、Gather、boolean_mask、decode_bbox_target等算子。"
url: https://www.hiascend.com/document/detail/zh/TensorFlowCommunity/latest/Convergence/tfscopefusionref/atlasfr_30_0008.html
sourcePath: /source/zh/TensorFlowCommunity/910/Convergence/tfscopefusionref/atlasfr_30_0008.html
indexId: 0d9181969513e4f91fb8c2833819618f41a0ec57a6904d6bd9dc6a0087f4350384
---
# ScopeClipBoxesPass

#### 功能说明

将clip_boxes Scope融合为ClipBoxes算子。Scope内包括tf.Maximum、tf.ReverseV2、tf.Tile和tf. Minimum这四个算子，不包含Gather_2、TopKV2、Reshape_2、Split、Greater、Squeeze、Gather、boolean_mask、decode_bbox_target等算子。


#### Scope详情


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

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


#### 融合对应关系

clip_boxes/Maximum输入作为融合后的第一个输入boxes_input。

clip_boxes/ReverseV2输入作为融合后的第二个输入im_info。

clip_boxes/fastrcnn_all_boxes（Minimum）输出作为融合后的输出boxes_output。

clip_boxes/ReverseV2的输出作为clip_boxes/Tile的输入。

clip_boxes/Tile的输出作为clip_boxes/ToFloat的输入。

clip_boxes/ToFloat的输入作为clip_boxes/fastrcnn_all_boxes的第二个输入。

clip_boxes/Maximum的输出作为clip_boxes/fastrcnn_all_boxes的第一个输入。


#### 适用网络

2D-H1


#### 融合规则类型

定制化融合规则
