Replies: 1 comment
-
That is currently working as intended. Sampling is only performed on a single graph. If you want to keep the original adjacency matrix, why not do something like data.adj_t, data.orig_adj_t = DA, data.adj_t before passing to the |
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.
-
Hello,
I want to add D^(-1)A to data for sampling, where D is the degree matrix and A is the adjacency matrix, while keeping the original adjacency matrix, but I found only original adjacency can be sampled, this is what I did for a simple test:
For each batch, the shape of
batch.DA
is always num_nodes * num_nodes, which seems is not sampled by Neighborloader, butbatch.adj_t
seems has the correct shape.Besides, I also try to do clustering using METIS, like following:
However, the output before permute and after permute are same.
I am wondering how to add this D^(-1)A to the
data
correctly to be sampled and clustered. Thanks.Beta Was this translation helpful? Give feedback.
All reactions