We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7487a56 + 05c08f2 commit 36417b9Copy full SHA for 36417b9
1 file changed
intermediate_source/torch_compile_tutorial.py
@@ -330,7 +330,7 @@ def bar(a, b):
330
#
331
# The second time we run ``bar``, we take the other branch of the if statement
332
# and we get 1 traced graph corresponding to the code ``b = b * -1; return x * b``.
333
-# We do not see a graph of ``x = a / (torch.abs(a) + 1)`` outputted the second time
+# We do not see a graph of ``x = a / (torch.abs(a) + 1); b.sum()`` outputted the second time
334
# since ``torch.compile`` cached this graph from the first run and re-used it.
335
336
# Let's investigate by example how TorchDynamo would step through ``bar``.
0 commit comments