mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Connected layers work forward and backward!
This commit is contained in:
10
src/activations.h
Normal file
10
src/activations.h
Normal 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);
|
Reference in New Issue
Block a user