Skip to content

Commit

Permalink
fix typo2
Browse files Browse the repository at this point in the history
  • Loading branch information
helpingstar committed Feb 16, 2024
1 parent fbccdb2 commit 4297e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ for its components are donated::
def add_ones(xs: List[Array]):
return [x + 1 for x in xs]

xs = [jax.device_put(np.ones((2, 3)), jax.device_put(np.ones((3, 4))]
xs = [jax.device_put(np.ones((2, 3))), jax.device_put(np.ones((3, 4)))]
# Execute `add_ones` with donation of all the buffers for `xs`.
# The outputs have the same shape and type as the elements of `xs`,
# so they will share those buffers.
Expand Down

0 comments on commit 4297e0a

Please sign in to comment.