Theano/Theano — pull request #543 by pascanur (2012-03-15 14:56:10+00:00)
Title: Do not wrap in as_tensor_variable unless needed

The automatic wrapping in as_tensor_variable is incorrect and it was there just to check that arguments are on the same device.