MCPcopy Create free account
hub / github.com/MotrixLab/AiOS / build_loss

Function build_loss

detrsmpl/models/losses/builder.py:56–60  ·  view source on GitHub ↗

Build loss.

(cfg)

Source from the content-addressed store, hash-verified

54
55
56def build_loss(cfg):
57 """Build loss."""
58 if cfg is None:
59 return None
60 return LOSSES.build(cfg)

Callers 7

__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected