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

Method __init__

test/models/export_program.py:104–105  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

102
103class ModuleAddHalf(nn.Module):
104 def __init__(self):
105 super().__init__()
106
107 def forward(self, x, y, alpha):
108 return torch.add(x, y, alpha=alpha)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected