def on_step_end(self, step, logs={}):
for callback in self.callbacks:<EOL><INDENT>if callable(getattr(callback, '<STR_LIT>', None)):<EOL><INDENT>callback.on_step_end(step, logs=logs)<EOL><DEDENT>else:<EOL><INDENT>callback.on_batch_end(step, logs=logs)<EOL><DEDENT><DEDENT>
Called at end of each step for each callback in callbackList