TPL
TPL copied to clipboard
About equation (9) in the paper.
I find that the score is taken as the opposite number in the code. Why is the final score calculated in this way?
The equation (9) in the paper is:
The following is the code implementation:
composition = -torch.logsumexp(torch.stack((-e1, -e2), dim=0), dim=0)