guides/writing_your_own_callbacks.py/CustomCallback/on_epoch_begin
class CustomCallback:    def on_epoch_begin(self, epoch, logs=None):
        keys = list(logs.keys())
        print(
            "Start epoch {} of training; got log keys: {}".format(epoch, keys)
        )