cunumeric.partition#
- cunumeric.partition(a: ndarray, kth: int | Sequence[int], axis: int = -1, kind: SelectKind = 'introselect', order: str | list[str] | None = None) ndarray #
Returns a partitioned copy of an array.
- Parameters:
- Returns:
out – Partitioned array with same dtype and shape as a. In case axis is None the result is flattened.
- Return type:
Notes
The current implementation falls back to cunumeric.sort.
See also
- Availability:
Multiple GPUs, Multiple CPUs