#include "cuda.h"
#include "image.h"
#include "activations.h"
#include "layer.h"
#include "network.h"
Go to the source code of this file.
typedef layer convolutional_layer |
Definition at line 10 of file convolutional_layer.h.
void add_bias | ( | float * | output, |
float * | biases, | ||
int | batch, | ||
int | n, | ||
int | size | ||
) |
Definition at line 393 of file convolutional_layer.c.
void backward_bias | ( | float * | bias_updates, |
float * | delta, | ||
int | batch, | ||
int | n, | ||
int | size | ||
) |
Definition at line 417 of file convolutional_layer.c.
void backward_convolutional_layer | ( | convolutional_layer | layer, |
network_state | state | ||
) |
Definition at line 468 of file convolutional_layer.c.
void binarize_weights | ( | float * | weights, |
int | n, | ||
int | size, | ||
float * | binary | ||
) |
Definition at line 33 of file convolutional_layer.c.
void binarize_weights2 | ( | float * | weights, |
int | n, | ||
int | size, | ||
char * | binary, | ||
float * | scales | ||
) |
int convolutional_out_height | ( | convolutional_layer | layer | ) |
Definition at line 71 of file convolutional_layer.c.
int convolutional_out_width | ( | convolutional_layer | layer | ) |
Definition at line 76 of file convolutional_layer.c.
Definition at line 313 of file convolutional_layer.c.
void forward_convolutional_layer | ( | const convolutional_layer | layer, |
network_state | state | ||
) |
Definition at line 427 of file convolutional_layer.c.
Definition at line 90 of file convolutional_layer.c.
Definition at line 81 of file convolutional_layer.c.
image get_convolutional_weight | ( | convolutional_layer | layer, |
int | i | ||
) |
Definition at line 523 of file convolutional_layer.c.
convolutional_layer make_convolutional_layer | ( | int | batch, |
int | h, | ||
int | w, | ||
int | c, | ||
int | n, | ||
int | size, | ||
int | stride, | ||
int | padding, | ||
ACTIVATION | activation, | ||
int | batch_normalize, | ||
int | binary, | ||
int | xnor, | ||
int | adam | ||
) |
Definition at line 174 of file convolutional_layer.c.
void rescale_weights | ( | convolutional_layer | l, |
float | scale, | ||
float | trans | ||
) |
Definition at line 542 of file convolutional_layer.c.
void resize_convolutional_layer | ( | convolutional_layer * | layer, |
int | w, | ||
int | h | ||
) |
Definition at line 352 of file convolutional_layer.c.
void rgbgr_weights | ( | convolutional_layer | l | ) |
Definition at line 531 of file convolutional_layer.c.
void swap_binary | ( | convolutional_layer * | l | ) |
Definition at line 20 of file convolutional_layer.c.
void update_convolutional_layer | ( | convolutional_layer | layer, |
int | batch, | ||
float | learning_rate, | ||
float | momentum, | ||
float | decay | ||
) |
Definition at line 506 of file convolutional_layer.c.
image* visualize_convolutional_layer | ( | convolutional_layer | layer, |
char * | window, | ||
image * | prev_weights | ||
) |
Definition at line 566 of file convolutional_layer.c.