GroupedMatmulTransFusionPass
Description
Pattern 1: Deletes Transpose or TransposeD from the graph and encodes the x/weight transformation information to operator attributes. See the following figure.
This fusion pattern supports the following products:


Pattern 2: Deletes Reshape, Transpose/TransposeD, and Reshape connected to the x/weight from the graph and encodes the weight transformation information to operator attributes. See the following figure.
This fusion pattern supports the following products:


Pattern 3: For

Pattern 4: For

For
Constraints
- Only the scenario where x, weight, and y are single tensors is supported (single tensor indicates that there is only one tensor in the tensorList input).
- Transpose/TransposeD supports transpose on the second and third axes.