code: def on_step_end(self, **kwargs):
          "Put the LR back to its value if necessary."
          if not self.learn.gan_trainer.gen_mode: self.learn.opt.lr /= self.mult_lf on_step_end(self, **kwargs):
          "Put the LR back to its value if necessary."
          if not self.learn.gan_trainer.gen_mode: self.learn.opt.lr /= self.mult_lr
docs: Put the LR back to its value if necessary.