MCPcopy
hub / github.com/patrick-kidger/jaxtyping / make_mlp

Function make_mlp

test/helpers.py:54–55  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

52
53@eqx.filter_jit
54def make_mlp(key):
55 return eqx.nn.MLP(2, 2, 2, 2, key=key)
56
57
58@contextlib.contextmanager

Callers 3

test_subscriptFunction · 0.85
test_leaf_pytreesFunction · 0.85
test_nested_pytreesFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_subscriptFunction · 0.68
test_leaf_pytreesFunction · 0.68
test_nested_pytreesFunction · 0.68