//clika-runtime/io.clika.runtime/Ops/einsum
einsum
[common]
fun einsum(equation: String, operands: List<Tensor>): Tensor
einsum(equation: String, operands: List<Tensor>): the einsum operator. Einstein-summation contraction from a notation string. equation names each operand's axes and (after ->) the output axes; omitting -> keeps the once-appearing labels in alphabetical order. One- and two-operand equations are served: one operand reduces and permutes; two operands contract through a single batched matmul.