title: What is the difference between tensordot and einsum in numpy?
body: <p>For my understanding, tensordot 
  <a href="http://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.tensordot.html" rel="nofollow">http://docs.scipy.org/doc/numpy-1.10.1/reference/generated/numpy.tensordot.html</a>
  is multiply two tensors and sum given indices. This is precisely einsum does. </p>
  
  <p>Actually what is the difference between this two functions? Is that due to different performance?</p>