Skip to content
Discussion options

You must be logged in to vote

It is usually not a good idea to apply NeighborLoader on a set of graphs. Are you dealing with very large graphs? Otherwise, I suggest to use DataLoader instead to simply group graphs into batches. If you want to use NeighborLoader on a set of graphs, you should merge all graphs into a single graph, and then use NeighborLoader on top:

batch = Batch.from_data_list(data_list)
loader = NeighborLoader(batch, ...)

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@wgeul
Comment options

Answer selected by wgeul
Comment options

You must be logged in to vote
1 reply
@rusty1s
Comment options

Comment options

You must be logged in to vote
1 reply
@rusty1s
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants