ConvToFullyConnectionFusionPass

Description

Replaces the Conv operator with 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..
  • 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 cascaded with the dequant+sigmoid operator.

Availability

Atlas 200/300/500 Inference Product

Atlas Training Series Product