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

Method forward

src/shape_assembly/models/train/pose_estimator.py:17–22  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

15 self.global_pool = nn.AdaptiveMaxPool1d(1)
16
17 def forward(self, x):
18 for layer in self.layers:
19 x = layer(x)
20 x = self.global_pool(x)
21 x = x.squeeze(-1)
22 return x
23
24class PoseClassifier(nn.Module):
25 def __init__(self, pointnet_out_dim=128, pose_dim=6, hidden_dims=(512, 256, 128)):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected