Skip to content

Commit 500691b

Browse files
author
Vahid Tavanashad
committed
address comments
1 parent 28a4e54 commit 500691b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dpnp/dpnp_iface_indexing.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,9 +2227,10 @@ def take_along_axis(a, indices, axis=-1, mode="wrap"):
22272227
dimension of the input array, but dimensions ``Ni`` and ``Nj``
22282228
only need to broadcast against `a`.
22292229
axis : {None, int}
2230-
The axis to take 1d slices along. If axis is ``None``, the input
2231-
array is treated as if it had first been flattened to 1d,
2232-
for consistency with :obj:`dpnp.sort` and :obj:`dpnp.argsort`.
2230+
The axis to take 1d slices along. If axis is ``None``, the input array
2231+
is treated as if it had first been flattened to 1d. The default is
2232+
``-1``, which takes 1d slices along the last axis. These behaviors are
2233+
consistent with :obj:`dpnp.sort` and :obj:`dpnp.argsort`.
22332234
22342235
Default: ``-1``.
22352236
mode : {"wrap", "clip"}, optional

0 commit comments

Comments
 (0)