Theano/Theano — pull request #2051 by abergeron (2014-08-25 20:39:45+00:00)
Title: Fix errors in SparseBlockOuterSS c_code.

This gives a numerically wrong gradient in addition to occasionally crashing the GPU.

Apparently it just randomly works with batch size = 4 so I set the test batch size to 2, which exhibits the crash without this fix.