Theano/Theano — pull request #410 by lamblin (2012-02-01 16:33:31+00:00)
Title: Optimization to move tensordot to GPU

* Update tests
* Automatically replace TensorDot Op by expression that can be moved on GPU if one of the inputs is on GPU

It is unlikely that the _dot22 could be transformed into a Gemm, given the reshape/dimshuffle nodes around the result, so we do not worry about re-executing Blas-related optimization at that point. That might change in the future.