From 01f20abe847768a8fb3e27739a284b541eb08ff6 Mon Sep 17 00:00:00 2001 From: Joseph Redmon <pjreddie@gmail.com> Date: Fri, 05 Feb 2016 20:56:18 +0000 Subject: [PATCH] generate --- src/convolutional_layer.h | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/convolutional_layer.h b/src/convolutional_layer.h index 436ed7e..7c39181 100644 --- a/src/convolutional_layer.h +++ b/src/convolutional_layer.h @@ -2,7 +2,6 @@ #define CONVOLUTIONAL_LAYER_H #include "cuda.h" -#include "params.h" #include "image.h" #include "activations.h" #include "layer.h" @@ -22,7 +21,7 @@ void backward_bias_gpu(float *bias_updates, float *delta, int batch, int n, int size); #endif -convolutional_layer make_convolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, int pad, ACTIVATION activation, int batch_normalization); +convolutional_layer make_convolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, int pad, ACTIVATION activation, int batch_normalization, int binary); void denormalize_convolutional_layer(convolutional_layer l); void resize_convolutional_layer(convolutional_layer *layer, int w, int h); void forward_convolutional_layer(const convolutional_layer layer, network_state state); @@ -31,7 +30,7 @@ void backward_convolutional_layer(convolutional_layer layer, network_state state); -void bias_output(float *output, float *biases, int batch, int n, int size); +void add_bias(float *output, float *biases, int batch, int n, int size); void backward_bias(float *bias_updates, float *delta, int batch, int n, int size); image get_convolutional_image(convolutional_layer layer); -- Gitblit v1.10.0