Joseph Redmon
2014-11-05 b13ad6d5fd23f68f506c14ede4282126d893702b
src/utils.h
@@ -1,6 +1,7 @@
#ifndef UTILS_H
#define UTILS_H
#include <stdio.h>
#include <time.h>
#include "list.h"
void error(char *s);
@@ -20,8 +21,11 @@
int max_index(float *a, int n);
float constrain(float a, float max);
float rand_normal();
float rand_uniform();
float sum_array(float *a, int n);
float mean_array(float *a, int n);
float variance_array(float *a, int n);
float **one_hot_encode(float *a, int n, int k);
float sec(clock_t clocks);
#endif