Solved by ptrblck in post #2 
              
              
                Yes, everything looks good as long as your model outputs logits (i.e. no non-linearity as the last layer). 


You could get the predictions using pred = torch.argmax(output, dim=1) and visualize them e.g. with matplotlib.