What is the difference between pytorch F.cross entropy
vs torch.nn.Cross_Entropy_Loss
?
As far as I understand torch.nn.Cross_Entropy_Loss
is calling F.cross entropy
8 Likes
What is the difference between pytorch F.cross entropy
vs torch.nn.Cross_Entropy_Loss
?
As far as I understand torch.nn.Cross_Entropy_Loss
is calling F.cross entropy