mxfusion.components.distributions.random_gen

Members

class mxfusion.components.distributions.random_gen.RandomGenerator

Bases: abc.ABC

The abstract class of the pseudo-random number generator.

static sample_normal(loc=0, scale=1, shape=None, dtype=None, out=None, ctx=None)
class mxfusion.components.distributions.random_gen.MXNetRandomGenerator

Bases: mxfusion.components.distributions.random_gen.RandomGenerator

The MXNet pseudo-random number generator.

static sample_normal(loc=0, scale=1, shape=None, dtype=None, out=None, ctx=None, F=None)
Parameters:ref_var – reference variable for getting the context of execution.
static sample_multinomial(data, get_prob=True, dtype='int32', F=None)