Theano/Theano — pull request #2161 by paulfchristiano (2014-10-08 20:22:41+00:00)
Title: Dot optimization

This is a generalization of the proposed optimization T.dot(A, B)[i] --> T.dot(A[i], B) to deal with multiple indices. For example, if A and B are matrices then T.dot(A, B)[:, i] will become T.dot(A, B[:, i]), and similarly for tensors and more indices. The tests have not yet been written.