Template Function otyca::softplus_derivative

Function Documentation

template<typename T>
T otyca::softplus_derivative(T x)

Computes the derivative of the softplus function (i.e., sigmoid).

Template Parameters:

T – The numeric type.

Parameters:

x – The input value.

Returns:

The derivative of softplus at x.