To compile the code, modify config.mk
to the setting you like and type make
To run the demo, download MNIST dataset from: http://yann.lecun.com/exdb/mnist/ unzip all the files into current folder
and run by ./nnet cpu or ./nnet gpu. ./convnet cpu or ./convnet gpu
./nnet_ps gpu 0 1
../nnet_ps cpu 0 1
.