Skip to content

Commit 2e7943a

Browse files
mlazossvekars
andauthored
Update recipes_source/torch_compile_torch_function_modes.py
Co-authored-by: Svetlana Karslioglu <[email protected]>
1 parent ede8d60 commit 2e7943a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/torch_compile_torch_function_modes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
#####################################################################
1919
# Rewriting a torch op (torch.add -> torch.mul)
20-
# ~~~~~~~~~~~~~~~~~~~~~
20+
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2121
# For this example, we'll use torch function modes to rewrite occurences
2222
# of addition with multiply instead. This type of override can be common
2323
# if a certain backend has a custom implementation that should be dispatched

0 commit comments

Comments
 (0)