Save Trainer Checkpoint
save_trainer_checkpoint(trainer, filename)
the Trainer instance on which to perform the operation