How to switch from optimizer during training

my bad, should be accelerator_backend.