mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
First Commit!
This commit is contained in:
15
src/maxpool_layer.h
Normal file
15
src/maxpool_layer.h
Normal file
@ -0,0 +1,15 @@
|
||||
#ifndef MAXPOOL_LAYER_H
|
||||
#define MAXPOOL_LAYER_H
|
||||
|
||||
#include "image.h"
|
||||
|
||||
typedef struct {
|
||||
int stride;
|
||||
image 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);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user