UMInteraction
- class UMInteraction(p, power_norm=True)[source]
Bases:
NormBasedInteraction
[FloatTensor
,None
,FloatTensor
]A stateful module for the UnstructuredModel interaction function.
See also
pykeen.nn.functional.unstructured_model_interaction()
Initialize the interaction module.
- Parameters:
Attributes Summary
The symbolic shapes for relation representations
Methods Summary
func
(t, p[, power_norm])Evaluate the SimplE interaction function.
Attributes Documentation
Methods Documentation
- func(t, p, power_norm=True)
Evaluate the SimplE interaction function.
- Parameters:
- Return type:
FloatTensor
- Returns:
shape: batch_dims The scores.