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
28 lines
677 B
|
|
#ifndef CRNN_LAYER_H
|
|
#define CRNN_LAYER_H
|
|
|
|
#include "activations.h"
|
|
#include "layer.h"
|
|
#include "network.h"
|
|
|
|
namespace DN{
|
|
|
|
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);
|
|
|
|
void forward_crnn_layer(layer l, network net);
|
|
void backward_crnn_layer(layer l, network net);
|
|
void update_crnn_layer(layer l, update_args a);
|
|
|
|
#ifdef GPU
|
|
void forward_crnn_layer_gpu(layer l, network net);
|
|
void backward_crnn_layer_gpu(layer l, network net);
|
|
void update_crnn_layer_gpu(layer l, update_args a);
|
|
void push_crnn_layer(layer l);
|
|
void pull_crnn_layer(layer l);
|
|
#endif
|
|
|
|
};
|
|
|
|
#endif
|
|
|