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.

22 lines
517 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef REGION_LAYER_H
  2. #define REGION_LAYER_H
  3. #include "darknet.h"
  4. #include "layer.h"
  5. #include "network.h"
  6. namespace DN{
  7. layer make_region_layer(int batch, int h, int w, int n, int classes, int coords);
  8. void forward_region_layer(const layer l, network net);
  9. void backward_region_layer(const layer l, network net);
  10. void resize_region_layer(layer *l, int w, int h);
  11. #ifdef GPU
  12. void forward_region_layer_gpu(const layer l, network net);
  13. void backward_region_layer_gpu(layer l, network net);
  14. #endif
  15. };
  16. #endif