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

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

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