def METHOD_NAME(self, outputs) -> None:
    metric_results = {name: metric.compute() for name, metric in self.val_metrics.items()}
    self.log_dict({f"val_{k}": v for k, v in metric_results.items()}, on_epoch=True)