Skip to content

Commit

Permalink
Update rnn.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bfortuner committed Oct 24, 2017
1 parent f39610a commit 86bb3d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ def train(model, inputs, targets):
loss.backward()

for p in model.parameters():
p.data.add_(-lr, p.grad.data)
p.data.add_(-.001, p.grad.data)

0 comments on commit 86bb3d9

Please sign in to comment.