Skip to content

Commit 557a588

Browse files
committed
update README for typo fix
1 parent 5517240 commit 557a588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ for t in range(500):
213213

214214
# Use autograd to compute the backward pass. This call will compute the
215215
# gradient of loss with respect to all Variables with requires_grad=True.
216-
# After this call w1.data and w2.data will be Variables holding the gradient
216+
# After this call w1.grad and w2.grad will be Variables holding the gradient
217217
# of the loss with respect to w1 and w2 respectively.
218218
loss.backward()
219219

0 commit comments

Comments
 (0)