Questions about the radius_graph #8764
Closed
StefanIsSmart
started this conversation in
General
Replies: 1 comment 6 replies
-
Yes, you can just do edge_index = radius_graph(x, r=...)
distance = (x[edge_index[0]] - x[edge_index[1]]).norm(dim=-1) to get the final distance. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The radius_graph in pyg could calculate the point that is in a distance (r) right?
However, I am wondering how to calculate the distance in implementation.
The Euclidean Distance?
Beta Was this translation helpful? Give feedback.
All reactions