jax.random.logistic

Contents

jax.random.logistic#

jax.random.logistic(key, shape=(), dtype=<class 'float'>)[source]#

Sample logistic random values with given shape and float dtype.

The values are distributed according to the probability density function:

\[f(x) = \frac{e^{-x}}{(1 + e^{-x})^2}\]
Parameters:
Return type:

Array

Returns:

A random array with the specified shape and dtype.