May-23-2019, 01:26 AM
This is a guess, and may be totally off the wall:
print("Test c1 ",timeit('np.einsum("i->...i-",np.random.rand(2,2),np.random.rand(2,2))',setup='import numpy as np',number=100))