MCPcopy 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
67def 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
71def format_with_label(label: str, value: Any) -> str:

Callers 1

test_gemv_eye_4bitMethod · 0.90

Calls

no outgoing calls

Tested by 1

test_gemv_eye_4bitMethod · 0.72