Skip to content

Commit 1e14a15

Browse files
committed
Add missing description of numpy.concatenate behavior for axis=None.
1 parent 86fe2ab commit 1e14a15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jax/_src/numpy/lax_numpy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4557,7 +4557,8 @@ def concatenate(arrays: np.ndarray | Array | Sequence[ArrayLike],
45574557
except along the specified axis. If a single array is given it will be
45584558
treated equivalently to `arrays = unstack(arrays)`, but the implementation
45594559
will avoid explicit unstacking.
4560-
axis: specify the axis along which to concatenate.
4560+
axis: specify the axis along which to concatenate. If None, the arrays are
4561+
flattened before concatenation.
45614562
dtype: optional dtype of the resulting array. If not specified, the dtype
45624563
will be determined via type promotion rules described in :ref:`type-promotion`.
45634564

0 commit comments

Comments
 (0)