@@ -76,15 +76,18 @@ def argmax(a, axis=None, out=None, *, keepdims=False):
7676 axis : {None, int}, optional
7777 By default, the index is into the flattened array, otherwise along
7878 the specified axis.
79+
7980 Default: ``None``.
8081 out : {None, dpnp.ndarray, usm_ndarray}, optional
8182 If provided, the result will be inserted into this array. It should be
8283 of the appropriate shape and dtype.
84+
8385 Default: ``None``.
8486 keepdims : {None, bool}, optional
8587 If this is set to ``True``, the axes which are reduced are left in the
8688 result as dimensions with size one. With this option, the result will
8789 broadcast correctly against the array.
90+
8891 Default: ``False``.
8992
9093 Returns
@@ -165,15 +168,18 @@ def argmin(a, axis=None, out=None, *, keepdims=False):
165168 axis : {None, int}, optional
166169 By default, the index is into the flattened array, otherwise along
167170 the specified axis.
171+
168172 Default: ``None``.
169173 out : {None, dpnp.ndarray, usm_ndarray}, optional
170174 If provided, the result will be inserted into this array. It should be
171175 of the appropriate shape and dtype.
176+
172177 Default: ``None``.
173178 keepdims : {None, bool}, optional
174179 If this is set to ``True``, the axes which are reduced are left in the
175180 result as dimensions with size one. With this option, the result will
176181 broadcast correctly against the array.
182+
177183 Default: ``False``.
178184
179185 Returns
@@ -318,7 +324,7 @@ def searchsorted(a, v, side="left", sorter=None):
318324 index, return either 0 or N (where N is the length of `a`).
319325
320326 Default: ``"left"``.
321- sorter : {dpnp.ndarray, usm_ndarray}, optional
327+ sorter : {None, dpnp.ndarray, usm_ndarray}, optional
322328 Optional 1-D array of integer indices that sort array a into ascending
323329 order. They are typically the result of :py:func:`dpnp.argsort`.
324330 Out of bound index values of `sorter` array are treated using
@@ -389,16 +395,20 @@ def where(condition, x=None, y=None, /, *, order="K", out=None):
389395 ----------
390396 condition : {dpnp.ndarray, usm_ndarray}
391397 When ``True``, yield `x`, otherwise yield `y`.
392- x, y : {dpnp.ndarray, usm_ndarray, scalar}, optional
398+ x, y : {None, dpnp.ndarray, usm_ndarray, scalar}, optional
393399 Values from which to choose. `x`, `y` and `condition` need to be
394400 broadcastable to some shape.
401+
402+ Default: ``None``.
395403 order : {"K", "C", "F", "A"}, optional
396404 Memory layout of the new output array, if keyword `out` is ``None``.
405+
397406 Default: ``"K"``.
398407 out : {None, dpnp.ndarray, usm_ndarray}, optional
399408 The array into which the result is written. The data type of `out` must
400409 match the expected shape and the expected data type of the result.
401410 If ``None`` then a new array is returned.
411+
402412 Default: ``None``.
403413
404414 Returns
0 commit comments