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.

28 lines
677 B

8 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef CRNN_LAYER_H
  2. #define CRNN_LAYER_H
  3. #include "activations.h"
  4. #include "layer.h"
  5. #include "network.h"
  6. namespace DN{
  7. layer make_crnn_layer(int batch, int h, int w, int c, int hidden_filters, int output_filters, int steps, ACTIVATION activation, int batch_normalize);
  8. void forward_crnn_layer(layer l, network net);
  9. void backward_crnn_layer(layer l, network net);
  10. void update_crnn_layer(layer l, update_args a);
  11. #ifdef GPU
  12. void forward_crnn_layer_gpu(layer l, network net);
  13. void backward_crnn_layer_gpu(layer l, network net);
  14. void update_crnn_layer_gpu(layer l, update_args a);
  15. void push_crnn_layer(layer l);
  16. void pull_crnn_layer(layer l);
  17. #endif
  18. };
  19. #endif