The einsum function#

Aliases#

halerium.core.einsum
halerium.core.math.einsum
einsum(subscripts, *operands)#

Einstein sum, i.e. tensor contraction over specified indices.

Parameters:
  • subscripts – The subscripts specifying the summation. See numpy.einsum or tensorflow.einsum for more details.

  • operands – The operands of the summation.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Einsum