def on_batch_end(self, runner: "IRunner") -> None:
        """Computes the metric and add it to the batch metrics.

        Args:
            runner: current runner
        """
        # import ipdb; ipdb.set_trace()
        if self.scope == "batch":
            self._process_metrics("batch", runner.batch_metrics, runner)
Computes the metric and add it to the batch metrics.

        Args:
            runner: current runner
        
catalyst/callbacks/metric_aggregation.py