Joseph Redmon
2014-04-17 ec16ee612f8386d69176d02bf4147abaaec0fd00
src/activations.h
@@ -2,16 +2,14 @@
#define ACTIVATIONS_H
typedef enum{
    SIGMOID, RELU, IDENTITY
    SIGMOID, RELU, LINEAR, RAMP, TANH
}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);
char *get_activation_string(ACTIVATION a);
float activate(float x, ACTIVATION a);
float gradient(float x, ACTIVATION a);
#endif