Allow .write and .write_dict with TrainResult.
🚀 Feature
Allow .write and .write_dict with TrainResult.
Motivation

Can be used to check the results generated by GAN (generator) over the course of an epoch to visualize and check the learning process of the generator.

Pitch
Similar to that with EvalResult.
Let me know what you guys think. :)