I want to compare the computation time between different models. During the fit the computation time per epoch is printed to the console.
Epoch 5/5
160000/160000 [==============================] - **10s** ......
I'm looking for a way to store these times in a similar way to the model metrics that are saved in each epoch and avaliable through the history object.
Try the following callback:
Then:
In this case
times
should store the epoch computation times.refer to answers of Marcin Możejko
then
excution log
then
output