Skip to content

Commit

Permalink
Merge pull request #21146 from jakevdp:fix-multidot
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 632142647
  • Loading branch information
jax authors committed May 9, 2024
2 parents 89d25bb + 5edfaa6 commit 2be3f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/numpy/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -2017,4 +2017,4 @@ def multi_dot(arrays: Sequence[ArrayLike], *, precision: PrecisionLike = None) -
if arrs[-1].ndim == 1:
einsum_axes[-1] = einsum_axes[-1][:1]
return jnp.einsum(*itertools.chain(*zip(arrs, einsum_axes)), # type: ignore[arg-type, call-overload]
optimize='optimal', precision=precision)
optimize='auto', precision=precision)

0 comments on commit 2be3f6d

Please sign in to comment.