re-enable some corner cases in memory format transpose test (#39891)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39891
Test Plan: Imported from OSS
Differential Revision: D22009141
Pulled By: glaringlee
fbshipit-source-id: aaf24fdf080855bbe9d2fe5082aa8e92c6973f34