From 336a19f14550ab1adbb0d9599284ac525fb6a5e0 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Thu, 08 Sep 2016 05:44:41 +0000 Subject: [PATCH] slight changes to default demo settings --- src/utils.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/utils.h b/src/utils.h index ae0cba2..185e5e3 100644 --- a/src/utils.h +++ b/src/utils.h @@ -42,6 +42,7 @@ float rand_normal(); size_t rand_size_t(); float rand_uniform(float min, float max); +float rand_scale(float s); int rand_int(int min, int max); float sum_array(float *a, int n); float mean_array(float *a, int n); @@ -56,6 +57,7 @@ int find_arg(int argc, char* argv[], char *arg); char *find_char_arg(int argc, char **argv, char *arg, char *def); int sample_array(float *a, int n); +void print_statistics(float *a, int n); #endif -- Gitblit v1.10.0