MCPcopy Create free account
hub / github.com/pytorch/pytorch / fn

Method fn

test/distributed/test_data_parallel.py:47–48  ·  view source on GitHub ↗
(t)

Source from the content-addressed store, hash-verified

45 inp = torch.randn(2, 100, device='cuda', dtype=torch.double)
46
47 def fn(t):
48 return dpm(inp)
49
50 gradcheck(fn, (m.t_rg,))
51

Callers

nothing calls this directly

Calls 3

sinMethod · 0.45
cosMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected