MCPcopy Create free account
hub / github.com/pytorch/tutorials / f

Function f

recipes_source/debug_mode_tutorial.py:115–116  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

113# Pre/post hash annotations report buffer hashes around each kernel call, which
114# is helpful when isolating incorrect kernels.
115def f(x):
116 return torch.mm(torch.relu(x), x.T)
117
118x = torch.randn(3, 3, device="cuda")
119

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected