Merge pull request #827 from ChrisRackauckas/patch-3

Momentum doesn't need params
This commit is contained in:
Dhairya Gandhi 2019-07-31 23:36:40 -04:00 committed by GitHub
commit 0a5ce0ed61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ function apply!(o::Descent, x, Δ)
end
"""
Momentum(params, η = 0.01; ρ = 0.9)
Momentum(η = 0.01; ρ = 0.9)
Gradient descent with learning rate `η` and momentum `ρ`.
"""