def reset_meters(name: str) -> None:
    """Reset Meter instances aggregated under a given *name*."""
    meters = get_meters(name)
    if meters is not None:
        meters.reset()
Reset Meter instances aggregated under a given *name*.
understand_icl/fairseq/fairseq/logging/metrics.py