Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cewang-sysu/DuDoTrans
/ __init__
Method
__init__
modules/reconstructor.py:41–42 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
39
40
class
reconstructor_loss(nn.Module):
41
def
__init__(self):
42
super(reconstructor_loss, self).__init__()
43
44
def
forward(self, pred, gt):
45
left_loss=F.mse_loss(pred, gt, reduce=False)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected