MCPcopy 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

87class 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

sinMethod · 0.45
sumMethod · 0.45
tanhMethod · 0.45
backwardMethod · 0.45
parametersMethod · 0.45

Tested by

no test coverage detected