adam.opt: Create Adam optmiser

Description Usage Arguments Value Examples

Description

Creates an Adam optimiser.

Usage

1
adam.opt(pars)

Arguments

pars

list of reference objects of class 'number' representing the parameters to optmise.

Value

a reference object of class 'adam.opt'

Examples

1
2
3
4
5
modello.init(10, 10, 10, 10)
mdl = module.lm$new(1, 3, 1)
optimizer = adam.opt(mdl$pars())
is.opt(optimizer) # TRUE
modello.close()

modello documentation built on Feb. 2, 2021, 9:06 a.m.

Related to adam.opt in modello...