cunumeric.random.logistic#

cunumeric.random.logistic(loc=0.0, scale=1.0, size=None)#

Draw samples from a logistic distribution.

Samples are drawn from a logistic distribution with specified parameters, loc (location or mean, also median), and scale (>0).

Parameters:
  • loc (float, optional) – Parameter of the distribution. Default is 0.

  • scale (float, optional) – Parameter of the distribution. Must be non-negative. Default is 1.

  • size (int or tuple of ints, optional) – Output shape. If the given shape is, e.g., (m, n, k), then m * n * k samples are drawn. If size is None (default), a single value is returned.

Returns:

out – Drawn samples from the parameterized logistic distribution.

Return type:

ndarray or scalar

Availability:

Multiple GPUs, Multiple CPUs