Skip to content
Discussion options

You must be logged in to vote

LastNeighborLoader will return the last encountered neighbohrs of n_id in an ever-growing graph. The idea is to insert new temporal edges via insert, and sample encountered edges via __call__.

Here, e_id is used as a reference to the global index of the returned edge. This helps to gather the respective edge features from your dataset belonging to the sampled edges.
__assoc__ is used to map global edge indices to the local ones belonging to the sampled subgraph. For example, your original graph may contain 10,000 nodes, but your sampled subgraph does only reference 100 of them.

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@Bowen-n
Comment options

@rusty1s
Comment options

@Bowen-n
Comment options

@rusty1s
Comment options

@Bowen-n
Comment options

Answer selected by Bowen-n
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