Skip to content

Using KNN to find distance #3010

@edshkim98

Description

@edshkim98

From now on, we recommend using our discussion forum (https://github.com/rusty1s/pytorch_geometric/discussions) for general questions.

❓ Questions & Help

Hello, I am trying to calculate the distance between every point by using knn function in torch_geometric.
However, it only returns index values rather than distances.
Is there any way to get the values of distance rather than index values?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions