#include "convolutional_layer.h"#include "utils.h"#include "batchnorm_layer.h"#include "im2col.h"#include "col2im.h"#include "blas.h"#include "gemm.h"#include <stdio.h>#include <time.h>
Go to the source code of this file.
| #define AI2 0 |
Definition at line 16 of file convolutional_layer.c.
| 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 | l, |
| network_state | state | ||
| ) |
Definition at line 468 of file convolutional_layer.c.
| void binarize_cpu | ( | float * | input, |
| int | n, | ||
| float * | binary | ||
| ) |
Definition at line 48 of file convolutional_layer.c.
| void binarize_input | ( | float * | input, |
| int | n, | ||
| int | size, | ||
| float * | binary | ||
| ) |
Definition at line 56 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.
Definition at line 71 of file convolutional_layer.c.
Definition at line 76 of file convolutional_layer.c.
Definition at line 313 of file convolutional_layer.c.
| void forward_convolutional_layer | ( | convolutional_layer | l, |
| network_state | state | ||
| ) |
Definition at line 427 of file convolutional_layer.c.
| void forward_xnor_layer | ( | layer | l, |
| network_state | state | ||
| ) |
Definition at line 90 of file convolutional_layer.c.
Definition at line 81 of file convolutional_layer.c.
| image get_convolutional_weight | ( | convolutional_layer | l, |
| int | i | ||
| ) |
Definition at line 523 of file convolutional_layer.c.
Definition at line 555 of file convolutional_layer.c.
| size_t get_workspace_size | ( | layer | l | ) |
Definition at line 99 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 * | l, |
| 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 scale_bias | ( | float * | output, |
| float * | scales, | ||
| int | batch, | ||
| int | n, | ||
| int | size | ||
| ) |
Definition at line 405 of file convolutional_layer.c.
| void swap_binary | ( | convolutional_layer * | l | ) |
Definition at line 20 of file convolutional_layer.c.
| void test_convolutional_layer | ( | ) |
Definition at line 328 of file convolutional_layer.c.
| void update_convolutional_layer | ( | convolutional_layer | l, |
| int | batch, | ||
| float | learning_rate, | ||
| float | momentum, | ||
| float | decay | ||
| ) |
Definition at line 506 of file convolutional_layer.c.
| image* visualize_convolutional_layer | ( | convolutional_layer | l, |
| char * | window, | ||
| image * | prev_weights | ||
| ) |
Definition at line 566 of file convolutional_layer.c.