So I wanted to do the following with two 4-dimensional arrays (a and b)
np.tensordot(a,b, axes = ([1,2,3], [0,1,2]))
But I was curious how this could be done using
np.einsum
instead
So I wanted to do the following with two 4-dimensional arrays (a and b)
np.tensordot(a,b, axes = ([1,2,3], [0,1,2]))
But I was curious how this could be done using
np.einsum
instead