MCPcopy Create free account
hub / github.com/pytorch/examples / __init__

Method __init__

fx/custom_tracer.py:46–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

44
45class M1(torch.nn.Module):
46 def __init__(self):
47 super().__init__()
48 self.relu = torch.nn.ReLU()
49
50 def forward(self, x):
51 return self.relu(x)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected