From 3ebcc647b651a4a3c717eff2a3087127e5707e0c Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Mon, 14 May 2018 09:20:38 +0000
Subject: [PATCH] Fixed network resizing (random=1) for non-square networks

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

diff --git a/src/im2col.h b/src/im2col.h
index b939043..f0ddeee 100644
--- a/src/im2col.h
+++ b/src/im2col.h
@@ -7,7 +7,7 @@
 
 #ifdef GPU
 
-void im2col_ongpu(float *im, int offset,
+void im2col_ongpu(float *im,
          int channels, int height, int width,
          int ksize, int stride, int pad,float *data_col);
 

--
Gitblit v1.10.0