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

Method forward

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

Source from the content-addressed store, hash-verified

252 nn.init.constant_(m.bias.data, 0)
253
254 def forward(self, x):
255 x = self.feature_extractor(x)
256 x = F.relu(x)
257 if self.droprate > 0:
258 x = F.dropout(x, p=self.droprate)
259 predict = self.fc_pose(x)
260 return predict
261
262
263# from MapNet paper CVPR 2018

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected