Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QWTforGithub/T2LDM
/ emdModule
Class
emdModule
eval/modules/emd/emd_module.py:90–95 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
89
90
class
emdModule(nn.Module):
91
def
__init__(self):
92
super(emdModule, self).__init__()
93
94
def
forward(self, input1, input2, eps, iters):
95
return
emdFunction.apply(input1, input2, eps, iters)
96
97
98
def
test_emd():
Callers
2
compute_pairwise_emd
Function · 0.90
test_emd
Function · 0.85
Calls
no outgoing calls
Tested by
1
test_emd
Function · 0.68