From 787d5345609459f21fd65d2d8b4fcd55201e21a1 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Mon, 13 Oct 2014 07:31:10 +0000 Subject: [PATCH] Convolutional working on GPU --- 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