Skip to content
Discussion options

You must be logged in to vote

But the edge_labels tensor is populated of 2s and 0s instead of 1s and 0s like in the original tensor generated by RandomLinkSplit.

Yeah, this is expected, since LinkNeighborLoader just increments any existing edge_label and represents its own negatives as 0.

If you are using LinkNeighborLoader(neg_sampling_ratio=0), you should definitely see edge_label containing both zeros and ones.

Replies: 1 comment 1 reply

Comment options

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

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