From 09fd5c8c84eeae711f49d3a52d8bf4b65f43970b Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Tue, 15 Mar 2016 06:11:02 +0000 Subject: [PATCH] I hate deepmind --- src/utils.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/utils.h b/src/utils.h index 7e13e86..3af85d3 100644 --- a/src/utils.h +++ b/src/utils.h @@ -34,7 +34,8 @@ float constrain(float min, float max, float a); float mse_array(float *a, int n); float rand_normal(); -float rand_uniform(); +float rand_uniform(float min, float max); +int rand_int(int min, int max); float sum_array(float *a, int n); float mean_array(float *a, int n); void mean_arrays(float **a, int n, int els, float *avg); -- Gitblit v1.10.0