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

Function test_bitlinear_initialization

tests/tests.py:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20
21
22def test_bitlinear_initialization():
23 layer = BitLinear(10, 20)
24 assert layer.in_features == 10
25 assert layer.out_features == 20
26 assert layer.weight.shape == (20, 10)
27
28
29def test_bitlinear_forward():

Callers

nothing calls this directly

Calls 1

BitLinearClass · 0.90

Tested by

no test coverage detected