ONE
ONE copied to clipboard
[one-optmize] Introduce ForwardTransposeOpPass
What
Let's introduce ForwardTranseposeOpPass.
Why
This moves Transpose Ops to the rear part, finding a chance to optimize redundant Transpose Ops (similar to ForwardReshapeToUnaryOpPass).
Before

After

This reduces the latency of one of our target models.
6.2 ms -> 5.6 ms