metrics ΒΆ
Auto-discover and register all built-in metrics (recursive).
Walks the metrics package tree and imports any leaf-package's metric module so @register decorators fire. Path components starting with _ are skipped (used for shared helpers like optical_flow/_shared.py and vbench/_grit_helper.py).