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*.
fairseq/logging/metrics.py