Graph Attention Network (GAT) uses attention mechanisms to aggregate neighbor information. Each node computes attention weights for its neighbors, giving more weight to important neighbors.
hi(l+1)=σj∈N(i)∑αij(l)W(l)hj(l)Where alpha_ij are attention weights computed from node features.
Implement:
gat_attention_weights(features, adj)
Computes attention weights for each edge in the graph.
No results yet
Run your code to check it against the examples, or submit to run every test.