We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e679f9f commit 78ff247Copy full SHA for 78ff247
beginner_source/blitz/autograd_tutorial.py
@@ -89,7 +89,7 @@
89
# You should have got a matrix of ``4.5``. Let’s call the ``out``
90
# *Variable* “:math:`o`”.
91
# We have that :math:`o = \frac{1}{4}\sum_i z_i`,
92
-# :math:`z_i = 3(x_i+2)^2` and :math:`z_i\bigr\rvert_{x_i=1} = 27`.
+# :math:`z_i = 3(x_i+2)^2` and :math:`z_i\bigr\rvert_{x_i=1} = 18`.
93
# Therefore,
94
# :math:`\frac{\partial o}{\partial x_i} = \frac{3}{2}(x_i+2)`, hence
95
# :math:`\frac{\partial o}{\partial x_i}\bigr\rvert_{x_i=1} = \frac{9}{2} = 4.5`.
0 commit comments