for i in range(1, len(Arr)):
    ArrMult = np.einsum('fij,fjk->fik', ArrMult, Arr[i])
return ArrMult

def myeinsum(A1, A2):
    return np.einsum('fij,fjk->fik', A1, A2)
Python, numpy, einsum multiply a stack of matrices