MCPcopy Create free account
hub / github.com/bitsandbytes-foundation/bitsandbytes / MockArgs

Class MockArgs

tests/test_modules.py:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18
19class MockArgs:
20 def __init__(self, initial_data):
21 for key in initial_data:
22 setattr(self, key, initial_data[key])
23
24
25class MLP8bit(torch.nn.Module):

Callers 1

get_argsFunction · 0.70

Calls

no outgoing calls

Tested by 1

get_argsFunction · 0.56