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
468 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef ACTIVATION_LAYER_H
  2. #define ACTIVATION_LAYER_H
  3. #include "activations.h"
  4. #include "layer.h"
  5. #include "network.h"
  6. namespace DN{
  7. layer make_activation_layer(int batch, int inputs, ACTIVATION activation);
  8. void forward_activation_layer(layer l, network net);
  9. void backward_activation_layer(layer l, network net);
  10. #ifdef GPU
  11. void forward_activation_layer_gpu(layer l, network net);
  12. void backward_activation_layer_gpu(layer l, network net);
  13. #endif
  14. };
  15. #endif