Add support to lower acc_ops.transpose (#65036)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65036
Reviewed By: jfix71, 842974287
Differential Revision: D30934503
fbshipit-source-id: 51880d3d36492f5206f77c9d1a994d8532597b62