(self, x)
| 290 | nn.init.constant_(m.bias.data, 0) |
| 291 | |
| 292 | def forward(self, x): |
| 293 | x = self.feature_extractor(x) |
| 294 | x = F.relu(x) |
| 295 | if self.droprate > 0: |
| 296 | x = F.dropout(x, p=self.droprate) |
| 297 | |
| 298 | xyz = self.fc_xyz(x) |
| 299 | wpqr = self.fc_wpqr(x) |
| 300 | return torch.cat((xyz, wpqr), 1) |
| 301 | |
| 302 | class MapNet(nn.Module): |
| 303 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected