Loading may or may not work. But probably.

This commit is contained in:
Joseph Redmon
2013-11-06 16:09:41 -08:00
parent 9b1774bd39
commit d7286c2732
14 changed files with 155 additions and 57 deletions

View File

@ -1,10 +1,17 @@
#ifndef ACTIVATIONS_H
#define ACTIVATIONS_H
typedef enum{
SIGMOID, RELU, IDENTITY
}ACTIVATOR_TYPE;
}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