typo
This commit is contained in:
parent
776023ddad
commit
7ead2d6c7b
@ -27,7 +27,7 @@ gs = gradient(ps) do
|
|||||||
loss(x, y)
|
loss(x, y)
|
||||||
end
|
end
|
||||||
|
|
||||||
Flux.Optimise.update(opt, ps, gs)
|
Flux.Optimise.update!(opt, ps, gs)
|
||||||
```
|
```
|
||||||
"""
|
"""
|
||||||
mutable struct Descent
|
mutable struct Descent
|
||||||
@ -230,7 +230,7 @@ Variant of ADAM based on ∞-norm.
|
|||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
```julia
|
```julia
|
||||||
opt = AdaMax() # uses default η and β
|
opt = AdaMax() # uses default η and β
|
||||||
|
|
||||||
opt = AdaMax(0.001, (0.9, 0.995))
|
opt = AdaMax(0.001, (0.9, 0.995))
|
||||||
```
|
```
|
||||||
@ -405,7 +405,7 @@ Variant of ADAM defined by fixing weight decay regularization.
|
|||||||
## Examples
|
## Examples
|
||||||
```julia
|
```julia
|
||||||
opt = ADAMW() # uses default η, β and decay
|
opt = ADAMW() # uses default η, β and decay
|
||||||
opt = ADAMW(0.001, (0.89, 0.995), 0.1)
|
opt = ADAMW(0.001, (0.89, 0.995), 0.1)
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
Loading…
Reference in New Issue
Block a user