class_docstr: A callback to intentionally interrupt training.
code: def on_epoch_end(self, epoch, log=None):
      self.epoch_count += 1
      if (
          self.epoch_int is not None
          and self.epoch_count == self.epoch_int
      ):
          raise RuntimeError("EpochInterruption")
  
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 2 for calling the InterruptingCallback obj's underlying member method code with example usage: obj.on_epoch_end(epoch, log) without return types