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

Function test_bitnet_transformer_output_shapes

tests/tests.py:256–260  ·  view source on GitHub ↗
(
    bitnet_model, input_value, expected_output_shape
)

Source from the content-addressed store, hash-verified

254 ],
255)
256def test_bitnet_transformer_output_shapes(
257 bitnet_model, input_value, expected_output_shape
258):
259 logits = bitnet_model(input_value)
260 assert logits.shape == expected_output_shape
261
262
263def test_exceptions_on_wrong_dtype():

Callers

nothing calls this directly

Calls 1

bitnet_modelFunction · 0.85

Tested by

no test coverage detected