is.opt: Is Optimiser

Description Usage Arguments Value Author(s) Examples

Description

Check if an object is an optimiser.

Usage

1
is.opt(x)

Arguments

x

objcet

Value

Return TRUE/FALSE

Author(s)

Filippo Monari

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 is.opt in modello...