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:

Constraints

  • 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.

Applicable Products

Atlas inference products

Atlas 200I/500 A2 inference products

Atlas training products