Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytorch/pytorch
/ f
Method
f
test/functorch/test_aotdispatch.py:89–90 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
87
class
TestPythonKey(AOTTestCase):
88
def
test_make_fx(self, device):
89
def
f(x):
90
return
torch.sin(x)
91
inp = torch.randn(3)
92
fx_f = make_fx(f)(inp)
93
Callers
nothing calls this directly
Calls
5
sin
Method · 0.45
sum
Method · 0.45
tanh
Method · 0.45
backward
Method · 0.45
parameters
Method · 0.45
Tested by
no test coverage detected