[numpy] torch.{rad2deg, deg2rad}: promote integer inputs to float (#51853)
Summary:
Reference: https://github.com/pytorch/pytorch/issues/42515
Depends on https://github.com/pytorch/pytorch/issues/51283
Pull Request resolved: https://github.com/pytorch/pytorch/pull/51853
Reviewed By: albanD
Differential Revision: D26399743
Pulled By: mruberry
fbshipit-source-id: a6f0e12723e1451c6479d818752fe5d41788715d