Skip to content
Discussion options

You must be logged in to vote

The idea here would be to compute similarity in batches/at once, e.g., sim would be a tensor of shape [num_nodes_x, num_nodes_y, max_neighbors_in_x, max_neighbors_in_y]. This would basically remove the need to do this computation sequentially. For creating this tensor, the utils.to_dense_batch function may be useful, to create neighborhood features to shape [num_nodes_x, max_neighbors_in_x, num_features].

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ProphecyQAQ
Comment options

@rusty1s
Comment options

@ProphecyQAQ
Comment options

@rusty1s
Comment options

Answer selected by ProphecyQAQ
@ProphecyQAQ
Comment options

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