Skip to content

Commit

Permalink
Update linear.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Aug 1, 2023
1 parent 3984627 commit 6115e18
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions serket/nn/linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,7 @@ class MLP(sk.TreeClass):
>>> lazy_mlp = sk.nn.MLP(None, 1, num_hidden_layers=2, hidden_size=10)
>>> _, materialized_mlp = lazy_mlp.at['__call__'](jnp.ones([1, 10]))
>>> materialized_mlp.layers[0].in_features
(10,)
"""

def __init__(
Expand Down

0 comments on commit 6115e18

Please sign in to comment.