[numpy] `torch.cos`, `torch.tan` : promote integer inputs to float (#46706)
Summary:
References https://github.com/pytorch/pytorch/issues/42515
cc: mruberry
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46706
Reviewed By: izdeby
Differential Revision: D24537262
Pulled By: mruberry
fbshipit-source-id: e57377a625814a3f34a765ce6bfd63a33c02a5d9