[testing] Add Opinfo for torch.frac and minor fixes (#52660)
Summary:
Reference : https://github.com/pytorch/pytorch/issues/42515
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52660
Reviewed By: ailzhang
Differential Revision: D26618151
Pulled By: mruberry
fbshipit-source-id: cf0df38e46f44d3afff6e0015af5a840c661aa0e