下载
中文
注册

ScopeKeepRatioResizeBilinearPass

功能说明

将特定Scope进行融合成KeepRationResizeBilinear + Shape + Slice*2 + Expandims + ConcatV2 + Tile + Const*4,Scope中包括图结构:map/while/ResizeToRange/,包括算子Maximum,Minimum,Round,ResizeBilinear。

Scope详情

融合后的算子原型

KeepRationResizeBilinear + Shape + Slice*2 + Expandims + ConcatV2 + Tile + Const*4,具体请参见算子加速库接口参考

融合对应关系

"scope名字+/Shape" 的节点输入作为融合后子图的输入。

TensorArrayStack/TensorArrayStack/TensorArrayGatherV3输出作为融合后子图的第一个输出。

TensorArrayStack_1/TensorArrayStack_1/TensorArrayGatherV3输出作为融合后子图的第二个输出。

融合后子图KeepRationResizeBilinear算子的输出连接到scope第一个输出。

融合后子图Tile的输出连接到scope第二个输出。

适用网络

Fast R-CNN

融合规则类型

定制化融合规则