Merge pull request #18324 from jakevdp:einsum-doc

PiperOrigin-RevId: 577896717
This commit is contained in:
jax authors 2023-10-30 11:21:48 -07:00
commit 7eddc76a03

View File

@ -3296,6 +3296,9 @@ _EINSUM_DOC = _PRECISION_DOC + """\
A tuple ``precision`` does not necessarily map to multiple arguments of ``einsum()``;
rather, the specified ``precision`` is forwarded to each ``dot_general`` call used in
the implementation.
:func:`jax.numpy.einsum` also differs from :func:`numpy.einsum` in that the ``optimize``
keyword defaults to ``"optimal"`` rather than ``False``.
"""
@overload