MCPcopy 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
90class 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
98def test_emd():

Callers 2

compute_pairwise_emdFunction · 0.90
test_emdFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_emdFunction · 0.68