Reduction='none' leads to different computed loss

The docs specify how the average is calculated, if a weight is specified.
This post gives you an example of a manual reduction vs. the internal one.

2 Likes