jax.random.weibull_minΒΆ

jax.random.weibull_min(key, scale, concentration, shape=(), dtype=<class 'numpy.float64'>)[source]ΒΆ

Sample from a Weibull distribution.

The scipy counterpart is scipy.stats.weibull_min.

Parameters
  • key (ndarray) – a PRNGKey key.

  • scale (Any) – The scale parameter of the distribution.

  • concentration (Any) – The concentration parameter of the distribution.

  • shape (Sequence[int]) – The shape added to the parameters loc and scale broadcastable shape.

  • dtype (Any) – The type used for samples.

Return type

ndarray

Returns

A jnp.array of samples.