Is the weighted all pairs loss implemented?

Is the weighted all pairs loss implemented? The closest I’ve seen were MultiMarginLoss and MarginRankingLoss (which does not seem to support weights).

i think it’s not implemented. But you can create one with just torch.* autograd operations.

1 Like