From 08c7cf9c88befd845f00c00d85e40a9eead4b1b3 Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Sun, 19 Jun 2016 21:28:15 +0000
Subject: [PATCH] no mean on input binarization

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

diff --git a/src/network.h b/src/network.h
index 66ceb30..15b58b8 100644
--- a/src/network.h
+++ b/src/network.h
@@ -7,10 +7,11 @@
 #include "data.h"
 
 typedef enum {
-    CONSTANT, STEP, EXP, POLY, STEPS, SIG
+    CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM
 } learning_rate_policy;
 
 typedef struct network{
+    float *workspace;
     int n;
     int batch;
     int *seen;
@@ -49,6 +50,7 @@
     float *truth;
     float *input;
     float *delta;
+    float *workspace;
     int train;
     int index;
     network net;

--
Gitblit v1.10.0