transfer learning tutorial 2 In the tutorial I found  also this way to do loss calculation
running_loss += loss.item() * inputs.size(0)
So I don’t understand which is the way to  calculate correctly.  inputs.size(0) correspond to the batch that I use?