Clarification needed in ResGatedGraphConv
documentation about edge feature usage
#10425
aditya0by0
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi PyG team 👋,
I’ve been digging into the
ResGatedGraphConv
implementation and noticed a potential documentation gap.Currently, the documentation presents the following equations:
with
This looks correct when no edge features are provided.
However, in the actual implementation (source), when
edge_attr
is passed, it is concatenated to the node features before computing key, query, and value projections:This means the true behavior is closer to:
where$e_{ij}$ are edge features.
Suggestion
It would be very helpful if the documentation could:
edge_update
step).I would be happy to create a PR to update the documentation if you think this needs to be clarified.
Beta Was this translation helpful? Give feedback.
All reactions