Skip to content

pytorch tutorial: zero Xtrain.grad before using it#102

Merged
SteveDiamond merged 1 commit intomasterfrom
pyt_tutorial_fix
Feb 24, 2026
Merged

pytorch tutorial: zero Xtrain.grad before using it#102
SteveDiamond merged 1 commit intomasterfrom
pyt_tutorial_fix

Conversation

@bamos
Copy link
Collaborator

@bamos bamos commented Apr 12, 2021

This PR fixes a small issue in the PyTorch tutorial where Xtrain.grad is not zeroed before it's used

@bamos bamos requested a review from sbarratt April 12, 2021 16:19
@SteveDiamond SteveDiamond merged commit 89cf4e8 into master Feb 24, 2026
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.

3 participants