Copy over cuda/nnet.py to gpuarray/nnet.py
Copy over cuda/tests/test_nnet.py to gpuarray/tests/test_nnet.py
Change parent classes, add c_headers and c_compilers methods
Change float type to npy_%(dtype)s
Change x->nd to PyGpuArray_NDIM(x)
Change CudaNdarray_HOST_DIMS to PyGpuArray_DIMS
Change CudaNdarray_HOST_STRIDES to PyGpuArray_STRIDES
Change CudaNdarray_DEV_DATA to PyArray_DATA
Convert output creation to use pygpu_empty
Remove non-ported code
Partially fix failing tests
Remove import not used and fix output dtype computation.
Make variable name more descriptive
Fix compilation crash
Fix compilation crash and strides usage.
use better variable name
Better var name
Fix test and error msg
Define dtype_var in gpuarray c code.
make op_lifter work for Op with multiple output.