Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitsandbytes-foundation/bitsandbytes
/ get_test_dims
Function
get_test_dims
tests/helpers.py:67–68 ·
view source on GitHub ↗
(min: int, max: int, *, n: int)
Source
from the content-addressed store, hash-verified
65
66
67
def
get_test_dims(min: int, max: int, *, n: int) -> list[int]:
68
return
[test_dims_rng.randint(min, max)
for
_ in range(n)]
69
70
71
def
format_with_label(label: str, value: Any) -> str:
Callers
1
test_gemv_eye_4bit
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_gemv_eye_4bit
Method · 0.72