updated comment for PairwiseComparator
This commit is contained in:
@@ -14,7 +14,7 @@ class NumberEmbedder(nn.Module):
|
||||
def forward(self, x):
|
||||
return self.net(x)
|
||||
|
||||
# 3) Comparator head: takes (ea, eb, e) -> logit for "a > b"
|
||||
# MLP Comparator head: takes (ea, eb, e) -> logit for "a > b"
|
||||
class PairwiseComparator(nn.Module):
|
||||
def __init__(self, d=2, hidden=4, k=0.5):
|
||||
super().__init__()
|
||||
|
||||
Reference in New Issue
Block a user