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

Class M1

fx/custom_tracer.py:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43"""
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)
52
53default_traced: GraphModule = symbolic_trace(M1())
54"""

Callers 1

custom_tracer.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected