In the cifar10.py 149 tutorial, I have seen that to calculate the loss you pass the output of the network along with the labels
loss = criterion(outputs, labels)
but when I print their sizes, I find they are different
print outputs.size() >> (4L, 10L)
print lables.size() >> (4L)
In that case how is the loss being calculated?