Skip to content

Commit

Permalink
append_doc_linting_fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
selamw1 committed Jun 4, 2024
1 parent 3f072eb commit 5535f59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions jax/_src/numpy/lax_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3965,11 +3965,11 @@ def append(
Args:
arr: original array.
values: values to be appended to the array. The ``values`` must have
the same number of dimensions as ``arr``, and all dimensions must
match except in the specified axis.
axis: axis along which to append values. If None (default), both ``arr``
and ``values`` will be flattened before appending.
values: values to be appended to the array. The ``values`` must have
the same number of dimensions as ``arr``, and all dimensions must
match except in the specified axis.
axis: axis along which to append values. If None (default), both ``arr``
and ``values`` will be flattened before appending.
Returns:
A new array with values appended to ``arr``.
Expand All @@ -3991,10 +3991,10 @@ def append(
>>> b = jnp.array([[5, 6]])
>>> jnp.append(a, b, axis=0)
Array([[1, 2],
[3, 4]],
[3, 4],
[5, 6]], dtype=int32)
Appending with a different shape along axis:
Appending along a trailing axis:
>>> a = jnp.array([[1, 2, 3],
... [4, 5, 6]])
Expand Down

0 comments on commit 5535f59

Please sign in to comment.