Use Trainer with2 optimizers?

Hi,

My model training involves iteratively optimize two parts of the model. It seems the Trainer only takes in one optimizer though. What’s the best way to approach this?

Thanks!