enerzyme.models.leftnet.core.NeighborEmb#
- class enerzyme.models.leftnet.core.NeighborEmb(hid_dim: int)[source]#
Bases:
MessagePassing- __init__(hid_dim: int)[source]#
Initialize internal Module state, shared by both nn.Module and ScriptModule.
- message(x_j, norm)[source]#
Constructs messages from node \(j\) to node \(i\) in analogy to \(\phi_{\mathbf{\Theta}}\) for each edge in
edge_index. This function can take any argument as input which was initially passed topropagate(). Furthermore, tensors passed topropagate()can be mapped to the respective nodes \(i\) and \(j\) by appending_ior_jto the variable name, .e.g.x_iandx_j.