Template Function otyca::sigmoid_derivative

Function Documentation

template<typename T>
T otyca::sigmoid_derivative(T y)

Computes the derivative of the sigmoid function.

Template Parameters:

T – The numeric type.

Parameters:

y – The sigmoid function output.

Returns:

The derivative of the sigmoid function.