F.cross entropy vs torch.nn.Cross_Entropy_Loss

You are not using a weighted cross entropy. So no difference as mentionned above.

3 Likes