(self, in_channel, mlp)
| 287 | |
| 288 | class PointNetFeaturePropagation(nn.Module): |
| 289 | def __init__(self, in_channel, mlp): |
| 290 | super(PointNetFeaturePropagation, self).__init__() |
| 291 | self.mlp_convs = nn.ModuleList() |
| 292 | self.mlp_bns = nn.ModuleList() |
| 293 | last_channel = in_channel |
| 294 | for out_channel in mlp: |
| 295 | self.mlp_convs.append(nn.Conv1d(last_channel, out_channel, 1)) |
| 296 | self.mlp_bns.append(nn.BatchNorm1d(out_channel)) |
| 297 | last_channel = out_channel |
| 298 | |
| 299 | def forward(self, xyz1, xyz2, points1, points2): |
| 300 | """ |