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

Method __init__

exir/program/test/test_program.py:110–112  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

108
109class TestLSTM(torch.nn.Module):
110 def __init__(self):
111 super().__init__()
112 self.lstm = torch.nn.LSTM(input_size=8, hidden_size=16, batch_first=True)
113
114 def forward(self, x):
115 return self.lstm(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected