PyTorch Forums
How the dim parameter of the Softmax() is reflected in CrossEntropyLoss()
ptrblck
November 23, 2020, 12:25pm
3
nn.CrossEntropyLoss
expects the class dimension in
dim1
as explained
here
.
show post in topic