The softmax operation normalizes the specified dim so that its sum equals to 1. and the results can be interpreted as a probability.
In your case the two values correspond to the probability for class0 and class1 and their sum is 1.
Take a look at the Softmax Wikipedia article (or any other resource) for more information.