Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
class
MockArgs:
20
def
__init__(self, initial_data):
21
for
key in initial_data:
22
setattr(self, key, initial_data[key])
23
24
25
class
MLP8bit(torch.nn.Module):
Callers
1
get_args
Function · 0.70
Calls
no outgoing calls
Tested by
1
get_args
Function · 0.56