Skip to content

Conversation

@copybara-service
Copy link

Support "valid_mask" for sampled edges.

Mask is useful in two cases:
(1) sampling, with or without replacement, for (outgoing) edges for nodes with zero (outgoing) neighbors; and
(2) sampling without replacement, when asking for more neighbors than out-degree.

Mask is useful in two cases:
(1) sampling, with or without replacement, for (outgoing) edges for nodes with zero (outgoing) neighbors; and
(2) sampling without replacement, when asking for more neighbors than out-degree.

PiperOrigin-RevId: 475870387
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants