Go to the documentation of this file.00001 #ifndef SHORTCUT_LAYER_H
00002 #define SHORTCUT_LAYER_H
00003
00004 #include "layer.h"
00005 #include "network.h"
00006
00007 layer make_shortcut_layer(int batch, int index, int w, int h, int c, int w2, int h2, int c2);
00008 void forward_shortcut_layer(const layer l, network_state state);
00009 void backward_shortcut_layer(const layer l, network_state state);
00010
00011 #ifdef GPU
00012 void forward_shortcut_layer_gpu(const layer l, network_state state);
00013 void backward_shortcut_layer_gpu(const layer l, network_state state);
00014 #endif
00015
00016 #endif