(name)
| 7 | |
| 8 | |
| 9 | def register(name): |
| 10 | def decorator(cls): |
| 11 | models[name] = cls |
| 12 | return cls |
| 13 | return decorator |
| 14 | |
| 15 | |
| 16 | def make(model_spec, args=None, load_sd=False) -> torch.nn.Module: |
nothing calls this directly
no outgoing calls
no test coverage detected