Replaced np.einsum call with np.tensordot call in bayes_update. Tensordot is much better optimized for BLAS libraries such as MKL. I get approximately a 10x speedup over the einsum call.
Replaced np.einsum call with np.tensordot call in bayes_update. Tensordot is much better optimized for BLAS libraries such as MKL. I get approximately a 10x speedup over the einsum call.

csferrie/python-qinfer,MichalKononenko/python-qinfer,QInfer/python-qinfer,whitewhim2718/python-qinfer,Alan-Robertson/python-qinfer,ihincks/python-qinfer