Skip to content

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

Open
kevindragon wants to merge 1 commit intoShusenTang:masterfrom
kevindragon:master
Open

3.3 节最后的损失函数需要sum后才可以调用backward函数#83
kevindragon wants to merge 1 commit intoShusenTang:masterfrom
kevindragon:master

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