Chainer supports Trainer feature from v1.11.0. But current Chainer-Deepmark writes training loops manually.