2016-03-01 00:54:12 +03:00
|
|
|
|
|
|
|
#ifndef CRNN_LAYER_H
|
|
|
|
#define CRNN_LAYER_H
|
|
|
|
|
|
|
|
#include "activations.h"
|
|
|
|
#include "layer.h"
|
|
|
|
#include "network.h"
|
|
|
|
|
|
|
|
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);
|
|
|
|
|
2017-04-10 05:56:42 +03:00
|
|
|
void forward_crnn_layer(layer l, network net);
|
|
|
|
void backward_crnn_layer(layer l, network net);
|
2017-06-13 02:19:08 +03:00
|
|
|
void update_crnn_layer(layer l, update_args a);
|
2016-03-01 00:54:12 +03:00
|
|
|
|
|
|
|
#ifdef GPU
|
2017-04-10 05:56:42 +03:00
|
|
|
void forward_crnn_layer_gpu(layer l, network net);
|
|
|
|
void backward_crnn_layer_gpu(layer l, network net);
|
2017-06-13 02:19:08 +03:00
|
|
|
void update_crnn_layer_gpu(layer l, update_args a);
|
2016-03-01 00:54:12 +03:00
|
|
|
void push_crnn_layer(layer l);
|
|
|
|
void pull_crnn_layer(layer l);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|