[Reland] fix missing-prototypes warnings in torch_cpu (Part 5) (#101976)
PR #101788 depended on https://github.com/pytorch/pytorch/pull/100849 which was reverted. Now that https://github.com/pytorch/pytorch/pull/100849 has been relanded, we can reland #101788 too.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101976
Approved by: https://github.com/Skylion007