jactorch.optim.optimizer_group#
Classes
A group of optimizers. |
Class OptimizerGroup
- class OptimizerGroup[source]#
Bases:
CustomizedOptimizer
A group of optimizers. Useful when using multiple optimizers for different parts of the model.
- __init__(**optimizers)[source]#
Initialize the optimizer group.
- Parameters:
**optimizers – the list of optimizers.
- __new__(**kwargs)#
- property param_groups#
The parameter groups of the optimizer.
- property state#
The state of the optimizer.