Skip to content

Commit 8251141

Browse files
authored
Apply suggestions from code review
Small formatting fixes
1 parent e580c60 commit 8251141

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

intermediate_source/torch_compile_tutorial.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,11 @@ def forward(self, x):
136136

137137
######################################################################
138138
# We can also disable some functions from being compiled by using
139-
# `torch.compiler.disable`. Suppose you want to disable the tracing on just
140-
# the `complex_function` function, but want to continue the tracing back in
141-
# `complex_conjugate`. In this case, you can use
142-
# `torch.compiler.disable(recursive=False)` option. Otherwise, the default is
143-
# `recursive=True`.
139+
# ``torch.compiler.disable``. Suppose you want to disable the tracing on just
140+
# the ``complex_function`` function, but want to continue the tracing back in
141+
# ``complex_conjugate``. In this case, you can use
142+
# ``torch.compiler.disable(recursive=False)`` option. Otherwise, the default is
143+
# ``recursive=True``.
144144

145145
def complex_conjugate(z):
146146
return torch.conj(z)

0 commit comments

Comments
 (0)