Skip to content
Discussion options

You must be logged in to vote

I am sorry for the confusion. If the NeighborSampler will only sample from a single hop, then adjs will not be a list but will instead already return the adjacency matrix. As such, you can either drop the for-loop inside forward, or write:

        if not isinstance(adjs, list):
            adjs = [adjs]

at the start of it.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by amytee252
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