ConvScaleFusionPass

Description

Fuses the conv and scale operators into the conv operator, replaces the filter input with the ConvScaleFilterHost operator, and replaces the bias input with the ConvScaleBiasHost operator to improve computing performance.

Before: After:

Restrictions

  • Dynamic scenarios are not supported.
  • The filter input of the conv operator cannot be QuantWeightRollBack.
  • The conv operator cannot have multiple outputs.
  • The other input of the filter, bias, and scale nodes must be const.

Availability

Atlas inference product

Atlas 200I/500 A2 inference product

Atlas training product