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/xnor_layer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/xnor_layer.c b/src/xnor_layer.c
index 6c5e9b8..e2fca7e 100644
--- a/src/xnor_layer.c
+++ b/src/xnor_layer.c
@@ -66,7 +66,7 @@
     ai2_bin_conv_layer al = ai2_make_bin_conv_layer(b, c, ix, iy, wx, wy, s, pad);
 
     // OPTIONAL: You need to set the real-valued input like:
-    ai2_setFltInput(&al, state.input);
+    ai2_setFltInput_unpadded(&al, state.input);
     // The above function will automatically binarize the input for the layer (channel wise).
     // If commented: using the default 0-valued input.
 

--
Gitblit v1.10.0