Doubt in knn_graph
#2991
-
Hi, I have a doubt about what is the source and the target when you create a directed graph using the knn_graph method. In flow "source_to_target", the central node is going to be the source or the target? Thanks, |
Beta Was this translation helpful? Give feedback.
Answered by
rusty1s
Aug 19, 2021
Replies: 1 comment 4 replies
-
edge_index = knn_graph(x, k=6)
src_indices, dst_indices = edge_index Hope this helps. |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
dhorka
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hope this helps.