code: def on_batch_end(self, train, **kwargs):
          "Take the stored results and puts it in `self.stats`"
          if train: self.stats.append(self.hooks.storedf on_batch_end(self, train, **kwargs):
          "Take the stored results and puts it in `self.stats`"
          if train: self.stats.append(self.hooks.stored)
docs: Take the stored results and puts it in `self.stats`