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.

24 lines
547 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef REORG_LAYER_H
  2. #define REORG_LAYER_H
  3. #include "image.h"
  4. #include "dn_cuda.h"
  5. #include "layer.h"
  6. #include "network.h"
  7. namespace DN{
  8. layer make_reorg_layer(int batch, int w, int h, int c, int stride, int reverse, int flatten, int extra);
  9. void resize_reorg_layer(layer *l, int w, int h);
  10. void forward_reorg_layer(const layer l, network net);
  11. void backward_reorg_layer(const layer l, network net);
  12. #ifdef GPU
  13. void forward_reorg_layer_gpu(layer l, network net);
  14. void backward_reorg_layer_gpu(layer l, network net);
  15. #endif
  16. };
  17. #endif