Theano/Theano — pull request #1417 by nicholas-leonard (2013-06-17 20:28:19+00:00)
Title: theano.tensor.batched_tensordot(x, y, axes)

Merge theano.tensor.tensordot with theano.batched_dot and you get a more powerful function. Useful for when you want to do more complicated stuff like conditional computation or gating (mixtures of experts and the like). Implemented using theano.scan.