keras/src/callbacks/callback_list.py/CallbackList/on_train_batch_end
class CallbackList:    def on_train_batch_end(self, batch, logs=None):
        logs = logs or {}
        for callback in self.callbacks:
            callback.on_train_batch_end(batch, logs=logs)