main.cpp 241 B

12345678910
  1. #include "mnist/mnist.hpp"
  2. #include "network.hpp"
  3. int main(int argc,char** argv){
  4. Mnist dataset;
  5. Network network(28*28,30,10);
  6. //network.init_normal_distribution(0,1);
  7. network.init_standard();
  8. network.train(&dataset,20,10,3.0);
  9. }