def METHOD_NAME(cls, logging_outputs) -> None:
    super().METHOD_NAME(logging_outputs)
    latency = sum(log.get("latency", 0) for log in logging_outputs)
    delays_var = sum(log.get("delays_var", 0) for log in logging_outputs)
    latency_loss = sum(log.get("latency_loss", 0) for log in logging_outputs)
    nsentences = sum(log.get("nsentences", 0) for log in logging_outputs)
    metrics.log_scalar("latency", latency.float() / nsentences, nsentences, round=3)
    metrics.log_scalar("delays_var", delays_var / nsentences, nsentences, round=3)
    metrics.log_scalar(
        "latency_loss", latency_loss / nsentences, nsentences, round=3
    )