Getting Started
Bring Your Own
Extending PyKEEN
Reference
PairwiseLoss
pykeen.nn
Appendix
Bases: Loss
Loss
Pairwise loss functions compare the scores of a positive triple and a negative triple.
Initialize the loss.
reduction (str) – the reduction, cf. _Loss.__init__
str