Optimizers
Optimizers provides a way to update the weights of Merlin.Var
.
x = zerograd(rand(Float32,5,4))
opt = SGD(0.001)
opt(x)
println(x.grad)
Optimizers provides a way to update the weights of Merlin.Var
.
x = zerograd(rand(Float32,5,4))
opt = SGD(0.001)
opt(x)
println(x.grad)