You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
475 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef SHORTCUT_LAYER_H
  2. #define SHORTCUT_LAYER_H
  3. #include "layer.h"
  4. #include "network.h"
  5. namespace DN{
  6. layer make_shortcut_layer(int batch, int index, int w, int h, int c, int w2, int h2, int c2);
  7. void forward_shortcut_layer(const layer l, network net);
  8. void backward_shortcut_layer(const layer l, network net);
  9. #ifdef GPU
  10. void forward_shortcut_layer_gpu(const layer l, network net);
  11. void backward_shortcut_layer_gpu(const layer l, network net);
  12. #endif
  13. };
  14. #endif