Skip to content

Commit

Permalink
Update intro_to_modules.ipynb
Browse files Browse the repository at this point in the history
Added keras import on top of the code.
  • Loading branch information
RenuPatelGoogle authored Oct 17, 2023
1 parent a7d2c63 commit a3c2132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/guide/intro_to_modules.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
"outputs": [],
"source": [
"import tensorflow as tf\n",
"import keras\n",
"from datetime import datetime\n",
"\n",
"%load_ext tensorboard"
Expand Down Expand Up @@ -918,7 +919,6 @@
},
"outputs": [],
"source": [
"import keras\n",
"@keras.saving.register_keras_serializable()\n",
"class MySequentialModel(tf.keras.Model):\n",
" def __init__(self, name=None, **kwargs):\n",
Expand Down

0 comments on commit a3c2132

Please sign in to comment.