Unable to pool separately over subgraphs sampled by NeighborLoader #5660
Unanswered
egressybeni
asked this question in
Q&A
Replies: 1 comment 1 reply
-
We are currently working on integrating this feature via the addition of |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
When using the NeighborLoader, I would like to be able to do graph pooling over the individual sampled subgraphs. This would be possible if batch was implemented for NeighborLoader. Currently batch is unavailable so when I do graph pooling I get a single value instead of batch_size values as an output.
This functionality would be useful whenever we want to make a prediction for the center node, but based on the final embeddings of the whole k-hop neighborhood. We might for example mark the center node and want to make a prediciton for the whole graph.
Similarly this would be useful for LinkNeighborLoader, where we want to make an edge prediction based on the final embeddings of the whole k-hop neighborhood.
Am missing an "obvious" way to achieve this?
Otherwise I might turn this into a feature request.
(Of course I could use batch_size = 1, but that's not a great solution in general)
Beta Was this translation helpful? Give feedback.
All reactions