Created by: pengli09
Models should be saved by trainer.save_parameter_to_tar(f) instead of parameters.to_tar(f). Otherwise, model average will not take effect.
trainer.save_parameter_to_tar(f)
parameters.to_tar(f)