Getting Started
Bring Your Own
Extending PyKEEN
Reference
pykeen.nn
Appendix
Evaluate the SimplE interaction function.
h (FloatTensor) – shape: (*batch_dims, dim) The head representations.
FloatTensor
t (FloatTensor) – shape: (*batch_dims, dim) The tail representations.
p (int) – The parameter p for selecting the norm.
int
power_norm (bool) – Whether to return the powered norm instead.
bool
shape: batch_dims The scores.