Learn Before
Concept

Graph-level Implementations of Message Passing

Implement the message passing operation based on sparse matrix multiplications. Graph level equation for a basic GNN is: H(k)=σ(AH(k1)Wneigh(k)+H(k1)Wself(k))H^{(k)} = \sigma(AH^{(k-1)}W^{(k)}_{neigh}+H^{(k-1)}W^{(k)}_{self}) where H(t)H^{(t)} is a matrix containing the layer-k embeddings of all the nodes. There are no redundant computations using the equations.

0

1

Updated 2022-07-17

Tags

Data Science