Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Topk-1 CPU #300

Closed
wants to merge 2 commits into from
Closed

Topk-1 CPU #300

wants to merge 2 commits into from

Conversation

J3698
Copy link

@J3698 J3698 commented May 26, 2021

Added TopK-1 for CPU.

Testing:
There are likely not enough unit tests, however, I have done further testing against a naive implementation in another branch. If needed I can write more unit tests. I will PR the other branch depending on issue #299.

Algorithm:
Uses quickselect for expected O(n) complexity, however, the pivot is not yet randomized.

@ghost
Copy link

ghost commented May 26, 2021

CLA assistant check
All CLA requirements met.

@J3698 J3698 marked this pull request as draft May 26, 2021 04:39
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant