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.
29 lines
903 B
29 lines
903 B
#ifndef DECONVOLUTIONAL_LAYER_H
|
|
#define DECONVOLUTIONAL_LAYER_H
|
|
|
|
#include "dn_cuda.h"
|
|
#include "image.h"
|
|
#include "activations.h"
|
|
#include "layer.h"
|
|
#include "network.h"
|
|
|
|
namespace DN{
|
|
|
|
#ifdef GPU
|
|
void forward_deconvolutional_layer_gpu(layer l, network net);
|
|
void backward_deconvolutional_layer_gpu(layer l, network net);
|
|
void update_deconvolutional_layer_gpu(layer l, update_args a);
|
|
void push_deconvolutional_layer(layer l);
|
|
void pull_deconvolutional_layer(layer l);
|
|
#endif
|
|
|
|
layer make_deconvolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, int padding, ACTIVATION activation, int batch_normalize, int adam);
|
|
void resize_deconvolutional_layer(layer *l, int h, int w);
|
|
void forward_deconvolutional_layer(const layer l, network net);
|
|
void update_deconvolutional_layer(layer l, update_args a);
|
|
void backward_deconvolutional_layer(layer l, network net);
|
|
|
|
};
|
|
|
|
#endif
|
|
|