(rontolisp) docs
← Functions

torch:optimizer-params

(torch:optimizer-params optimizer)

Returns the list of parameter tensors the optimizer updates -- what its step function walks. When the optimizer was built over a module, this is the torch:parameters walk taken once, at construction.