Clarifying windows cosine behaviour in the documentation (#119444)
After following the discussion, I've created a PR to update the documentation clarifying the function's behaviour (@tqbl solution 1).
Fixes #110541
Pull Request resolved: https://github.com/pytorch/pytorch/pull/119444
Approved by: https://github.com/malfet