(self, metadata=None)
Take actions when training interrupted.
Take actions when training interrupted.
Take actions when training interrupted .
def on_train_interrupt(self, metadata=None):
        """Take actions when training interrupted."""
        for cb in self.callbacks:
            cb.on_train_interrupt(metadata=metadata)
def on_train_interrupt ( self , metadata = None ) : for cb in self . callbacks : cb . on_train_interrupt ( metadata = metadata )