mirror of
https://github.com/ArthurDanjou/handson-ml3.git
synced 2026-01-14 12:14:36 +01:00
Update 11_training_deep_neural_networks.ipynb
Swapped the Activation and BatchNormalization lines in order to make the code consistent with the description and the book (p. 343), i.e. adding the BN layers BEFORE the activation function.
This commit is contained in:
@@ -715,8 +715,8 @@
|
||||
" keras.layers.BatchNormalization(),\n",
|
||||
" keras.layers.Activation(\"relu\"),\n",
|
||||
" keras.layers.Dense(100, use_bias=False),\n",
|
||||
" keras.layers.Activation(\"relu\"),\n",
|
||||
" keras.layers.BatchNormalization(),\n",
|
||||
" keras.layers.Activation(\"relu\"),\n",
|
||||
" keras.layers.Dense(10, activation=\"softmax\")\n",
|
||||
"])"
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user