(self)
Call all registered callbacks' on_train_end functions.
Call all registered callbacks' on_train_end functions.
Call all registered callbacks on_train_end functions .
def on_train_end(self):
        """
        Call all registered callbacks' on_train_end functions.
        """
        # reset the signal handler
        signal.signal(signal.SIGINT, signal.SIG_DFL)

        for c in self.callbacks:
            c.on_train_end(self.callback_data, self.model())

        self.callback_data.close()
def on_train_end ( self ) : # reset the signal handler signal . signal ( signal . SIGINT , signal . SIG_DFL ) for c in self . callbacks : c . on_train_end ( self . callback_data , self . model ( ) ) self . callback_data . close ( )