FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

#include "dnn.hpp" void run_sequential(MNIST& D, unsigned num_threads) { const auto iter_num = D.images.rows()/D.batch_size; for(auto e=0u; e=0; i--) { D.update(i); } // Get next batch D.beg_row += D.batch_size; if(D.beg_row >= D.images.rows()) { D.beg_row = 0; } } // End of iterations // Shuffle input D.shuffle(D.images, D.labels, D.images.rows()); } // End of epoch }

Back | FazBrowse Home | New Git URL