code: def signal_handler(self, signal, frame):
      print("\n\nStopping...\n\n")
      self.model.stop_training = True
  
file_path: elegy/elegy/callbacks/sigint.py
imports: import enum
  import logging
  import signal
  import typing
  import numpy
  from .callback import Callback
label_desc: Use image node_id 2 for calling the SigInt obj's underlying member method code with example usage: obj.signal_handler(signal, frame) without return types