einsum
- sparse.einsum(*operands)[source]
Perform the equivalent of
numpy.einsum
.- Parameters:
subscripts (str) – Specifies the subscripts for summation as comma separated list of subscript labels. An implicit (classical Einstein summation) calculation is performed unless the explicit indicator ‘->’ is included as well as subscript labels of the precise output form.
operands (sequence of SparseArray) – These are the arrays for the operation.
- Returns:
output – The calculation based on the Einstein summation convention.
- Return type: