Concat graph embedding to all node embedding before prediction #8273
Answered
by
rusty1s
jomalla123
asked this question in
Q&A
-
Hi, Using some GNN layers I have embeddings for each node |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Oct 28, 2023
Replies: 1 comment 1 reply
-
You can do this via h = torch.cat([h, h_global[batch]], dim=-1) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jomalla123
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this via