SameInputConv2dFixpipePass

Description

Fuses multiple Conv2D+AscendDequant+Relu+AscendQuant operators into one Conv2D+AscendDequant+Relu+AscendQuant+Split operator.

Before: After:

Constraints

  • The specifications and attributes of the first Conv2D (conv2d_0 and conv2d_1 in the figure) of each channel must be the same, and the value of output_channel must be a multiple of 32.
  • Only the static input shape (fmap, filter, bias) is supported.
  • Only the first Conv2D groups of each channel can be 1.

Applicable Products

Atlas 200I/500 A2 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas A3 training products/Atlas A3 inference products