(self, x)
| 184 | return nn.Sequential(*layers) |
| 185 | |
| 186 | def forward(self, x): |
| 187 | x = self.bottleneck1(x) |
| 188 | x = self.bottleneck2(x) |
| 189 | x = self.bottleneck3(x) |
| 190 | x = torch.cat([x, *self.ppm(x)], dim=1) |
| 191 | x = self.out(x) |
| 192 | return x |
| 193 | |
| 194 | |
| 195 | class FeatureFusionModule(nn.Module): |
nothing calls this directly
no outgoing calls
no test coverage detected