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

Method __init__

flowmap/loss/loss_tracking.py:24–26  ·  view source on GitHub ↗
(self, cfg: LossTrackingCfg)

Source from the content-addressed store, hash-verified

22
23class LossTracking(Loss[LossTrackingCfg]):
24 def __init__(self, cfg: LossTrackingCfg) -> None:
25 super().__init__(cfg)
26 self.mapping = get_mapping(cfg.mapping)
27
28 def compute_unweighted_loss(
29 self,

Callers

nothing calls this directly

Calls 1

get_mappingFunction · 0.85

Tested by

no test coverage detected