Skip to content

Commit 4b736a5

Browse files
committed
use the rst syntax.
1 parent 87949b0 commit 4b736a5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

beginner_source/basics/autogradqs_tutorial.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@
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>` for additional reference.
136+
# See this `note <https://docs.pytorch.org/docs/stable/notes/autograd.html#locally-disabling-gradient-computation>`_
137+
# for additional reference.
137138

138139
######################################################################
139140

@@ -163,10 +164,10 @@
163164
# To get a sense of what this computational graph looks like we can use the following tools:
164165
#
165166
# 1. torchviz is a package to visualize computational graphs
166-
# `<https://github.com/szagoruyko/pytorchviz>`
167+
# `pytorchviz <https://github.com/szagoruyko/pytorchviz>`_
167168
#
168169
# 2. TORCH_LOGS="+autograd" enables logging for the backward pass.
169-
# `<https://dev-discuss.pytorch.org/t/highlighting-a-few-recent-autograd-features-h2-2023/1787>`
170+
# `<https://dev-discuss.pytorch.org/t/highlighting-a-few-recent-autograd-features-h2-2023/1787>`_
170171
#
171172
#
172173
# .. note::

0 commit comments

Comments
 (0)