Function Sigmoid(float)
Defined in File standAct.cpp
Function Documentation
-
float Sigmoid(float x)
Computes the sigmoid activation function.
The sigmoid function is defined as \( \sigma(x) = \frac{1}{1 + e^{-x}} \).
- Parameters:
x – The input value.
- Returns:
The sigmoid of the input value.