Skip to content

Commit e186559

Browse files
Merge pull request #33873 from carlosgmartin:numpy_concatenate_axis_none_missing_description
PiperOrigin-RevId: 842994965
2 parents a80c856 + 1e14a15 commit e186559

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)