Functional
Functional forms of interaction methods.
The functional forms always assume the general form of the interaction function, where head, relation and tail
representations are provided in shape (batch_size, num_heads, 1, 1, *
), (batch_size, 1, num_relations, 1, *
),
and (batch_size, 1, 1, num_tails, *
), and return a score tensor of shape
(batch_size, num_heads, num_relations, num_tails).
Functions
|
Evaluate an AutoSF-style interaction function as described by [zhang2020]. |
|
Evalute the BoxE interaction function from [abboud2020]. |
|
Evaluate the ComplEx interaction function. |
|
Evaluate the ConvE interaction function. |
|
Evaluate the ConvKB interaction function. |
|
Evaluate the Canonical Tensor Decomposition interaction function. |
|
Evaluate the interaction function of CrossE for the given representations from [zhang2019b]. |
|
Evaluate the DistMA interaction function from [shi2019]. |
|
Evaluate the DistMult interaction function. |
|
Evaluate the ER-MLP interaction function. |
|
Evaluate the ER-MLPE interaction function. |
|
Evaluate the HolE interaction function. |
|
Evaluate the KG2E interaction function. |
|
Evaluate the MuRE interaction function from [balazevic2019b]. |
|
Evaluate the NTN interaction function. |
|
Evaluate the PairRE interaction function. |
|
Evaluate the ProjE interaction function. |
|
Evaluate the RESCAL interaction function. |
|
Evaluate the RotatE interaction function. |
|
Evaluate the SimplE interaction function. |
|
Evaluate the Structured Embedding interaction function. |
|
Evaluate the TransD interaction function. |
|
Evaluate the TransE interaction function. |
|
Evaluate the TransF interaction function. |
|
Evaluate the DistMult interaction function. |
|
Evaluate the TransR interaction function. |
|
Evaluate the Transformer interaction function, as described in [galkin2020].. |
|
Evaluate the TripleRE interaction function. |
|
Evaluate the TuckEr interaction function. |
|
Evaluate the SimplE interaction function. |