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

Method func

utils/generate-dummy-bitnet-model.py:301–304  ·  view source on GitHub ↗
(modelcls: type[Model])

Source from the content-addressed store, hash-verified

299 assert names
300
301 def func(modelcls: type[Model]):
302 for name in names:
303 cls._model_classes[name] = modelcls
304 return modelcls
305 return func
306
307 @classmethod

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected