wbc
|
#include <ActivationFunction.hpp>
Public Member Functions | |
ActivationFunction () | |
const base::VectorXd & | compute (const base::VectorXd &values) |
Public Attributes | |
double | threshold |
activationType | type |
base::VectorXd | activation |
If input < threshold, activation will be same as given value, otherwise 1 Define different activation function like linear, quadratic, etc.
|
inline |
|
inline |
base::VectorXd wbc::ActivationFunction::activation |
double wbc::ActivationFunction::threshold |
Threshold value. Effect depends on type activation
activationType wbc::ActivationFunction::type |