SymmetricEdgeWeighting¶
- class SymmetricEdgeWeighting[source]¶
Bases:
pykeen.nn.weighting.EdgeWeighting
Normalize messages by product of inverse sqrt of in-degree and out-degree.
Initializes internal Module state, shared by both nn.Module and ScriptModule.
Methods Summary
forward
(source, target)Compute edge weights.
Methods Documentation