ConvToFullyConnectionFusionPass

Description

Fuses the Conv operator into the FullyConnection operator to improve computing performance.

Before: After:

Restrictions

  • The dynamic shape scenario is not supported.
  • The int4 and int8 data types are not supported. For Atlas A2 training product/Atlas A2 inference product, Float32 does not support filters whose N axis is not aligned to 16.
  • The number of conv2d output nodes must be 1. The input size must be the same as the HWC axis of the filter size. The value of the group attribute must be 1. The value of the pad attribute must be [0,0,0,0].
  • The conv2d operator cannot be followed by the quant or requant operator.
  • The conv2d operator cannot be followed by a dequant-sigmoid cascade.

Availability

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Atlas A2 training product/Atlas A2 inference product

Atlas A3 training product/Atlas A3 inference product