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

Method __init__

backends/arm/test/misc/test_transpose_counts.py:56–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

54
55class LinearModule(torch.nn.Module):
56 def __init__(self):
57 super().__init__()
58 self.fc = torch.nn.Linear(8, 4)
59
60 def forward(self, x):
61 return self.fc(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected