PadFusionPass

Description

Fuses the Pad operator that fits the graph fusion pattern into the PadD operator when the input paddings is a const node, and converts the input into an attribute.

Restrictions

If the data type of input X is not within {float16,float,int32}, graph fusion is not performed.

Availability

Atlas A2 training product/Atlas A2 inference product