Skip to content

Neighbourhood definition of the GATConv layer #262

Discussion options

You must be logged in to vote

Sorry, completely forgot about this issue.

Yes, GAT is particular because It has different behaviour for dense and sparse adjacency matrices.
In your case, A is dense and the adjacency matrix does not get transposed (I am working to implement directed edge support in all methods, I'll fix it eventually). If you have directed edges, I suggest you use a sparse A so that the information flow is right (neighbours to self).

Cheers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by danielegrattarola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #245 on July 29, 2021 09:02.