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 200/300/500 Inference Product

Atlas Training Series Product