MCPcopy Create free account
hub / github.com/ActiveVisionLab/DFNet / forward

Method forward

script/dm/pose_model.py:292–300  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

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
302class MapNet(nn.Module):
303 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected