![]() |
darknet
v3
|
#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.
void add_bias | ( | float * | output, |
float * | biases, | ||
int | batch, | ||
int | n, | ||
int | size | ||
) |
Definition at line 411 of file convolutional_layer.c.
void backward_bias | ( | float * | bias_updates, |
float * | delta, | ||
int | batch, | ||
int | n, | ||
int | size | ||
) |
Definition at line 435 of file convolutional_layer.c.
void backward_convolutional_layer | ( | convolutional_layer | l, |
network | net | ||
) |
Definition at line 487 of file convolutional_layer.c.
void binarize_cpu | ( | float * | input, |
int | n, | ||
float * | binary | ||
) |
Definition at line 43 of file convolutional_layer.c.
void binarize_input | ( | float * | input, |
int | n, | ||
int | size, | ||
float * | binary | ||
) |
Definition at line 51 of file convolutional_layer.c.
void binarize_weights | ( | float * | weights, |
int | n, | ||
int | size, | ||
float * | binary | ||
) |
Definition at line 28 of file convolutional_layer.c.
int convolutional_out_height | ( | convolutional_layer | l | ) |
Definition at line 66 of file convolutional_layer.c.
int convolutional_out_width | ( | convolutional_layer | l | ) |
Definition at line 71 of file convolutional_layer.c.
void denormalize_convolutional_layer | ( | convolutional_layer | l | ) |
Definition at line 330 of file convolutional_layer.c.
void forward_convolutional_layer | ( | convolutional_layer | l, |
network | net | ||
) |
Definition at line 445 of file convolutional_layer.c.
image get_convolutional_delta | ( | convolutional_layer | l | ) |
Definition at line 81 of file convolutional_layer.c.
image get_convolutional_image | ( | convolutional_layer | l | ) |
Definition at line 76 of file convolutional_layer.c.
image get_convolutional_weight | ( | convolutional_layer | l, |
int | i | ||
) |
Definition at line 559 of file convolutional_layer.c.
image* get_weights | ( | convolutional_layer | l | ) |
Definition at line 591 of file convolutional_layer.c.
convolutional_layer make_convolutional_layer | ( | int | batch, |
int | h, | ||
int | w, | ||
int | c, | ||
int | n, | ||
int | groups, | ||
int | size, | ||
int | stride, | ||
int | padding, | ||
ACTIVATION | activation, | ||
int | batch_normalize, | ||
int | binary, | ||
int | xnor, | ||
int | adam | ||
) |
Definition at line 176 of file convolutional_layer.c.
void rescale_weights | ( | convolutional_layer | l, |
float | scale, | ||
float | trans | ||
) |
Definition at line 578 of file convolutional_layer.c.
void resize_convolutional_layer | ( | convolutional_layer * | l, |
int | w, | ||
int | h | ||
) |
Definition at line 370 of file convolutional_layer.c.
void rgbgr_weights | ( | convolutional_layer | l | ) |
Definition at line 567 of file convolutional_layer.c.
void scale_bias | ( | float * | output, |
float * | scales, | ||
int | batch, | ||
int | n, | ||
int | size | ||
) |
Definition at line 423 of file convolutional_layer.c.
void swap_binary | ( | convolutional_layer * | l | ) |
Definition at line 15 of file convolutional_layer.c.
void update_convolutional_layer | ( | convolutional_layer | l, |
update_args | a | ||
) |
Definition at line 538 of file convolutional_layer.c.
image* visualize_convolutional_layer | ( | convolutional_layer | l, |
char * | window, | ||
image * | prev_weights | ||
) |
Definition at line 608 of file convolutional_layer.c.