Template Function otyca::inverse_sigmoid_clamp
Function Documentation
-
template<typename T>
T otyca::inverse_sigmoid_clamp(T y, T a, T b) Computes the inverse of the clamped sigmoid function.
- Template Parameters:
T – The numeric type.
- Parameters:
y – The output value.
a – The lower bound.
b – The upper bound.
- Returns:
The corresponding input value before applying sigmoid clamping.