(self, metadata=None)
Take actions at the beginning of a batch.
Take actions at the beginning of a batch.
Take actions at the beginning of a batch .
def on_batch_begin(self, metadata=None):
        """Take actions at the beginning of a batch."""
        for cb in self.callbacks:
            cb.on_batch_begin(metadata=metadata)
def on_batch_begin ( self , metadata = None ) : for cb in self . callbacks : cb . on_batch_begin ( metadata = metadata )