MCPcopy Create free account
hub / github.com/AMAP-ML/EMF / register

Function register

tok/models.py:9–13  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

7
8
9def register(name):
10 def decorator(cls):
11 models[name] = cls
12 return cls
13 return decorator
14
15
16def make(model_spec, args=None, load_sd=False) -> torch.nn.Module:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected