From 3a2a8653a69e2735e3da9c3d63fe830af2614f36 Mon Sep 17 00:00:00 2001
From: Philip Kahn <tigerhawkvok@gmail.com>
Date: Fri, 04 May 2018 21:59:29 +0000
Subject: [PATCH] Fix detection paths
---
src/col2im_kernels.cu | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/src/col2im_kernels.cu b/src/col2im_kernels.cu
index b381f1a..aed2df9 100644
--- a/src/col2im_kernels.cu
+++ b/src/col2im_kernels.cu
@@ -46,7 +46,6 @@
int ksize, int stride, int pad, float *data_im){
// We are going to launch channels * height_col * width_col kernels, each
// kernel responsible for copying a single-channel grid.
- pad = pad ? ksize/2 : 0;
int height_col = (height + 2 * pad - ksize) / stride + 1;
int width_col = (width + 2 * pad - ksize) / stride + 1;
int num_kernels = channels * height * width;
--
Gitblit v1.10.0