How to merge Two graphs' edge features? #8800
Unanswered
StefanIsSmart
asked this question in
Q&A
Replies: 1 comment
-
Take a look at
|
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.
-
Sometimes, I have two graphs(graph_1 and graph_2). They have the same nodes, but their edge_index and edge_features are different, and I want to merge them to get their union.
That means the edge_index will merge as the union, and the edge features will merge too (torch.concat).
If graph_1 has the features but graph_2 doesn't have, it will be padding as 0.
Does pyg have a util like that?
Beta Was this translation helpful? Give feedback.
All reactions