Replies: 1 comment 1 reply
-
I also have this problem. |
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.
-
Hello,
I am using NeighborLoader to do sampling, and using
data.n_id = torch.arange(data.num_nodes)
to get index for targeted nodes and their neighbors.I am wondering if there is a way to get the index for one hop, second hop, etc. respectively. So I am able to know which nodes are the first/second hop neighbor of the targeted nodes.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions