Update 11_1_Shattered_Gradients.ipynb

Fix the comments: K is depth.
This commit is contained in:
forestschao
2025-11-11 17:44:46 -08:00
committed by GitHub
parent 6a8273459f
commit 5e726fcf4e

View File

@@ -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",