This commit is contained in:
Mike J Innes 2017-10-10 12:31:52 +01:00
parent c6556a29e6
commit a05981732f
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ back!(l)
```julia
grad(W)
# Update the parameter
W.data .-= 0.1grad(W)
loss(x, y) # ~ 2.5