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

Method __init__

examples/models/toy_model/model.py:43–44  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41
42class AddModule(torch.nn.Module, EagerModelBase):
43 def __init__(self):
44 super().__init__()
45
46 def forward(self, x, y):
47 z = x + y

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected