From edbccdfcaf46f11e631afe98796f3e6e170da5d0 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Sun, 26 Oct 2014 05:04:34 +0000 Subject: [PATCH] Maybe something changed? --- src/utils.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/utils.h b/src/utils.h index 6fe0343..49948f5 100644 --- a/src/utils.h +++ b/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); @@ -21,8 +22,10 @@ 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 -- Gitblit v1.10.0