Hello,
You could get some references from here. 535
If you don’t give any to the optimizer, it will raise an error of empty parameter list.
You could pass a list of parameters or a dict of parameters with other hyperparameters (such as lr, momentum …) to the oprimizer.