jax.scipy.special.expit
Warning
This page was created from a pull request (#9655).
jax.scipy.special.expit¶
- jax.scipy.special.expit = <jax._src.custom_derivatives.custom_jvp object>[source]¶
Expit (a.k.a. logistic sigmoid) ufunc for ndarrays.
LAX-backend implementation of
expit()
.Original docstring below.
The expit function, also known as the logistic sigmoid function, is defined as
expit(x) = 1/(1+exp(-x))
. It is the inverse of the logit function.