How can I merge several graphs into a giant graph? #3442
Answered
by
rusty1s
chenyuqi990215
asked this question in
Q&A
-
I have a graph with edge_index shape The function may look like the following:
Is there any simple solution to the function? |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Nov 6, 2021
Replies: 1 comment
-
It's probably the easiest way to wrap them int data_list = [Data(edge_index=edge_index), ...]
edge_index = Batch.from_data_list(data_list).edge_index |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chenyuqi990215
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's probably the easiest way to wrap them int
Data
objects: