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

Method __init__

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

Source from the content-addressed store, hash-verified

136
137class LstmModule(torch.nn.Module):
138 def __init__(self):
139 super().__init__()
140 self.lstm = torch.nn.LSTM(
141 input_size=8, hidden_size=4, num_layers=1, batch_first=True
142 )
143
144 def forward(self, x):
145 y, _ = self.lstm(x)

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected