cupynumeric.partition#
- cupynumeric.partition(
- a: ndarray,
- kth: int | Sequence[int],
- axis: int | None = -1,
- kind: SelectKind = 'introselect',
- order: str | list[str] | None = None,
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 cupynumeric.sort.
See also
- Availability:
Multiple GPUs, Multiple CPUs