(self, x)
| 15 | self.w2 = nn.Linear(self.l_size, self.l_size) |
| 16 | |
| 17 | def forward(self, x): |
| 18 | y = self.w1(x) |
| 19 | y = self.nonlin1(y) |
| 20 | y = self.dropout1(y) |
| 21 | y = self.w2(y) |
| 22 | y = self.nonlin2(y) |
| 23 | out = x + y |
| 24 | |
| 25 | return out |
| 26 | |
| 27 | class FCNet(nn.Module): |
| 28 | def __init__(self, num_inputs, num_classes, dim_hidden): |
nothing calls this directly
no outgoing calls
no test coverage detected