update!
function
defined in module
Flux.Optimise
update!(opt, p, g)
update!(opt, ps::Params, gs)
Perform an update step of the parameters
ps
(or the single parameter
p
) according to optimizer
opt
and the gradients
gs
(the gradient
g
).
As a result, the parameters are mutated and the optimizer's internal state may change. The gradient could be mutated as well.
There are
3
methods for Flux.Optimise.update!
:
The following pages link back here: