Class for managing the training process by logging and storing the state of the current epoch.
onmt.EpochState(epoch, numIterations, learningRate, lastValidPpl, status)
Initialize for epoch
epoch and training
status (current loss)
Update training status. Takes
batch (described in data.lua) and last loss.
Log to status stdout.