ó —Àv]c@sddlmZddlmZeeeed"d"d"d„Zd"ed"d"d"d„Zeeeeed"d"d"d„Zd"eed"d"d"d„Zeeeeed"d"d"d„Z d"eed"d"d"d „Z eeeeed"d"d"d „Z d"eed"d"d"d „Z eeeeed"d"d"d „Z d"eed"d"d"d „Zeeeed"d"d"d„Zd"ed"d"d"d„Zeeeeed"d"d"d„Zeeeeed"d"d"d„Zd"eed"d"d"d„Zdddddddddddddd d!gZd"S(#i(t SymbolBasei(t_NullcKsdS(s Draw random samples from an exponential distribution. Samples are distributed according to an exponential distribution parametrized by *lambda* (rate). Example:: exponential(lam=4, shape=(2,2)) = [[ 0.0097189 , 0.08999364], [ 0.04146638, 0.31715935]] Defined in src/operator/random/sample_op.cc:L137 Parameters ---------- lam : float, optional, default=1 Lambda parameter (rate) of the exponential distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tlamtshapetctxtdtypetnametattrtouttkwargs((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt exponentials cKsdS(sÉDraw random samples from an exponential distribution according to the input array shape. Samples are distributed according to an exponential distribution parametrized by *lambda* (rate). Example:: exponential(lam=4, data=ones(2,2)) = [[ 0.0097189 , 0.08999364], [ 0.04146638, 0.31715935]] Defined in src/operator/random/sample_op.cc:L242 Parameters ---------- lam : float, optional, default=1 Lambda parameter (rate) of the exponential distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tdataRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytexponential_like(sc KsdS(sxDraw random samples from a gamma distribution. Samples are distributed according to a gamma distribution parametrized by *alpha* (shape) and *beta* (scale). Example:: gamma(alpha=9, beta=0.5, shape=(2,2)) = [[ 7.10486984, 3.37695289], [ 3.91697288, 3.65933681]] Defined in src/operator/random/sample_op.cc:L125 Parameters ---------- alpha : float, optional, default=1 Alpha parameter (shape) of the gamma distribution. beta : float, optional, default=1 Beta parameter (scale) of the gamma distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( talphatbetaRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytgammaFs"cKsdS(s6Draw random samples from a gamma distribution according to the input array shape. Samples are distributed according to a gamma distribution parametrized by *alpha* (shape) and *beta* (scale). Example:: gamma(alpha=9, beta=0.5, data=ones(2,2)) = [[ 7.10486984, 3.37695289], [ 3.91697288, 3.65933681]] Defined in src/operator/random/sample_op.cc:L231 Parameters ---------- alpha : float, optional, default=1 Alpha parameter (shape) of the gamma distribution. beta : float, optional, default=1 Beta parameter (scale) of the gamma distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt gamma_likejsc KsdS(s’Draw random samples from a generalized negative binomial distribution. Samples are distributed according to a generalized negative binomial distribution parametrized by *mu* (mean) and *alpha* (dispersion). *alpha* is defined as *1/k* where *k* is the failure limit of the number of unsuccessful experiments (generalized to real numbers). Samples will always be returned as a floating point data type. Example:: generalized_negative_binomial(mu=2.0, alpha=0.3, shape=(2,2)) = [[ 2., 1.], [ 6., 4.]] Defined in src/operator/random/sample_op.cc:L179 Parameters ---------- mu : float, optional, default=1 Mean of the negative binomial distribution. alpha : float, optional, default=1 Alpha (dispersion) parameter of the negative binomial distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tmuR RRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytgeneralized_negative_binomialŠs%cKsdS(sTDraw random samples from a generalized negative binomial distribution according to the input array shape. Samples are distributed according to a generalized negative binomial distribution parametrized by *mu* (mean) and *alpha* (dispersion). *alpha* is defined as *1/k* where *k* is the failure limit of the number of unsuccessful experiments (generalized to real numbers). Samples will always be returned as a floating point data type. Example:: generalized_negative_binomial(mu=2.0, alpha=0.3, data=ones(2,2)) = [[ 2., 1.], [ 6., 4.]] Defined in src/operator/random/sample_op.cc:L283 Parameters ---------- mu : float, optional, default=1 Mean of the negative binomial distribution. alpha : float, optional, default=1 Alpha (dispersion) parameter of the negative binomial distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R RR RRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt"generalized_negative_binomial_like±s"c KsdS(sÖDraw random samples from a negative binomial distribution. Samples are distributed according to a negative binomial distribution parametrized by *k* (limit of unsuccessful experiments) and *p* (failure probability in each experiment). Samples will always be returned as a floating point data type. Example:: negative_binomial(k=3, p=0.4, shape=(2,2)) = [[ 4., 7.], [ 2., 5.]] Defined in src/operator/random/sample_op.cc:L164 Parameters ---------- k : int, optional, default='1' Limit of unsuccessful experiments. p : float, optional, default=1 Failure probability in each experiment. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tktpRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytnegative_binomialÕs$cKsdS(s”Draw random samples from a negative binomial distribution according to the input array shape. Samples are distributed according to a negative binomial distribution parametrized by *k* (limit of unsuccessful experiments) and *p* (failure probability in each experiment). Samples will always be returned as a floating point data type. Example:: negative_binomial(k=3, p=0.4, data=ones(2,2)) = [[ 4., 7.], [ 2., 5.]] Defined in src/operator/random/sample_op.cc:L267 Parameters ---------- k : int, optional, default='1' Limit of unsuccessful experiments. p : float, optional, default=1 Failure probability in each experiment. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R RRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytnegative_binomial_likeûs c KsdS(s¨Draw random samples from a normal (Gaussian) distribution. .. note:: The existing alias ``normal`` is deprecated. Samples are distributed according to a normal distribution parametrized by *loc* (mean) and *scale* (standard deviation). Example:: normal(loc=0, scale=1, shape=(2,2)) = [[ 1.89171135, -1.16881478], [-1.23474145, 1.55807114]] Defined in src/operator/random/sample_op.cc:L113 Parameters ---------- loc : float, optional, default=0 Mean of the distribution. scale : float, optional, default=1 Standard deviation of the distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tloctscaleRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytnormals%cKsdS(s*Draw random samples from a normal (Gaussian) distribution according to the input array shape. Samples are distributed according to a normal distribution parametrized by *loc* (mean) and *scale* (standard deviation). Example:: normal(loc=0, scale=1, data=ones(2,2)) = [[ 1.89171135, -1.16881478], [-1.23474145, 1.55807114]] Defined in src/operator/random/sample_op.cc:L220 Parameters ---------- loc : float, optional, default=0 Mean of the distribution. scale : float, optional, default=1 Standard deviation of the distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R RRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt normal_likeDscKsdS(sDraw random samples from a Poisson distribution. Samples are distributed according to a Poisson distribution parametrized by *lambda* (rate). Samples will always be returned as a floating point data type. Example:: poisson(lam=4, shape=(2,2)) = [[ 5., 2.], [ 4., 6.]] Defined in src/operator/random/sample_op.cc:L150 Parameters ---------- lam : float, optional, default=1 Lambda parameter (rate) of the Poisson distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytpoissones!cKsdS(sÖDraw random samples from a Poisson distribution according to the input array shape. Samples are distributed according to a Poisson distribution parametrized by *lambda* (rate). Samples will always be returned as a floating point data type. Example:: poisson(lam=4, data=ones(2,2)) = [[ 5., 2.], [ 4., 6.]] Defined in src/operator/random/sample_op.cc:L254 Parameters ---------- lam : float, optional, default=1 Lambda parameter (rate) of the Poisson distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R RRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt poisson_likeˆsc KsdS(sDraw random samples from a discrete uniform distribution. Samples are uniformly distributed over the half-open interval *[low, high)* (includes *low*, but excludes *high*). Example:: randint(low=0, high=5, shape=(2,2)) = [[ 0, 2], [ 3, 1]] Defined in src/operator/random/sample_op.cc:L193 Parameters ---------- low : , required Lower bound of the distribution. high : , required Upper bound of the distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'int32', 'int64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to int32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tlowthighRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytrandint§s$c KsdS(s—Draw random samples from a uniform distribution. .. note:: The existing alias ``uniform`` is deprecated. Samples are uniformly distributed over the half-open interval *[low, high)* (includes *low*, but excludes *high*). Example:: uniform(low=0, high=1, shape=(2,2)) = [[ 0.60276335, 0.85794562], [ 0.54488319, 0.84725171]] Defined in src/operator/random/sample_op.cc:L96 Parameters ---------- low : float, optional, default=0 Lower bound of the distribution. high : float, optional, default=1 Upper bound of the distribution. shape : Shape(tuple), optional, default=None Shape of the output. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n). Only used for imperative calls. dtype : {'None', 'float16', 'float32', 'float64'},optional, default='None' DType of the output in case this can't be inferred. Defaults to float32 if not defined (dtype=None). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( RRRRRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pytuniformÍs&cKsdS(sDraw random samples from a uniform distribution according to the input array shape. Samples are uniformly distributed over the half-open interval *[low, high)* (includes *low*, but excludes *high*). Example:: uniform(low=0, high=1, data=ones(2,2)) = [[ 0.60276335, 0.85794562], [ 0.54488319, 0.84725171]] Defined in src/operator/random/sample_op.cc:L208 Parameters ---------- low : float, optional, default=0 Lower bound of the distribution. high : float, optional, default=1 Upper bound of the distribution. data : Symbol The input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R RRRRRR ((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyt uniform_likeõs R R RRRRRRRRRRR R!R"N(t _internalRtbaseRtNoneR R RRRRRRRRRRR R!R"t__all__(((s8/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen_random.pyts""!$ !'$!&"!'!#!&!("