Skip to content

Why is Cosine distance not supported for knn on CPUs? #237

Open
@bokveizen

Description

@bokveizen

At https://github.com/rusty1s/pytorch_cluster/blob/master/csrc/knn.cpp#L34, we see that cosine distance is not supported for knn on CPUs. Are there specific reasons for this limitation? Also, are there simple workarounds if we want to use cosine distance on CPUs?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions