(self, epoch, minibatch)
Call all registered callbacks' on_minibatch_end functions.

        Arguments:
            epoch (int): index of current epoch
            minibatch (int): index of minibatch that is ending
Call all registered callbacks' on_minibatch_end functions.
Call all registered callbacks on_minibatch_end functions .
def on_minibatch_end(self, epoch, minibatch):
        """
        Call all registered callbacks' on_minibatch_end functions.

        Arguments:
            epoch (int): index of current epoch
            minibatch (int): index of minibatch that is ending
        """
        for c in self.callbacks:
            if c.should_fire(self.callback_data, self.model(), minibatch, c.minibatch_freq):
                c.on_minibatch_end(self.callback_data, self.model(), epoch, minibatch)

        # keep track of the number of mb per epoch, since they vary
        self.epoch_minibatches = minibatch + 1
def on_minibatch_end ( self , epoch , minibatch ) : for c in self . callbacks : if c . should_fire ( self . callback_data , self . model ( ) , minibatch , c . minibatch_freq ) : c . on_minibatch_end ( self . callback_data , self . model ( ) , epoch , minibatch ) # keep track of the number of mb per epoch, since they vary self . epoch_minibatches = minibatch + 1