ScopeNormalizeBBoxPass

Description

Fuses a scope containing a map that has a while node, ToNormalizedCoordinates under the while node, and Scale under ToNormalizedCoordinates. In addition, there are four Mul operators under the scope operator, which are fused into the NormalizeBBox operator.

Scope Details

while exists under map:

Result Operator Prototype

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

Fusion Mapping

The input of map/shape is used as the first input of the fused operator.

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

The input of TensorArrayStack/TensorArrayGatherV3 is used as the first output of the fused operator.

The scope has the while/ToNormalizedCoordinates/Scale/ graph structure.

Applicable Network

Fast R-CNN

Fusion Pattern Type

Non-general fusion pattern