13 lines
No EOL
344 B
C
13 lines
No EOL
344 B
C
#ifndef ACTIVATIONS_H
|
|
#define ACTIVATIONS_H
|
|
|
|
float sigmoid(float weighted_sum);
|
|
float sigmoid_derivative(float output);
|
|
float tan_hyp(float weighted_sum);
|
|
float tan_hyp_derivative(float output);
|
|
float relu(float weighted_sum);
|
|
float relu_derivative(float output);
|
|
float linear(float weighted_sum);
|
|
float linear_derivative(float output);
|
|
|
|
#endif |