Skip to content

Commit 37f8e4c

Browse files
committed
Revert "More clear and intuitive math explanation"
1 parent b991891 commit 37f8e4c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Deep Learning with PyTorch.ipynb

+1-2
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
"source": [
427427
"You should have got a matrix of `4.5`.\n",
428428
"Let's call the `out` *Variable* \"$o$\". \n",
429-
"We have that $o = \\frac{1}{4}\\sum_i z_i$, $z_i = \\frac{3}{4}(x_i+2)^2$ and $z_i\\bigr\\rvert_{x_i=1} = 27$. Therefore, $\\frac{\\partial o}{\\partial x_i} = \\frac{6}{4}(x_i+2)$, hence $\\frac{\\partial o}{\\partial x_i}\\bigr\\rvert_{x_i=1} = \\frac{18}{4} = 4.5$."
429+
"We have that $o = \\frac{1}{4}\\sum_i z_i$, $z_i = 3(x_i+2)^2$ and $z_i\\bigr\\rvert_{x_i=1} = 27$. Therefore, $\\frac{\\partial o}{\\partial x_i} = \\frac{3}{2}(x_i+2)$, hence $\\frac{\\partial o}{\\partial x_i}\\bigr\\rvert_{x_i=1} = \\frac{9}{2} = 4.5$."
430430
]
431431
},
432432
{
@@ -1261,7 +1261,6 @@
12611261
}
12621262
],
12631263
"metadata": {
1264-
"anaconda-cloud": {},
12651264
"kernelspec": {
12661265
"display_name": "Python 2",
12671266
"language": "python",

0 commit comments

Comments
 (0)