Go to the documentation of this file.00001 #ifndef REORG_LAYER_H
00002 #define REORG_LAYER_H
00003
00004 #include "image.h"
00005 #include "cuda.h"
00006 #include "layer.h"
00007 #include "network.h"
00008
00009 layer make_reorg_layer(int batch, int h, int w, int c, int stride, int reverse);
00010 void resize_reorg_layer(layer *l, int w, int h);
00011 void forward_reorg_layer(const layer l, network_state state);
00012 void backward_reorg_layer(const layer l, network_state state);
00013
00014 #ifdef GPU
00015 void forward_reorg_layer_gpu(layer l, network_state state);
00016 void backward_reorg_layer_gpu(layer l, network_state state);
00017 #endif
00018
00019 #endif
00020