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