Adding Graphormer layer#275
Adding Graphormer layer#2755hv5hvnk wants to merge 14 commits intoJuliaGraphs:masterfrom 5hv5hvnk:master
Conversation
Codecov Report
@@ Coverage Diff @@
## master #275 +/- ##
==========================================
- Coverage 82.36% 80.74% -1.62%
==========================================
Files 17 19 +2
Lines 1911 1958 +47
==========================================
+ Hits 1574 1581 +7
- Misses 337 377 +40
... and 11 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
src/layers/conv.jl
Outdated
| end | ||
|
|
||
| @doc raw""" | ||
| GraphormerLayer constructor. |
There was a problem hiding this comment.
make the docstring style consistent with the other layers
src/layers/conv.jl
Outdated
| Wx = reshape(Wx, chout, heads, :) | ||
|
|
||
| # a hand-written message passing | ||
| m = apply_edges((xi, xj, e) -> message(l, xi, xj, e), g, Wx, Wx, e) |
There was a problem hiding this comment.
where is the message function defined?
There was a problem hiding this comment.
Apologies I missed writing it I added the comment to go back and add that let me get on to this
|
This is not capturing the essential features of the paper:
|
|
Why you checked the tests as done? I see no tests... |
I have written some tests you can check here |
Co-authored-by: Carlo Lucibello <carlo.lucibello@gmail.com>
@CarloLucibello Hi can you look into the updates and see the tests? |
can you make the tests part of this PR? it's weird they are somewhere else |
|
Hello @CarloLucibello Sorry for delayed response on this I believe we still need this layer, I redone each line of code after reading through the paper and more Julia blogs (mostly linked to flux) to have better understanding. |
Continued from #265
fixes #251
To do: