class_docstr: A callback to intentionally interrupt training.
code: def on_batch_end(self, batch, logs=None):
      self.batch_count += 1
      if (
          self.steps_int is not None
          and self.batch_count == self.steps_int
      ):
          raise RuntimeError("StepsInterruption")
  
imports: import numpy
  import pytest
  from keras import callbacks
  from keras import layers
  from keras import testing
  from keras.models import Sequential
  from keras.utils import file_utils
label_desc: Use image node_id 3 for calling the InterruptingCallback obj's underlying member method code with example usage: obj.on_batch_end(batch, logs) without return types