ScopeKeepRatioResizeBilinearPass

Description

Fuses a specific scope into a "KeepRationResizeBilinear + Shape + Slice * 2 + Expandims + ConcatV2 + Tile + Const * 4" composite. The scope includes the graph structure map/while/ResizeToRange/, and operators Maximum, Minimum, Round, and ResizeBilinear.

Scope Details

Result Operator Prototype

KeepRationResizeBilinear + Shape + Slice x 2 + Expandims + ConcatV2 + Tile + Const x 4. For details, see Operator Acceleration Library API Reference.

Fusion Mapping

The input of the scope name+/Shape node is used as the input of the subgraph after fusion.

The output of TensorArrayStack/TensorArrayStack/TensorArrayGatherV3 is used as the first output of the subgraph after fusion.

The output of TensorArrayStack_1/TensorArrayStack_1/TensorArrayGatherV3 is used as the second output of the subgraph after fusion.

After the fusion, the output of the KeepRationResizeBilinear operator of the subgraph connects to the first output of the scope.

After the fusion, the output of the subgraph Tile connects to the second output of the scope.

Applicable Network

Fast R-CNN

Fusion Pattern Type

Non-general fusion pattern