Please note that the definition of this function is that it computes the sum of the costs across each minibatch, not the average. Here’s a thread which explains why it is done that way.
Please note that the definition of this function is that it computes the sum of the costs across each minibatch, not the average. Here’s a thread which explains why it is done that way.