def reset_meter(name: str, key: str) -> None:
    """Reset Meter instance aggregated under a given *name* and *key*."""
    meter = get_meter(name, key)
    if meter is not None:
        meter.reset()
Reset Meter instance aggregated under a given *name* and *key*.
fairseq/logging/metrics.py