argmax
Returns the indices of the maximum values along a specified axis. When the maximum value occurs multiple times, only the indices corresponding to the first occurrence are returned.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
x
|
SparseArray
|
Input array. The fill value must be |
required |
axis
|
int
|
Axis along which to search. If |
None
|
keepdims
|
bool_
|
If |
False
|
Returns:
Name | Type | Description |
---|---|---|
out |
ndarray
|
If |
Source code in sparse/numba_backend/_coo/common.py
602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 |
|