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

Function test_bitfeedforward_forward_pass

tests/test_bitffn.py:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18
19def test_bitfeedforward_forward_pass():
20 bitffn = BitFeedForward(dim=512, ff_mult=4)
21 x = torch.randn(1, 512)
22 out = bitffn(x)
23 assert out.shape == x.shape

Callers

nothing calls this directly

Calls 1

BitFeedForwardClass · 0.90

Tested by

no test coverage detected