(self)
| 136 | |
| 137 | class 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) |
no outgoing calls
no test coverage detected