Message Passing is a general framework for GNNs. Each node sends "messages" to neighbors. Neighbors aggregate these messages. Each node updates its representation using the aggregate.
mi(l+1)=j∈N(i)∑f(hi(l),hj(l)) hi(l+1)=g(hi(l),mi(l+1))Where f is a message function and g is an update function.
Implement:
message_passing(features, adj, message_fn)
No results yet
Run your code to check it against the examples, or submit to run every test.