This is a general API for performing tensor reductions, products,
transpositions, and traces using Einstein notation for referring to named
axes. See the docs for numpy.einsum() for more information.
The full einsum API is implemented, including implicit and explicit output
indices, ellipsis broadcasting, Unicode subscripts, and an optimal path
ordering algorithm. It lowers to one or more calls to:
Einstein summation.
This is a general API for performing tensor reductions, products, transpositions, and traces using Einstein notation for referring to named axes. See the docs for
numpy.einsum()for more information.https://numpy.org/doc/stable/reference/generated/numpy.einsum.html
The full einsum API is implemented, including implicit and explicit output indices, ellipsis broadcasting, Unicode subscripts, and an optimal path ordering algorithm. It lowers to one or more calls to:
jax.lax.dot()jax.numpy.diagonal()jax.numpy.sum()jax.numpy.transpose()