def METHOD_NAME(self, logs=None):
    eval_logs = {
        "eval_" + key: (metric[0] if isinstance(metric, list) else metric)
        for key, metric in logs.items()
    }
    self._log_metrics(eval_logs, self.epoch)