KFrank:

torch.version


Hello K. Frank,
thank you for your reply,
actually, I checked the PyTorch version on Colab and it is 1.10 BUT what I also noticed is that the CrossEntropyLoss method internally switches to the probabilistic mode if Input and Target have the same size. The question now how does this mathematically work? especially that Target contains float with arbitrary positive values not just between 0 and 1