PoolingFusionPass

Description

Before: After:

Restrictions

  • Dynamic shapes are not supported.
  • Static fusion supports only the float16 and int8 data types.
  • The fusion pattern takes effect for AVG Pooling only. If the network contains an INT8-quantized AVG Pooling operator, that is, the pool attribute in the prototxt file is set to AVG, the fusion pattern must be enabled.