MultiplicativeLR

MultiplicativeLR

class modelzoo.common.pytorch.optim.lr_scheduler.MultiplicativeLR (optimizer: torch.optim.optimizer.Optimizer, initial_learning_rate: float, coefficient: float, disable_lr_steps_reset: bool = False)

Multiply the learning rate of each parameter group by the supplied coefficient.

Parameters:

optimizer – The optimizer to schedule

initial_learning_rate – The initial learning rate

coefficient – Multiplicative factor of learning rate