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

Method __init__

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

Source from the content-addressed store, hash-verified

56
57class AddMulModule(torch.nn.Module, EagerModelBase):
58 def __init__(self):
59 super().__init__()
60
61 def forward(self, a, x, b):
62 y = torch.mm(a, x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected