mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
26 lines
625 B
C
26 lines
625 B
C
|
|
#ifndef RNN_LAYER_H
|
|
#define RNN_LAYER_H
|
|
|
|
#include "activations.h"
|
|
#include "layer.h"
|
|
#include "network.h"
|
|
#define USET
|
|
|
|
layer make_rnn_layer(int batch, int inputs, int outputs, int steps, ACTIVATION activation, int batch_normalize, int adam);
|
|
|
|
void forward_rnn_layer(layer l, network net);
|
|
void backward_rnn_layer(layer l, network net);
|
|
void update_rnn_layer(layer l, update_args a);
|
|
|
|
#ifdef GPU
|
|
void forward_rnn_layer_gpu(layer l, network net);
|
|
void backward_rnn_layer_gpu(layer l, network net);
|
|
void update_rnn_layer_gpu(layer l, update_args a);
|
|
void push_rnn_layer(layer l);
|
|
void pull_rnn_layer(layer l);
|
|
#endif
|
|
|
|
#endif
|
|
|