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.

23 lines
684 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef NORMALIZATION_LAYER_H
  2. #define NORMALIZATION_LAYER_H
  3. #include "image.h"
  4. #include "layer.h"
  5. #include "network.h"
  6. namespace DN{
  7. layer make_normalization_layer(int batch, int w, int h, int c, int size, float alpha, float beta, float kappa);
  8. void resize_normalization_layer(layer *layer, int h, int w);
  9. void forward_normalization_layer(const layer layer, network net);
  10. void backward_normalization_layer(const layer layer, network net);
  11. void visualize_normalization_layer(layer layer, char *window);
  12. #ifdef GPU
  13. void forward_normalization_layer_gpu(const layer layer, network net);
  14. void backward_normalization_layer_gpu(const layer layer, network net);
  15. #endif
  16. };
  17. #endif