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

Method __init__

script/feature/misc.py:315–316  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

313 simple L_2-Loss
314 """
315 def __init__(self):
316 super(L2Loss, self).__init__()
317
318 def forward(self, input, target):
319 return torch.sqrt(torch.mean(torch.abs(input - target).pow(2)))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected