MCPcopy Create free account
hub / github.com/Gorilla-Lab-SCUT/AffordanceNet / __init__

Method __init__

models/pointnet_util.py:289–297  ·  view source on GitHub ↗
(self, in_channel, mlp)

Source from the content-addressed store, hash-verified

287
288class 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 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected