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

Method __init__

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

Source from the content-addressed store, hash-verified

100
101class ModuleLinear(torch.nn.Module):
102 def __init__(self):
103 super().__init__()
104 self.linear = torch.nn.Linear(3, 3)
105
106 def forward(self, x: torch.Tensor):
107 return self.linear(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected