Hi all,
Finding topk elements is widely used in several fields, but missed in NumPy.
I implement this functionality named as numpy.topk using core numpy
functions and open a PR:
https://github.com/numpy/numpy/pull/19117
Any discussion are welcome.
Best wishes,
Kang Kai