Use a pure PyTorch training loop¶ Enable manual optimization Gain control of the training loop with manual optimization and LightningModule methods. advanced