KFrank:

I believe I’ve seen this issue – whether the average for weighted
loss is divided by the sum of the weights – come up in this forum
before. (I don’t have the references off hand.)


Yes, I ran into this issue before and had to manually check, how the weights are used in the reduction settings.
A fix would be very welcome. Let me know, if you would be interested in creating the PR.