first commit
first commit
Check in works
Send the inplace version as a different diff
Fixing minor issue on device_malloc
Prevent moving "gpu_from_host" outside of scan

Detect if the inner replacement would have a different type,
so that a new gpu_from_host is not inserted in the inner graph
in replacement of the one that was just pushed out.
Same change in sequence optimization
Merge pull request #1383 from lamblin/fix_scan_gpu_loop

Fix scan gpu loop
Update DiagonalSubtensor.grad to don't return None.
Update IncDiagonalSubtensor.grad to don't return None.
pep8
Merge pull request #1 from nouiz/master

[MAIN] Update grad() method to don't return None.
Fix-crash in scan grad when compute_test_value=raise

fix gh-1385
Add test.
Merge pull request #22 from lamblin/fix_crash

Add test
Merge pull request #1388 from nouiz/fix_crash

Fix-crash in scan grad when compute_test_value=raise
Better error message.
Don't reorder dimensions for elemwise when there is 0 or 1 dimensions.

this add extra useless code.
Add ScalarOp.c_code_contiguous interface and use it with exp.

Do this for amdlibm.

There is code for sigmoid, but it is disabled as it is slower.
Add contig version of pow, cos, sin, log, log2, log10