Replies: 1 comment 6 replies
-
You can use the from torch_geometric.loader import DataLoader
loader = DataLoader([data1, data2], batch_size=2, ...)
batch = next(iter(loader)) The from torch_geometric.data import Batch
batch = Batch.from_data_list([data1, data2]) |
Beta Was this translation helpful? Give feedback.
6 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.
-
While doing regression task,i would like to use two different graph to interact and trian but i find it is difficult to fuse two graph with different nodes.Do we have some methods to do this?For example ,i have two graph ,data_1.x is (1300,100) data_2.x is(800,100),how can i
fuse it ?
Beta Was this translation helpful? Give feedback.
All reactions