昇腾社区首页
中文
注册

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

融合规则类型

定制化融合规则