1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| #ifndef ACTIVATIONS_H
| #define ACTIVATIONS_H
|
| typedef enum{
| SIGMOID, RELU, IDENTITY
| }ACTIVATION;
|
| ACTIVATION get_activation(char *s);
| double relu_activation(double x);
| double relu_gradient(double x);
| double sigmoid_activation(double x);
| double sigmoid_gradient(double x);
| double identity_activation(double x);
| double identity_gradient(double x);
|
| #endif
|
|