ScopeBatchMultiClassNonMaxSuppressionPass

Description

Fuses a scope into a BatchMultiClassNonMaxSuppression operator. The fusion scope contains the scope path.

The fusion pattern contains two scope patterns:

ScopeFaceBoxesBatchMultiClassNMSPattern: includes one NonMaxSuppressionV3 operator and excludes the transpose operator.

ScopeFilteredBatchMultiClassNMSPattern: includes one NonMaxSuppressionV3 operator, five Range operators, one ConcatV2 operator, and 80 Fill operators.

Scope Details

Result Operator Prototype

BatchMultiClassNonMaxSuppression. For details, see Operator Acceleration Library API Reference.

Fusion Mapping

map/TensorArrayUnstack/Shape is used as the first input of the fused operator.

map/TensorArrayUnstack_1/Shape is used as the second input of the fused operator.

map/TensorArrayUnstack_3/Shape, if any, is used as the third input of the fused operator.

map/TensorArrayUnstack_4/Shape, if any, is used as the fourth input of the fused operator.

map/TensorArrayStack/TensorArrayGatherV3, if any, is used as the first output of the fused operator.

map/TensorArrayStack_1/TensorArrayGatherV3, if any, is used as the second output of the fused operator.

map/TensorArrayStack_2/TensorArrayGatherV3, if any, is used as the third output of the fused operator.

map/TensorArrayStack_4/TensorArrayGatherV3, if any, is used as the fourth output of the fused operator.

Applicable Network

FaceBox

Retinanet

Fusion Pattern Type

Non-general fusion pattern