code: def createLearningRateScheduler(self, optimizer):
      
      return torch.optim.lr_scheduler.StepLR(optimizer,
                                             step_size=1,
                                             gamma=self.lr_scheduler_gamma)
docs: Creates the learning rate scheduler and attach the optimizer