From b715671988a4f3e476586df52fa3bf052cce7f80 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 05 Dec 2013 21:17:16 +0000
Subject: [PATCH] Works well on MNIST

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

diff --git a/src/utils.h b/src/utils.h
index 3521778..04747a4 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -15,6 +15,9 @@
 int count_fields(char *line);
 double *parse_fields(char *line, int n);
 void normalize_array(double *a, int n);
+void scale_array(double *a, int n, double s);
+void translate_array(double *a, int n, double s);
+int max_index(double *a, int n);
 double constrain(double a, double max);
 double rand_normal();
 double mean_array(double *a, int n);

--
Gitblit v1.10.0