From 23d94e4846bf4ec13069703a28b1d776f4bbe44f Mon Sep 17 00:00:00 2001 From: Edmond Yoo <hj3yoo@uwaterloo.ca> Date: Sat, 13 Oct 2018 18:49:47 +0000 Subject: [PATCH] Cleaning & commenting #3 - refactoring constants to Config class --- src/maxpool_layer.h | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/src/maxpool_layer.h b/src/maxpool_layer.h index b91c2c1..ce56dd8 100644 --- a/src/maxpool_layer.h +++ b/src/maxpool_layer.h @@ -2,7 +2,6 @@ #define MAXPOOL_LAYER_H #include "image.h" -#include "params.h" #include "cuda.h" #include "layer.h" #include "network.h" @@ -10,7 +9,7 @@ typedef layer maxpool_layer; image get_maxpool_image(maxpool_layer l); -maxpool_layer make_maxpool_layer(int batch, int h, int w, int c, int size, int stride); +maxpool_layer make_maxpool_layer(int batch, int h, int w, int c, int size, int stride, int padding); void resize_maxpool_layer(maxpool_layer *l, int w, int h); void forward_maxpool_layer(const maxpool_layer l, network_state state); void backward_maxpool_layer(const maxpool_layer l, network_state state); -- Gitblit v1.10.0