ScopeDecodeBboxV2Pass
Description
Fuses the following two scopes into a DecodeBboxV2 operator:
Scope 1 contains at least two Exp operators, four Mul operators, four Sub operators, a multiple of two RealDiv operators, two Unpack operators, one Pack operator, and three transpose operators, excluding the Softmax operator.
Scope 2 contains at least two Exp operators, four Mul operators, 10 Sub operators, a multiple of two RealDiv operators, two Unpack operators, one Pack operator, three transpose operators, three Rank operators, and three Range operators, excluding the Sigmoid operator.
Scope Details
Scope 1:

Scope 2:

Result Operator Prototype
DecodeBboxV2. For details, see Operator Acceleration Library API Reference.
Fusion Mapping
Scope 1:
The input of the transpose operator is used as the first input of the fused operator.
The input of get_center_coordinates_and_sizes/transpose is used as the second input of the fused operator.
The output of transpose_1 is used as the first output of the fused operator.
Scope 2:
The input of transpose/Rank is used as the first input of the fused operator.
The input of get_center_coordinates_and_sizes/transpose/Rank is used as the second input of the fused operator.
The output of transpose_1 is used as the first output of the fused operator.
Applicable Network
Fast R-CNN
SSD-Resnet34
SSD-Resnet50V1-FPN
Fusion Pattern Type
Non-general fusion pattern