Preparatory step for argtopk Put data together with its original indices in a tuple.
(a, idx)
| 207 | |
| 208 | |
| 209 | def 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 | |
| 217 | def argtopk(a_plus_idx, k, axis, keepdims): |
nothing calls this directly
no outgoing calls
no test coverage detected