Merge pull request #308 from forestschao/patch-1
Update 11_1_Shattered_Gradients.ipynb
This commit is contained in:
@@ -65,7 +65,7 @@
|
|||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"source": [
|
"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",
|
"def init_params(K, D):\n",
|
||||||
" # Set seed so we always get the same random numbers\n",
|
" # Set seed so we always get the same random numbers\n",
|
||||||
" np.random.seed(1)\n",
|
" np.random.seed(1)\n",
|
||||||
@@ -389,4 +389,4 @@
|
|||||||
"outputs": []
|
"outputs": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user