Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ASEM000 committed Sep 12, 2023
1 parent 241d7fa commit 21a09c3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
13 changes: 0 additions & 13 deletions docs/examples.rst

This file was deleted.

11 changes: 7 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,17 @@ Install from github::
:maxdepth: 1

notebooks/mental_model
notebooks/train_eval
notebooks/lazy_initialization

.. toctree::
:caption: Examples
:caption: 📖 Guides
:maxdepth: 1

examples
train_examples
notebooks/train_eval
notebooks/lazy_initialization
notebooks/train_mp
notebooks/checkpointing
notebooks/regularization


.. currentmodule:: serket
Expand Down
12 changes: 4 additions & 8 deletions docs/notebooks/checkpointing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Original net\n",
"========================================\n",
"*Original net*\n",
"Sequential(\n",
" layers=(\n",
" Linear(\n",
Expand All @@ -59,8 +58,7 @@
" )\n",
" )\n",
")\n",
"Loaded net\n",
"========================================\n",
"*Loaded net*\n",
"Sequential(\n",
" layers=(\n",
" Linear(\n",
Expand Down Expand Up @@ -119,11 +117,9 @@
"# 5) unmask the loaded tree\n",
"loaded_net = sk.tree_unmask(loaded_net)\n",
"\n",
"print(\"Original net\")\n",
"print(\"=\"*40)\n",
"print(\"*Original net*\")\n",
"print(repr(net))\n",
"print(\"Loaded net\")\n",
"print(\"=\"*40)\n",
"print(\"*Loaded net*\")\n",
"print(repr(loaded_net))"
]
},
Expand Down

0 comments on commit 21a09c3

Please sign in to comment.