diff --git a/site/en/guide/intro_to_modules.ipynb b/site/en/guide/intro_to_modules.ipynb index 79bbe89ca5..e227bb90d6 100644 --- a/site/en/guide/intro_to_modules.ipynb +++ b/site/en/guide/intro_to_modules.ipynb @@ -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", @@ -966,9 +962,7 @@ "id": "JjVAMrAJsQ7G" }, "outputs": [], - "source": [ - "my_sequential_model.submodules" - ] + "source": "my_sequential_model.layers" }, { "cell_type": "markdown",