Don't average the loss
Hi,I was wondering if there was a way to not average the loss over all examples of a batch- I want to get the losses as a vector of (batchsize , 1) and not (1, 1).Is that possible?
2024-03-30T02:18:29Z
I would like to do the same thing while the direct way I’ve found this moment is to forward batchsize times (stupid enough for me). Is there a more appropriate way to achieve this result? Please share with me, thanks!