From 076009ebe308fde0156304e701f36e8bb04e4d6b Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Thu, 17 Jul 2014 17:14:59 +0000
Subject: [PATCH] Fixed batch stuff in conv layer

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

diff --git a/src/convolutional_layer.h b/src/convolutional_layer.h
index 2deea62..e0722f8 100644
--- a/src/convolutional_layer.h
+++ b/src/convolutional_layer.h
@@ -14,6 +14,7 @@
     int n;
     int size;
     int stride;
+    int pad;
     float *filters;
     float *filter_updates;
     float *filter_momentum;
@@ -47,7 +48,7 @@
 void forward_convolutional_layer_gpu(convolutional_layer layer, cl_mem in);
 #endif
 
-convolutional_layer *make_convolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, ACTIVATION activation);
+convolutional_layer *make_convolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, int pad, ACTIVATION activation);
 void resize_convolutional_layer(convolutional_layer *layer, int h, int w, int c);
 void forward_convolutional_layer(const convolutional_layer layer, float *in);
 void update_convolutional_layer(convolutional_layer layer, float step, float momentum, float decay);

--
Gitblit v1.10.0