MCPcopy Create free account
hub / github.com/kyegomez/BitNet / test_bitlinear_groups

Function test_bitlinear_groups

tests/tests.py:66–68  ·  view source on GitHub ↗
(groups)

Source from the content-addressed store, hash-verified

64
65@pytest.mark.parametrize("groups", [1, 2, 5])
66def test_bitlinear_groups(groups):
67 layer = BitLinear(10, 20, groups=groups)
68 assert layer.groups == groups
69
70
71def test_bitlinear_reset_parameters():

Callers

nothing calls this directly

Calls 1

BitLinearClass · 0.90

Tested by

no test coverage detected