TransposeReshapeFusionPass
Description
Fuses the TransposeD and Reshape operators that fit the graph fusion pattern into the ConfusionTransposeD operator.

Restrictions
- The fusion pattern does not take effect when the input shape of TransposeD or the output shape of Reshape is empty.
- The fusion pattern does not take effect when the input of TransposeD or the output of Reshape has a dynamic shape.
- The fusion pattern does not take effect when the output shape of Reshape is 1-dimensional and its size is not divisible by 16.
- The fusion pattern does not take effect when the output shape of Reshape has two or more dimensions and at least one of the last two dimensions of the output shape is not divisible by 16.
- The fusion pattern does not take effect when the input shape of TransposeD is 1-dimensional and its size is not divisible by 16.
- The fusion pattern does not take effect when the input shape of TransposeD has two or more dimensions and at least one of the last two dimensions of the input shape is not divisible by 16.
- The fusion pattern does not take effect when the data type is not supported by the fused operator.
Availability
Parent topic: Graph Fusion Patterns