class_docstr: Stop training when a specified amount of time has passed.
  
  Args:
      seconds: maximum amount of time before stopping.
          Defaults to 86400 (1 day).
      verbose: verbosity mode. Defaults to 0.
code: def on_train_end(self, logs=None):
      if self.stopped_epoch is not None and self.verbose > 0:
          formatted_time = datetime.timedelta(seconds=self.seconds)
          msg = (
              "Timed stopping at epoch {} after training for {}".format(
                  self.stopped_epoch + 1, formatted_time
              )
          )
          print(msg)
  
file_path: addons/tensorflow_addons/callbacks/time_stopping.py
imports: import datetime
  import time
  from typeguard import typechecked
  import tensorflow
  from tensorflow.keras.callbacks import Callback
label_desc: Use image node_id 4 for calling the TimeStopping obj's underlying member method code with example usage: obj.on_train_end(logs) without return types