Tutorials
How-to Guides
Explanation
Reference
SetwiseLoss
pykeen.nn
Appendix
Bases: Loss
Loss
Setwise loss functions compare the scores of several triples.
Initialize the loss.
reduction (Literal['mean', 'sum']) – the reduction, cf. torch.nn.modules.loss._Loss
torch.nn.modules.loss._Loss