![]() |
darknet
v3
|
#include "activations.h"#include <math.h>#include <stdio.h>#include <stdlib.h>#include <string.h>
Go to the source code of this file.
Functions | |
| char * | get_activation_string (ACTIVATION a) |
| ACTIVATION | get_activation (char *s) |
| float | activate (float x, ACTIVATION a) |
| void | activate_array (float *x, const int n, const ACTIVATION a) |
| float | gradient (float x, ACTIVATION a) |
| void | gradient_array (const float *x, const int n, const ACTIVATION a, float *delta) |
| float activate | ( | float | x, |
| ACTIVATION | a | ||
| ) |
Definition at line 65 of file activations.c.
| void activate_array | ( | float * | x, |
| const int | n, | ||
| const ACTIVATION | a | ||
| ) |
Definition at line 100 of file activations.c.
| ACTIVATION get_activation | ( | char * | s | ) |
Definition at line 45 of file activations.c.
| char* get_activation_string | ( | ACTIVATION | a | ) |
Definition at line 8 of file activations.c.
| float gradient | ( | float | x, |
| ACTIVATION | a | ||
| ) |
Definition at line 108 of file activations.c.
| void gradient_array | ( | const float * | x, |
| const int | n, | ||
| const ACTIVATION | a, | ||
| float * | delta | ||
| ) |
Definition at line 143 of file activations.c.
1.8.13