torchoutil
Get the learning rate of the first group of an optimizer.
optim: The optimizer to get. idx: The group index of the learning rate in the optimizer. defaults to 0.
Get the learning rates in all groups of an optimizer.
optim: The optimizer to get.