Skip to content

Commit 01b89c9

Browse files
authored
Update neural_networks_tutorial.py
1 parent 6a9b63b commit 01b89c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beginner_source/blitz/neural_networks_tutorial.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
- Compute the loss (how far is the output from being correct)
3131
- Propagate gradients back into the network’s parameters
3232
- Update the weights of the network, typically using a simple update rule:
33-
``weight = weight + learning_rate * gradient``
33+
``weight = weight - learning_rate * gradient``
3434
3535
Define the network
3636
------------------

0 commit comments

Comments
 (0)