Use layer-specific edge Sets from different graphs #9442
Answered
by
akihironitta
fafal-abnir
asked this question in
Q&A
-
I have two graphs, G1 = (V, E1) and G2 = (V, E2), that share the same set of nodes V but have different sets of edges E1 and E2. Is it possible to design a GNN with two layers(for example 2 GraphSage layers), where the message passing in the first layer uses the edges of G1, and the message passing in the second layer uses the edges of G2? |
Beta Was this translation helpful? Give feedback.
Answered by
akihironitta
Jun 22, 2024
Replies: 1 comment
-
Yes, I believe it is by using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fafal-abnir
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, I believe it is by using$E_1$ and $E_2$ , respectively, and making sure node indices are consistent between the two graphs.
edge_index1
andedge_index2
represent