Skip to content

Commit

Permalink
Update mental_model.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Aug 17, 2023
1 parent ec07f15 commit a6a267e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions docs/notebooks/mental_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"\n",
"3) **Transformation Transparent Code**: Write code that works under any `jax` transformation. This approach makes the code reusable, easier to understand, and less error-prone.\n",
"\n",
"\n",
"The following code showcases these principles"
]
},
Expand Down Expand Up @@ -40,8 +39,6 @@
"# to showcase the functional update of with stateful modules\n",
"# lets define a tree of modules with stateful updates in the call method\n",
"\n",
"\n",
"@sk.autoinit\n",
"class Linears(sk.TreeClass):\n",
" def __init__(self):\n",
" self.l1 = Linear(1, 120, key=jax.random.PRNGKey(0))\n",
Expand Down

0 comments on commit a6a267e

Please sign in to comment.