From 3cb0cd6c2c70604a996a03c3e792e969ff55f9b0 Mon Sep 17 00:00:00 2001 From: MatchCat Date: Wed, 11 Dec 2024 21:58:32 +0800 Subject: [PATCH] fixing issue#2168 --- beginner_source/blitz/autograd_tutorial.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beginner_source/blitz/autograd_tutorial.py b/beginner_source/blitz/autograd_tutorial.py index 2c0d5909685..b31a30409aa 100644 --- a/beginner_source/blitz/autograd_tutorial.py +++ b/beginner_source/blitz/autograd_tutorial.py @@ -191,7 +191,7 @@ # .. math:: # # -# J^{T}\cdot \vec{v}=\left(\begin{array}{ccc} +# J^{T}\cdot \vec{v} = m \cdot \left(\begin{array}{ccc} # \frac{\partial y_{1}}{\partial x_{1}} & \cdots & \frac{\partial y_{m}}{\partial x_{1}}\\ # \vdots & \ddots & \vdots\\ # \frac{\partial y_{1}}{\partial x_{n}} & \cdots & \frac{\partial y_{m}}{\partial x_{n}} @@ -199,7 +199,7 @@ # \frac{\partial l}{\partial y_{1}}\\ # \vdots\\ # \frac{\partial l}{\partial y_{m}} -# \end{array}\right)=\left(\begin{array}{c} +# \end{array}\right) = m \cdot \left(\begin{array}{c} # \frac{\partial l}{\partial x_{1}}\\ # \vdots\\ # \frac{\partial l}{\partial x_{n}} @@ -207,7 +207,6 @@ # # This characteristic of vector-Jacobian product is what we use in the above example; # ``external_grad`` represents :math:`\vec{v}`. -#