MCPcopy Create free account
hub / github.com/TEA-Lab/TwoByTwo / forward

Method forward

src/shape_assembly/models/encoder/vn_layers.py:28–33  ·  view source on GitHub ↗

x: point features of shape [B, N_feat, 3, N_samples, ...]

(self, x)

Source from the content-addressed store, hash-verified

26 self.map_to_feat = nn.Linear(in_channels, out_channels, bias=False)
27
28 def forward(self, x):
29 '''
30 x: point features of shape [B, N_feat, 3, N_samples, ...]
31 '''
32 x_out = self.map_to_feat(x.transpose(1, -1)).transpose(1, -1)
33 return x_out
34
35
36class VNLeakyReLU(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected