Connected layers work forward and backward!

This commit is contained in:
Joseph Redmon
2013-11-06 10:37:37 -08:00
parent 41bcfac86f
commit 9b1774bd39
12 changed files with 248 additions and 70 deletions

10
src/activations.h Normal file
View File

@ -0,0 +1,10 @@
typedef enum{
SIGMOID, RELU, IDENTITY
}ACTIVATOR_TYPE;
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);