fix missing-prototypes warnings in torch_cpu (Part 5) (#101788)
This PR fixes more missing-prototypes violations in the torch_cpu source following PRs #100053, #100147 and #100245
Pull Request resolved: https://github.com/pytorch/pytorch/pull/101788
Approved by: https://github.com/Skylion007