This the most eneric code of neural networks, you just have to chagne the number of neurons (units) in a vector, then see the results.
mtsol/Neural-network-most-generic-code-matlab-tested-on-mnist.
This the most eneric code of neural networks, you just have to chagne the number of neurons (units) in a vector, then see the results.
Matlab