'Called at the end of training.
# Arguments
logs: dictionary of logs.'

def on_train_end(self, logs=None):

    logs = (logs or {})
    for callback in self.callbacks:
        callback.on_train_end(logs)
