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