What does sample_adj do? #2241
Unanswered
boxiangliu
asked this question in
Q&A
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@boxiangliu you can find code about sample_adj in pytroch_sparse repo |
Beta Was this translation helpful? Give feedback.
0 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.
-
Dear Matthias,
Thank you for making pytorch-geometric. It has been a extremely useful tool. I am trying to use GraphSage in unsupervised training mode. To do that, I am following your graph_sage_unsup.py. As I am trying to understand the details of the
NeighborSampler
, I am lost on whatself.adj_t.sample_adj(n_id, size, replace=False)
(in sampler.py; line 152) is doing.Could you help me understand? Thank you in advance!
Boxiang Liu, Ph.D.
Beta Was this translation helpful? Give feedback.
All reactions