Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.3 节最后的损失函数需要sum后才可以调用backward函数 #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kevindragon
Copy link

3.3.7 训练模型:损失函数需要sum

@ShusenTang
Copy link
Owner

MSELoss默认会求平均,所以得到的loss已经是个标量。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants