Skip to content

Commit d732d69

Browse files
committed
Merge branch 'pianpwk/export_dynamic_shapes_12_2024' of https://github.com/pytorch/tutorials into pianpwk/export_dynamic_shapes_12_2024
2 parents 88d6172 + f7a6913 commit d732d69

File tree

3 files changed

+253
-347
lines changed

3 files changed

+253
-347
lines changed

beginner_source/blitz/autograd_tutorial.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,23 +191,22 @@
191191
# .. math::
192192
#
193193
#
194-
# J^{T}\cdot \vec{v}=\left(\begin{array}{ccc}
194+
# J^{T}\cdot \vec{v} = m \cdot \left(\begin{array}{ccc}
195195
# \frac{\partial y_{1}}{\partial x_{1}} & \cdots & \frac{\partial y_{m}}{\partial x_{1}}\\
196196
# \vdots & \ddots & \vdots\\
197197
# \frac{\partial y_{1}}{\partial x_{n}} & \cdots & \frac{\partial y_{m}}{\partial x_{n}}
198198
# \end{array}\right)\left(\begin{array}{c}
199199
# \frac{\partial l}{\partial y_{1}}\\
200200
# \vdots\\
201201
# \frac{\partial l}{\partial y_{m}}
202-
# \end{array}\right)=\left(\begin{array}{c}
202+
# \end{array}\right) = m \cdot \left(\begin{array}{c}
203203
# \frac{\partial l}{\partial x_{1}}\\
204204
# \vdots\\
205205
# \frac{\partial l}{\partial x_{n}}
206206
# \end{array}\right)
207207
#
208208
# This characteristic of vector-Jacobian product is what we use in the above example;
209209
# ``external_grad`` represents :math:`\vec{v}`.
210-
#
211210

212211

213212

en-wordlist.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Captum
3333
Captum's
3434
CartPole
3535
Cayley
36+
CharRNN
3637
Chatbots
3738
Chen
3839
Colab
@@ -155,6 +156,7 @@ MaskRCNN
155156
Minifier
156157
MobileNet
157158
ModelABC
159+
MPS
158160
Mypy
159161
NAS
160162
NCCL
@@ -376,6 +378,7 @@ enum
376378
eq
377379
equalities
378380
et
381+
eval
379382
evaluateInput
380383
extensibility
381384
fastai
@@ -427,6 +430,7 @@ jpg
427430
json
428431
judgements
429432
jupyter
433+
kernels
430434
keypoint
431435
kwargs
432436
labelled
@@ -613,6 +617,7 @@ uncomment
613617
uncommented
614618
underflowing
615619
unfused
620+
unicode
616621
unimodal
617622
unigram
618623
unnormalized

0 commit comments

Comments
 (0)