Skip to content

Commit b9576f7

Browse files
committed
fix:link syntax.
1 parent d729cd6 commit b9576f7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

beginner_source/basics/autogradqs_tutorial.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
# - To mark some parameters in your neural network as **frozen parameters**.
134134
# - To **speed up computations** when you are only doing forward pass, because computations on tensors that do
135135
# not track gradients would be more efficient.
136-
# See this `note <https://docs.pytorch.org/docs/stable/notes/autograd.html#locally-disabling-gradient-computation>`_
136+
# See this `note <https://docs.pytorch.org/docs/stable/notes/autograd.html#locally-disabling-gradient-computation>`_
137137
# for additional reference.
138138

139139
######################################################################
@@ -163,11 +163,12 @@
163163
#
164164
# To get a sense of what this computational graph looks like we can use the following tools:
165165
#
166-
# 1. torchviz is a package to visualize computational graphs
167-
# `pytorchviz <https://github.com/szagoruyko/pytorchviz>`_
166+
#1. torchviz is a package to visualize computational graphs.
167+
# See the repository here: `https://github.com/szagoruyko/pytorchviz <https://github.com/szagoruyko/pytorchviz>`_
168+
#
169+
#2. Setting ``TORCH_LOGS="+autograd"`` enables logging for the backward pass. See details in this
170+
# discussion: `https://dev-discuss.pytorch.org/t/highlighting-a-few-recent-autograd-features-h2-2023/1787 <https://dev-discuss.pytorch.org/t/highlighting-a-few-recent-autograd-features-h2-2023/1787>`_
168171
#
169-
# 2. TORCH_LOGS="+autograd" enables logging for the backward pass.
170-
# `<https://dev-discuss.pytorch.org/t/highlighting-a-few-recent-autograd-features-h2-2023/1787>`_
171172
#
172173
#
173174
# .. note::

0 commit comments

Comments
 (0)