From de450d8077437114273ba45ff9839f1e30be06ad Mon Sep 17 00:00:00 2001 From: Fai Sharji Date: Wed, 25 Dec 2019 23:00:26 -0500 Subject: [PATCH] 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. --- 11_training_deep_neural_networks.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/11_training_deep_neural_networks.ipynb b/11_training_deep_neural_networks.ipynb index 5ad951f..f80db42 100644 --- a/11_training_deep_neural_networks.ipynb +++ b/11_training_deep_neural_networks.ipynb @@ -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", "])" ]