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

Method forward

script/feature/misc.py:318–319  ·  view source on GitHub ↗
(self, input, target)

Source from the content-addressed store, hash-verified

316 super(L2Loss, self).__init__()
317
318 def forward(self, input, target):
319 return torch.sqrt(torch.mean(torch.abs(input - target).pow(2)))
320
321def PoseLoss(args, pose_, pose, device):
322 loss_func = nn.MSELoss()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected