You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/array_api_stubs/_draft/searching_functions.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -67,7 +67,7 @@ def count_nonzero(
67
67
Parameters
68
68
----------
69
69
x: array
70
-
input array. Must have a positive rank. If ``x`` is zero-dimensional, the function must raise an exception.
70
+
input array.
71
71
axis: Optional[Union[int, Tuple[int, ...]]]
72
72
axis or axes along which to count non-zero values. By default, the number of non-zero values must be computed over the entire array. If a tuple of integers, the number of non-zero values must be computed over multiple axes. Default: ``None``.
0 commit comments