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

problem in autograd #4

Closed
rexjoe opened this issue Feb 8, 2018 · 1 comment
Closed

problem in autograd #4

rexjoe opened this issue Feb 8, 2018 · 1 comment

Comments

@rexjoe
Copy link

rexjoe commented Feb 8, 2018

Anser of the exercise is wrong, the second column of j is wrong due to wrong variable name reference in the code: "m.grad.data.zero_() # 归零之前求得的梯度", change "m" to "x" to fix it.

@L1aoXingyu
Copy link
Owner

thank you! I have fixed this problem.

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

No branches or pull requests

2 participants