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

Method __init__

flowmap/loss/loss_flow.py:27–29  ·  view source on GitHub ↗
(self, cfg: LossFlowCfg)

Source from the content-addressed store, hash-verified

25
26class LossFlow(Loss[LossFlowCfg]):
27 def __init__(self, cfg: LossFlowCfg) -> None:
28 super().__init__(cfg)
29 self.mapping = get_mapping(cfg.mapping)
30
31 def compute_unweighted_loss(
32 self,

Callers

nothing calls this directly

Calls 1

get_mappingFunction · 0.85

Tested by

no test coverage detected