Retrieving individual Node embeddings of a batch of graphs #5459
Unanswered
DogitoErgoSum
asked this question in
Q&A
Replies: 1 comment
-
Correct. The batch is the 'graph index'. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
In my task i need to mix node and graph classification. I want to predict node features of separate graphs.
Therefore, i want to apply message propagation in a batch of graphs and retrieve the node embedding of each node but i need to map where each node belongs.
I think i know how to do this but i am not sure if its the true behaviour
Take this example:
My batch data has 5 graphs :
If i pass my batch data to the model :
Does the first row of the output tensor belong to the first graph? And does the 4th row of my output tensor belong to the third node of my second graph?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions