From 2db9fbef2bd7d35a547d0018a9850f6b249c524f Mon Sep 17 00:00:00 2001
From: Joseph Redmon <pjreddie@gmail.com>
Date: Wed, 13 Nov 2013 18:50:38 +0000
Subject: [PATCH] Parsing, image loading, lots of stuff
---
src/maxpool_layer.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/maxpool_layer.h b/src/maxpool_layer.h
index 077bcfa..04fb4b4 100644
--- a/src/maxpool_layer.h
+++ b/src/maxpool_layer.h
@@ -4,12 +4,15 @@
#include "image.h"
typedef struct {
+ int h,w,c;
int stride;
- image output;
+ double *delta;
+ double *output;
} maxpool_layer;
-maxpool_layer make_maxpool_layer(int h, int w, int c, int stride);
-void run_maxpool_layer(const image input, const maxpool_layer layer);
+image get_maxpool_image(maxpool_layer layer);
+maxpool_layer *make_maxpool_layer(int h, int w, int c, int stride);
+void forward_maxpool_layer(const maxpool_layer layer, double *in);
#endif
--
Gitblit v1.10.0