Use OpInfo for unsqueeze test (#56924)
Summary:
This PR is ready for https://github.com/pytorch/pytorch/issues/56774.
(cc: mruberry, emcastillo, kmaehashi)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56924
Reviewed By: H-Huang
Differential Revision: D28026529
Pulled By: mruberry
fbshipit-source-id: 3afb33bb2999110c565728cd761d3e7d9d3fc82b