(self, x, **kwargs)
| 22 | self.dropout = nn.Dropout(dropout) |
| 23 | |
| 24 | def forward(self, x, **kwargs): |
| 25 | y = self.linear2(self.dropout(self.activation(self.linear1(x)))) |
| 26 | y = x + y |
| 27 | return y |
| 28 | |
| 29 | |
| 30 | class EncoderLayer(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected