![]() |
darknet
v3
|
#include "darknet.h"

Go to the source code of this file.
Functions | |
| void | flatten (float *x, int size, int layers, int batch, int forward) |
| void | pm (int M, int N, float *A) |
| float * | random_matrix (int rows, int cols) |
| void | time_random_matrix (int TA, int TB, int m, int k, int n) |
| void | reorg_cpu (float *x, int w, int h, int c, int batch, int stride, int forward, float *out) |
| void | test_blas () |
| void | inter_cpu (int NX, float *X, int NY, float *Y, int B, float *OUT) |
| void | deinter_cpu (int NX, float *X, int NY, float *Y, int B, float *OUT) |
| void | mult_add_into_cpu (int N, float *X, float *Y, float *Z) |
| void | const_cpu (int N, float ALPHA, float *X, int INCX) |
| void | constrain_gpu (int N, float ALPHA, float *X, int INCX) |
| void | pow_cpu (int N, float ALPHA, float *X, int INCX, float *Y, int INCY) |
| void | mul_cpu (int N, float *X, int INCX, float *Y, int INCY) |
| int | test_gpu_blas () |
| void | shortcut_cpu (int batch, int w1, int h1, int c1, float *add, int w2, int h2, int c2, float s1, float s2, float *out) |
| void | mean_cpu (float *x, int batch, int filters, int spatial, float *mean) |
| void | variance_cpu (float *x, float *mean, int batch, int filters, int spatial, float *variance) |
| void | scale_bias (float *output, float *scales, int batch, int n, int size) |
| void | backward_scale_cpu (float *x_norm, float *delta, int batch, int n, int size, float *scale_updates) |
| void | mean_delta_cpu (float *delta, float *variance, int batch, int filters, int spatial, float *mean_delta) |
| void | variance_delta_cpu (float *x, float *delta, float *mean, float *variance, int batch, int filters, int spatial, float *variance_delta) |
| void | normalize_delta_cpu (float *x, float *mean, float *variance, float *mean_delta, float *variance_delta, int batch, int filters, int spatial, float *delta) |
| void | l2normalize_cpu (float *x, float *dx, int batch, int filters, int spatial) |
| void | smooth_l1_cpu (int n, float *pred, float *truth, float *delta, float *error) |
| void | l2_cpu (int n, float *pred, float *truth, float *delta, float *error) |
| void | l1_cpu (int n, float *pred, float *truth, float *delta, float *error) |
| void | logistic_x_ent_cpu (int n, float *pred, float *truth, float *delta, float *error) |
| void | softmax_x_ent_cpu (int n, float *pred, float *truth, float *delta, float *error) |
| void | weighted_sum_cpu (float *a, float *b, float *s, int num, float *c) |
| void | weighted_delta_cpu (float *a, float *b, float *s, float *da, float *db, float *ds, int n, float *dc) |
| void | softmax (float *input, int n, float temp, int stride, float *output) |
| void | softmax_cpu (float *input, int n, int batch, int batch_offset, int groups, int group_offset, int stride, float temp, float *output) |
| void | upsample_cpu (float *in, int w, int h, int c, int batch, int stride, int forward, float scale, float *out) |
| void backward_scale_cpu | ( | float * | x_norm, |
| float * | delta, | ||
| int | batch, | ||
| int | n, | ||
| int | size, | ||
| float * | scale_updates | ||
| ) |
Definition at line 72 of file batchnorm_layer.c.
| void constrain_gpu | ( | int | N, |
| float | ALPHA, | ||
| float * | X, | ||
| int | INCX | ||
| ) |
Definition at line 680 of file blas_kernels.cu.
| void deinter_cpu | ( | int | NX, |
| float * | X, | ||
| int | NY, | ||
| float * | Y, | ||
| int | B, | ||
| float * | OUT | ||
| ) |
| void flatten | ( | float * | x, |
| int | size, | ||
| int | layers, | ||
| int | batch, | ||
| int | forward | ||
| ) |
| void inter_cpu | ( | int | NX, |
| float * | X, | ||
| int | NY, | ||
| float * | Y, | ||
| int | B, | ||
| float * | OUT | ||
| ) |
| void l1_cpu | ( | int | n, |
| float * | pred, | ||
| float * | truth, | ||
| float * | delta, | ||
| float * | error | ||
| ) |
| void l2_cpu | ( | int | n, |
| float * | pred, | ||
| float * | truth, | ||
| float * | delta, | ||
| float * | error | ||
| ) |
| void l2normalize_cpu | ( | float * | x, |
| float * | dx, | ||
| int | batch, | ||
| int | filters, | ||
| int | spatial | ||
| ) |
| void logistic_x_ent_cpu | ( | int | n, |
| float * | pred, | ||
| float * | truth, | ||
| float * | delta, | ||
| float * | error | ||
| ) |
| void mean_cpu | ( | float * | x, |
| int | batch, | ||
| int | filters, | ||
| int | spatial, | ||
| float * | mean | ||
| ) |
| void mean_delta_cpu | ( | float * | delta, |
| float * | variance, | ||
| int | batch, | ||
| int | filters, | ||
| int | spatial, | ||
| float * | mean_delta | ||
| ) |
Definition at line 87 of file batchnorm_layer.c.
| void mul_cpu | ( | int | N, |
| float * | X, | ||
| int | INCX, | ||
| float * | Y, | ||
| int | INCY | ||
| ) |
| void mult_add_into_cpu | ( | int | N, |
| float * | X, | ||
| float * | Y, | ||
| float * | Z | ||
| ) |
| void normalize_delta_cpu | ( | float * | x, |
| float * | mean, | ||
| float * | variance, | ||
| float * | mean_delta, | ||
| float * | variance_delta, | ||
| int | batch, | ||
| int | filters, | ||
| int | spatial, | ||
| float * | delta | ||
| ) |
Definition at line 117 of file batchnorm_layer.c.
| void pow_cpu | ( | int | N, |
| float | ALPHA, | ||
| float * | X, | ||
| int | INCX, | ||
| float * | Y, | ||
| int | INCY | ||
| ) |
| void reorg_cpu | ( | float * | x, |
| int | w, | ||
| int | h, | ||
| int | c, | ||
| int | batch, | ||
| int | stride, | ||
| int | forward, | ||
| float * | out | ||
| ) |
| void scale_bias | ( | float * | output, |
| float * | scales, | ||
| int | batch, | ||
| int | n, | ||
| int | size | ||
| ) |
Definition at line 423 of file convolutional_layer.c.
| void shortcut_cpu | ( | int | batch, |
| int | w1, | ||
| int | h1, | ||
| int | c1, | ||
| float * | add, | ||
| int | w2, | ||
| int | h2, | ||
| int | c2, | ||
| float | s1, | ||
| float | s2, | ||
| float * | out | ||
| ) |
| void smooth_l1_cpu | ( | int | n, |
| float * | pred, | ||
| float * | truth, | ||
| float * | delta, | ||
| float * | error | ||
| ) |
| void softmax | ( | float * | input, |
| int | n, | ||
| float | temp, | ||
| int | stride, | ||
| float * | output | ||
| ) |
| void softmax_cpu | ( | float * | input, |
| int | n, | ||
| int | batch, | ||
| int | batch_offset, | ||
| int | groups, | ||
| int | group_offset, | ||
| int | stride, | ||
| float | temp, | ||
| float * | output | ||
| ) |
| void softmax_x_ent_cpu | ( | int | n, |
| float * | pred, | ||
| float * | truth, | ||
| float * | delta, | ||
| float * | error | ||
| ) |
| void test_blas | ( | ) |
| int test_gpu_blas | ( | ) |
| void time_random_matrix | ( | int | TA, |
| int | TB, | ||
| int | m, | ||
| int | k, | ||
| int | n | ||
| ) |
| void upsample_cpu | ( | float * | in, |
| int | w, | ||
| int | h, | ||
| int | c, | ||
| int | batch, | ||
| int | stride, | ||
| int | forward, | ||
| float | scale, | ||
| float * | out | ||
| ) |
| void variance_cpu | ( | float * | x, |
| float * | mean, | ||
| int | batch, | ||
| int | filters, | ||
| int | spatial, | ||
| float * | variance | ||
| ) |
| void variance_delta_cpu | ( | float * | x, |
| float * | delta, | ||
| float * | mean, | ||
| float * | variance, | ||
| int | batch, | ||
| int | filters, | ||
| int | spatial, | ||
| float * | variance_delta | ||
| ) |
Definition at line 102 of file batchnorm_layer.c.
| void weighted_delta_cpu | ( | float * | a, |
| float * | b, | ||
| float * | s, | ||
| float * | da, | ||
| float * | db, | ||
| float * | ds, | ||
| int | n, | ||
| float * | dc | ||
| ) |
1.8.13