batched_tensordot
Merge pull request #1417 from nicholas-leonard/master

theano.tensor.batched_tensordot(x, y, axes)
Update to the blas ops following API change in compyte.
Merge pull request #1754 from abergeron/fix_memleak

Update to the blas ops following API change in compyte.
added consider_constant op, which truncates the gradient of an expression to 0. Also added an optimization to remove it from the graph, so other optimizations can be applied properly.

test whether the gradient is computed correctly, and test whether the consider_constant op is removed from the graph.