Works well on MNIST

This commit is contained in:
Joseph Redmon
2013-12-05 13:17:16 -08:00
parent 0d6bb5d44d
commit b715671988
12 changed files with 124 additions and 82 deletions

View File

@ -15,6 +15,9 @@ char *copy_string(char *s);
int count_fields(char *line);
double *parse_fields(char *line, int n);
void normalize_array(double *a, int n);
void scale_array(double *a, int n, double s);
void translate_array(double *a, int n, double s);
int max_index(double *a, int n);
double constrain(double a, double max);
double rand_normal();
double mean_array(double *a, int n);