It looks like the summed loss is being accumulated in running_loss, which will most likely be divided by the number of samples at a later point.
Where did you find this line of code? It looks a bit out-dated, as the usage of .data is not recommended anymore and the argument size_average was replaced by reduction.