cupyx.scipy.special.log_expit#
- cupyx.scipy.special.log_expit = <ufunc 'cupy_log_expit'>#
Logarithm of the logistic sigmoid function.
- Parameters:
x (cupy.ndarray) – input data (must be real)
- Returns:
values of log(expit(x))
- Return type:
See also
Note
The function is mathematically equivalent to
log(expit(x))
, but is formulated to avoid loss of precision for inputs with large (positive or negative) magnitude.