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

Method forward

fx/custom_tracer.py:50–51  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

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

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected