(self, callback_data, model)
Called when training is about to end

        Arguments:
            callback_data (HDF5 dataset): shared data between callbacks
            model (Model): model object
Called when training is about to end
Called when training is about to end
def on_train_end(self, callback_data, model):
        """
        Called when training is about to end

        Arguments:
            callback_data (HDF5 dataset): shared data between callbacks
            model (Model): model object
        """
        callback_data['time/train/end_time'][0] = time.time()
        callback_data['time/train/end_time'].attrs['units'] = 'seconds'
def on_train_end ( self , callback_data , model ) : callback_data [ 'time/train/end_time' ] [ 0 ] = time . time ( ) callback_data [ 'time/train/end_time' ] . attrs [ 'units' ] = 'seconds'