From 845ab7579685b6702c92c1088ec11e71bde51f3c Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Fri, 05 Aug 2016 22:27:07 +0000
Subject: [PATCH] some more stuff

---
 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