Skip to content
Discussion options

You must be logged in to vote

NeighborSampler was deprecated so that you could use NeighborLoader.
Yes, the number of SAGE layers in a GNN model is the same as the depth K in the GraphSAGE algorithm.
num_neighbors [25,10] means, first hop, the target node will sample 25 neighbors of it, and then these nodes(<=26) will sample 10 neighbors of them. So one mini-batch ( aka one subgraph) will have <=260 nodes.

Replies: 1 comment 1 reply

Comment options

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

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