From af4e4f92dc9e5da160eb6c6870a7b38b863f1c6c Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Tue, 28 Oct 2014 02:45:06 +0000
Subject: [PATCH] getting rid of sub_arrays, nvidia driver memory leak

---
 src/utils.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/utils.h b/src/utils.h
index 8185107..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);
@@ -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
 

--
Gitblit v1.10.0