From 76ee68f96d864a27312c9aa09856ddda559a5cd9 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Thu, 28 Aug 2014 02:11:46 +0000 Subject: [PATCH] Trying some stuff w/ dropout --- src/utils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/utils.h b/src/utils.h index 8185107..f38af33 100644 --- a/src/utils.h +++ b/src/utils.h @@ -20,6 +20,8 @@ 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); -- Gitblit v1.10.0