Skip to content

Commit 4e3a4f9

Browse files
authored
Update inductor_windows_cpu.rst
1 parent 78189ed commit 4e3a4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prototype_source/inductor_windows_cpu.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Here’s a simple example to demonstrate how to use TorchInductor:
7474
import torch
7575
def foo(x, y):
7676
a = torch.sin(x)
77-
b = torch.cos(x)
77+
b = torch.cos(y)
7878
return a + b
7979
opt_foo1 = torch.compile(foo)
8080
print(opt_foo1(torch.randn(10, 10), torch.randn(10, 10)))

0 commit comments

Comments
 (0)