xlnstorch.optim.lr_scheduler.LNSPolynomialLR#
- class xlnstorch.optim.lr_scheduler.LNSPolynomialLR(optimizer, total_iters=5, power=0.9, last_epoch=-1)#
An LNS learning rate scheduler that decays the learning rate of each parameter group by a polynomial factor in the given total_iters.
See also:
torch.optim.lr_scheduler.PolynomialLR- Parameters:
- __init__(optimizer, total_iters=5, power=0.9, last_epoch=-1)#
Methods