下载
中文
注册

ScopeToAbsoluteBBoxPass

功能说明

融合的scope为Map,Map下需要有while,while下需要有ToAbsoluteCoordinates,ToAbsoluteCoordinates下有scale,同时scope下有4个Mul算子,融合成ToAbsoluteBBox算子。

Scope详情

map_1下有while:

while下有ToAbsoluteCoordinates:

ToAbsoluteCoordinates下有scale:

融合后的算子原型

ToAbsoluteBBox,具体请参见算子加速库接口参考

融合对应关系

Shape或者TensorArrayUnstack/Shape输入作为融合后第一个输入。

while/strided_slice/Enter的输入作为融合后第二个输入。

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

融合的scope中存在while/ToAbsoluteCoordinates/scale子图结构。

适用网络

Fast R-CNN

融合规则类型

定制化融合规则