MCPcopy Create free account
hub / github.com/microsoft/BitNet / func

Method func

utils/convert-hf-to-gguf-bitnet.py:229–232  ·  view source on GitHub ↗
(modelcls: type[Model])

Source from the content-addressed store, hash-verified

227 assert names
228
229 def func(modelcls: type[Model]):
230 for name in names:
231 cls._model_classes[name] = modelcls
232 return modelcls
233 return func
234
235 @classmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected