Implement the ExponentialLR learning rate scheduler. The learning rate decays exponentially every epoch by multiplying with gamma.
def exponential_lr(initial_lr: float, gamma: float, epoch: int) -> float:
return initial_lr * (gamma ** epoch)initial_lr * gamma^epoch.initial_lr=0.1 and gamma=0.95, at epoch 10 the LR is 0.1 * 0.95^10 ≈ 0.0598.