You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated the GATConv in order to make it more readable and added some more comments/documentation.
Here, self.lin refers to the weight matrix W in the paper, and self.lin(x) refers to W * h. The parameters used for computing attention coefficients are given by self.att_src and self.att_dst. Note that we separate this computation into two steps: We first compute a scalar value individually for both node-level source and target node representations, and sum them up later in the message function. This is equivalent to first concatenating source and target node representations, and apply the dot product afterwards. Let me know if there is anything still unclear to you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone provide the documentation for the GATConv code? The code and terminology are slightly different than the Graph Attention Networks.
Beta Was this translation helpful? Give feedback.
All reactions