CupyBackend.einsum#
- CupyBackend.einsum(*args, **kwargs)#
Compute the einstein notation based summation.
- Parameters:
- subscriptsstr
Specifies the subscripts for summation (see
numpy.einsum
).- arr1, arr2BackendArray
Input data.
- outBackendArray, optional
Output array to write the result to. Returns a new array by default.
- Returns:
- BackendArray
Einsum of input arrays.