(self, x)
| 33 | self.drop = nn.Dropout(drop) |
| 34 | |
| 35 | def forward(self, x): |
| 36 | x = self.fc1(x) |
| 37 | x = self.act(x) |
| 38 | x = self.drop(x) |
| 39 | x = self.fc2(x) |
| 40 | x = self.drop(x) |
| 41 | |
| 42 | return x |
| 43 | |
| 44 | |
| 45 | class Mlp_ln(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected