(self, x)
| 25 | self.drop = nn.Dropout(drop) |
| 26 | |
| 27 | def forward(self, x): |
| 28 | x = self.fc1(x) |
| 29 | x = self.act(x) |
| 30 | x = self.drop(x) |
| 31 | x = self.fc2(x) |
| 32 | x = self.drop(x) |
| 33 | return x |
| 34 | |
| 35 | def conv_layer(in_dim, out_dim, kernel_size=1, padding=0, stride=1): |
| 36 | return nn.Sequential( |
nothing calls this directly
no outgoing calls
no test coverage detected