Add Deep and wide to test and flatten/tranpose for good measure (#44129)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44129
Test Plan: Imported from OSS
Reviewed By: hlu1
Differential Revision: D23604302
Pulled By: bwasti
fbshipit-source-id: 5787f6f32a80b22b1b712c4116f70370dad98f12