nvidia.dali.fn.random#

The following table lists all operations available in nvidia.dali.fn.random module:

Function

Device support

Short description

random.beta

CPU

Generates a random number from [0, 1] range following the beta distribution.

random.choice

CPU

Generates a random sample from a given 1D array.

random.coin_flip

CPU, GPU

Generates random boolean values following a bernoulli distribution.

random.normal

CPU, GPU

Generates random numbers following a normal distribution.

random.uniform

CPU, GPU

Generates random numbers following a uniform distribution.