-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds GATv2 layer #97
Adds GATv2 layer #97
Conversation
thanks, very neat PR, and fixes #74. It's ok to have a naming convention matching the paper. |
Cool. Did not see that there was an open issue for that! |
Codecov Report
@@ Coverage Diff @@
## master #97 +/- ##
==========================================
+ Coverage 83.85% 83.91% +0.05%
==========================================
Files 14 14
Lines 1109 1144 +35
==========================================
+ Hits 930 960 +30
- Misses 179 184 +5
Continue to review full report at Codecov.
|
Co-authored-by: Carlo Lucibello <[email protected]>
I find the use of W in eqs. 4 and 7 in the paper a bit inconsistent, but hopefully your implementation should reflect the intent of the authors. Also, there is a footnote on page 5: |
Now that you say that... I actually had the additional bias in the code, but could not remember why I put it there by looking through the formulas, so I removed it before submitting the PR xD. |
The easiest way would be to replace dense_i = Dense(..., bias=true)
dense_j = Dense(..., bias=false) |
Yup. Thats also whats in DGL and PytorchGeometric. I ll make the change tomorrow. Thanks for the fast review |
Do you understand what is causing the error? |
sorry, busy day, have not gotten around looking into it. I'll hollla should i get stuck. |
Needed just some small tweaks. Merging this, thanks again! |
nice! thanks for maintaining this package, i think I'll test ride it a bit further on some use cases i have :) |
Adds GATv2 as from https://arxiv.org/abs/2105.14491.
Did the same thing over at
GeometricFlux.jl
Pull Request. Just as I was "done" I stumbled upon this repo and liked the codebase a bit better.The variable names in
GATv2
deviates a bit from theGAT
layer, i.e.weight
->W
, andaWW
->eij
to stick a bit closer to the notation in the paper. If you want to keep it consistent across the code base I can revert of course.Cheers
Andre