def prepare_optimizers(self):
    optimizers = self.get_optimizers_iterable()
    if (not self.trainer.lightning_module.automatic_optimization):
        optimizers = [optimizers[0]]
    return optimizers
def prepare_optimizers(self):
    optimizers = self.get_optimizers_iterable()
    if (not self.trainer.lightning_module.automatic_optimization):
        optimizers = [optimizers[0]]
    return optimizers