def METHOD_NAME(self, results: list) -> dict:
    """Compute the metrics from processed results.
    If `metric_type` is 'TEM', only dump middle results and do not compute
    any metrics.
    Args:
        results (list): The processed results of each batch.
    Returns:
        dict: The computed metrics. The keys are the names of the metrics,
        and the values are corresponding results.
    """
    self.dump_results(results)
    if self.metric_type == 'AR@AN':
        return self.compute_ARAN(results)
    return OrderedDict()