(self, x)
| 19 | self.drop = nn.Dropout(drop) |
| 20 | |
| 21 | def forward(self, x): |
| 22 | x = self.fc1(x) |
| 23 | x = self.act(x) |
| 24 | x = self.drop(x) |
| 25 | x = self.fc2(x) |
| 26 | x = self.drop(x) |
| 27 | return x |
| 28 | |
| 29 | |
| 30 | class Attention(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected