From 5e726fcf4e74f012777875533087a7ad8020289d Mon Sep 17 00:00:00 2001 From: forestschao Date: Tue, 11 Nov 2025 17:44:46 -0800 Subject: [PATCH] Update 11_1_Shattered_Gradients.ipynb Fix the comments: K is depth. --- Notebooks/Chap11/11_1_Shattered_Gradients.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notebooks/Chap11/11_1_Shattered_Gradients.ipynb b/Notebooks/Chap11/11_1_Shattered_Gradients.ipynb index 578ac68..8d97137 100644 --- a/Notebooks/Chap11/11_1_Shattered_Gradients.ipynb +++ b/Notebooks/Chap11/11_1_Shattered_Gradients.ipynb @@ -65,7 +65,7 @@ { "cell_type": "code", "source": [ - "# K is width, D is number of hidden units in each layer\n", + "# K is depth, D is number of hidden units in each layer\n", "def init_params(K, D):\n", " # Set seed so we always get the same random numbers\n", " np.random.seed(1)\n", @@ -389,4 +389,4 @@ "outputs": [] } ] -} \ No newline at end of file +}