clarity
This commit is contained in:
parent
c6556a29e6
commit
a05981732f
@ -33,6 +33,7 @@ back!(l)
|
|||||||
```julia
|
```julia
|
||||||
grad(W)
|
grad(W)
|
||||||
|
|
||||||
|
# Update the parameter
|
||||||
W.data .-= 0.1grad(W)
|
W.data .-= 0.1grad(W)
|
||||||
|
|
||||||
loss(x, y) # ~ 2.5
|
loss(x, y) # ~ 2.5
|
||||||
|
Loading…
Reference in New Issue
Block a user