Modifications so that it doesn't resize and crop. Just resize to a fixed size.
Added a setup function. Still needs to be compiled and checked.
Merge branch 'tanh' into unsupervised
Fixed a bug in the setup function for tanh layer.
Now I check if memory needs to be allocated and Reshape the blob accordingly.
Merge branch 'tanh' into unsupervised
Fixed a few bugs in the net.cpp (it was using the wrong layer number).
Changed net_main and added net_solver for the sparse convolutional auto encoder example.
The network crashes because the split layer code isn't added yet. We need that for the regularization to work.