Skip to content

Instantly share code, notes, and snippets.

@spolu
Created September 22, 2014 23:25
Show Gist options
  • Save spolu/5e6eeeca0acdd70794f1 to your computer and use it in GitHub Desktop.
Save spolu/5e6eeeca0acdd70794f1 to your computer and use it in GitHub Desktop.
Neural Network Definition
//
// ## NN Class
//
class NN : public ObjectWrap {
/* ... */
vector<int> layers_; /* layers structure */
vector< vector< vector<double> > > W_; /* weights */
/* ... */
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment