Accessing measured time per epoch shown in progress bar.
What is your question?
How do I access the measured time per epoch shown in progress bar?
Epoch 8: : 150it [00:03, 46.84it/s, loss=1.625, v_num=0]

It clearly says 00:03 i.e. 3 seconds and I could parse the logs as a hack, but I was wondering if there was any clean way to access the measured time elapsed per training epoch, as I would like to write it to a file.
And if not, how would you recommend timing each epoch? I could put a time.time() in training_step but then would need to add it all up in training_epoch_end, would this work? Thank you!
What's your environment?

OS: Mac OSX
Packaging: Pip-installed packages in a conda environment
Version: 0.7.1