We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
这里在return时不需要softmax吗?
def net(X): X = X.view((-1, num_inputs)) H = relu(torch.matmul(X, W1) + b1) return torch.matmul(H, W2) + b2
The text was updated successfully, but these errors were encountered:
哈哈,兄弟你稍微往下看一点,在3.9.5中介绍了,在pytorch损失函数自带的torch.nn.CrossEntropyLoss()交叉熵损失函数中已经带了softmax运算啦!~
Sorry, something went wrong.
No branches or pull requests
这里在return时不需要softmax吗?
The text was updated successfully, but these errors were encountered: