MCPcopy Create free account
hub / github.com/dcharatan/flowmap / Metric

Class Metric

paper/common.py:59–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57
58@dataclass(frozen=True)
59class Metric:
60 tag: str
61 full_name: str
62
63 # The order determines what the metric means:
64 # 1: higher is better
65 # 0: there's no concept of ranking
66 # -1: lower is better
67 order: int
68
69
70METRIC_PSNR = Metric("psnr", "PSNR", 1)

Callers 1

common.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected