We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ede8d60 commit 2e7943aCopy full SHA for 2e7943a
recipes_source/torch_compile_torch_function_modes.py
@@ -17,7 +17,7 @@
17
18
#####################################################################
19
# Rewriting a torch op (torch.add -> torch.mul)
20
-# ~~~~~~~~~~~~~~~~~~~~~
+# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
21
# For this example, we'll use torch function modes to rewrite occurences
22
# of addition with multiply instead. This type of override can be common
23
# if a certain backend has a custom implementation that should be dispatched
0 commit comments