[numpy] torch.logit: promote integer inputs to float (#52028)
Summary:
Reference: https://github.com/pytorch/pytorch/issues/42515
Pull Request resolved: https://github.com/pytorch/pytorch/pull/52028
Reviewed By: ngimel
Differential Revision: D26400552
Pulled By: mruberry
fbshipit-source-id: 5aec9c9755a7ae283aa52294517ea28f4b0fd3e7