This function is used to define hyper-parameters for the optimizer initialization method.
set_opt_hparams(module, ...)The same luz module
An nn_module that has been setup().
The parameters passed here will be used to initialize the optimizers.
For example, if your optimizer is optim_adam and you pass lr=0.1, then the
optim_adam function is called with optim_adam(parameters, lr=0.1) when fitting
the model.
Other set_hparam:
set_hparams()