Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions site/en/guide/intro_to_modules.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -942,11 +942,7 @@
"metadata": {
"id": "8i-CR_h2xw3z"
},
"source": [
"All the same features are available, including tracking variables and submodules.\n",
"\n",
"Note: A raw `tf.Module` nested inside a Keras layer or model will not get its variables collected for training or saving. Instead, nest Keras layers inside of Keras layers."
]
"source": "All the same features are available, including tracking variables and sub-layers.\n\nNote: A raw `tf.Module` nested inside a Keras layer or model will not get its variables collected for training or saving. Instead, nest Keras layers inside of Keras layers."
},
{
"cell_type": "code",
Expand All @@ -966,9 +962,7 @@
"id": "JjVAMrAJsQ7G"
},
"outputs": [],
"source": [
"my_sequential_model.submodules"
]
"source": "my_sequential_model.layers"
},
{
"cell_type": "markdown",
Expand Down