MCPcopy Create free account
hub / github.com/dask/dask / argtopk_preprocess

Function argtopk_preprocess

dask/array/chunk.py:209–214  ·  view source on GitHub ↗

Preparatory step for argtopk Put data together with its original indices in a tuple.

(a, idx)

Source from the content-addressed store, hash-verified

207
208
209def argtopk_preprocess(a, idx):
210 """Preparatory step for argtopk
211
212 Put data together with its original indices in a tuple.
213 """
214 return a, idx
215
216
217def argtopk(a_plus_idx, k, axis, keepdims):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected