    def on_eval_batch_end(self, batch: Tuple, logs: Dict) -> None:
        """
        Hook function invoked after every batch calculation in evaluate stage.

        Args:
            batch (`Tuple`):
                The data batch to calculate.
            logs (`Dict`)
                Kv store to save and load info.
        """
        for cb in self.callbacks:
            cb.on_eval_batch_end(batch, logs)
Hook function invoked after every batch calculation in evaluate stage.

Args:
batch (`Tuple`):
The data batch to calculate.
logs (`Dict`)
Kv store to save and load info.
towhee/trainer/callback.py