MCPcopy Create free account
hub / github.com/pytorch/executorch / Foo

Class Foo

exir/program/test/test_program.py:158–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 forward = Forward()
157
158 class Foo(torch.nn.Module):
159 def forward(self, x: torch.Tensor) -> torch.Tensor:
160 return torch.add(x, torch.ones(1))
161
162 foo = Foo()
163

Callers 1

get_exported_programsFunction · 0.70

Calls

no outgoing calls

Tested by 1

get_exported_programsFunction · 0.56