v]cE@sddlmZddlmZdZddddZddddZddddddZdeddddZ dddddd Z dedddd Z dddddd Z dedddd Z dedddd ZddddddZddddddZdeddddZddddddZdeddddZdeddddZddddddZdeddddZdeddddZdeddddZddddddZddddddZddddddZddddddZdeddddZddddddZdeddddZddddddZ dedddd Z!dddddd!Z"dedddd"Z#dddddd#Z$dedddd$Z%d%Z&d&Z'dddd'Z(dedddd(Z)dddddd)Z*dddddd*Z+dedddd+Z,dddddd,Z-dedddd-Z.dedddd.Z/dedddd/Z0dedddd0Z1dedddd1Z2dddddeeeeeeedddd2Z3dddddd3Z4eeeeeeedddd4 Z5dddd5Z6dddd6Z7dddd7Z8dddd8Z9dddd9Z:dddd:Z;dddd;Z<dddd<Z=dddd=Z>dddd>Z?dddd?Z@dddd@ZAddddAZBddddBZCddddCZDddddDZEddddEZFddddFZGddddGZHddddHZIddddIZJddddJZKddddKZLddddLZMddddMZNddddNZOddddOZPddddPZQddddQZRddddRZSddddSZTddddTZUddddUZVddddVZWddddWZXddddXZYddddYZZddddZZ[dddd[Z\dddd\Z]dddd]Z^dddd^Z_dddd_Z`dddd`ZaddddaZbddddbZcddddcZddddddZeddddeZfddddfZgddddgZhddddhZiddddiZjddddjZkddddkZlddddlZmddddddmZnddddnZoddddoZpdpZqddddddqZrddddddrZsddddddsZtddddddtZudddddduZvddddddvZwddddwZxddddxZyddddyZzddddzZ{dddd{Z|dddd|Z}dddd}Z~dddd~ZddddZddddZddddZddddddZddddZddddZddddZddddZeeeddddZeddddZeddddZeeeeeeeeeedddd ZddddZddddddZddddddZddddZddddddZddddZddddZdeddddZeeeddddZddddddZddddddZddddddZddddZddddddZddddddZddeddddZddddZddddZddeddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddZddddddZddddddZddddddZddddddZdZddddZddddZddddZddddZddeddddZddddZddddZddddZddeddddZddddZddeddddZddddZddddZdeddddZddddZddddZddddZddddZddddZddeddddZddddZddddddZddddddZddeddddZddddddZddddddZddddZddddZddddZddeddddZddeddddZddddddZddddZddddddZddddddZddddddZddddddZddddZddddZddddZddddddZdZddddZdZddddddZddddZddddddZddddddZddddZddddZddddZddddZddddZddddZddddddZddddddZddddZddddZddddZddddZddddZdZdddddZdddddZddeeeddddZdeeeeddddZdeeeeeeedddd ZdeeddddZeeeddddZdeeeddddZddddddZdeddddZddddddZdeddddZeeeeeddddZdZeeeeddddZddddddZddddddZddddddZdeddddZdeddddZddeeddddZddddddZ dedddd Z dddddd Z deeeeeeedddd  Z dddddd Z dddddd ZdeddddZdeddddZeeeeeeedddd ZddddddZdeddddZddddddZdeddddZddddddZdeddddZddddddZdeddddZddddddZdeddddZddddddZdeddddZddddddZdeddddZddddddeeeeeeeddddZ dddddd Z!dedddd!Z"dddddd"Z#dedddd#Z$dddddd$Z%eeedddd%Z&dddddd&Z'dedddd'Z(dddddd(Z)dedddd)Z*dedddd*Z+dedddd+Z,dedddd,Z-dedddd-Z.d.Z/dedddd/Z0deedddd0Z1ddeedddd1Z2ddeedddd2Z3deeedddd3Z4ddeedddd4Z5ddeedddd5Z6deedddd6Z7ddeedddd7Z8eedddd8Z9dddddd9Z:dedddd:Z;dedddd;Z<dddedddd<Z=edddd=Z>ddddd>Z?ddeeedddd?Z@deeeedddd@ZAdeeeeddddAZBddddBZCdeeeddddCZDddddddDZEdeddddEZFdFZGeeeddddGZHeeeddddHZIdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd d d d d ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7d8d9d:d;d<d=d>d?d@dAdBdCdDdEdFdGdHdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[d\d]d^d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dddddddddddddddgEZJdS(i(t SymbolBasei(t_NullcOsdS(s Parameters ---------- data : Symbol[] input data list name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tdatatkwargs((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _CachedOpscKsdS(sSpecial op to copy data cross device Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tnametattrtoutR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_CrossDeviceCopyscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_CustomFunction)scKsdS(sTDivides arguments element-wise. The storage type of ``elemwise_div`` output is always dense Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tlhstrhsRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_Div:scKsdS(slDivide an array with a scalar. ``_div_scalar`` only operates on data array of input if input is sparse. For example, if input of shape (100, 100) has only 2 non zero elements, i.e. input.data = [5, 6], scalar = nan, it will result output.data = [nan, nan] instead of 10000 nans. Defined in src/operator/tensor/elemwise_binary_scalar_op_basic.cc:L171 Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RtscalarRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _DivScalarRscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_EqualpscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _EqualScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_GreaterscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_GreaterEqualScalarscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_GreaterScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_Greater_EqualscKsdS(swGiven the "legs" of a right triangle, return its hypotenuse. Defined in src/operator/tensor/elemwise_binary_op_extended.cc:L79 Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_HypotscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _HypotScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_LesserscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_LesserEqualScalar(scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _LesserScalar<scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _Lesser_EqualPscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_LogicalAndScalardscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_LogicalOrScalarxscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_LogicalXorScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _Logical_AndscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _Logical_OrscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _Logical_XorscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_MaximumscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_MaximumScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_MinimumscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_MinimumScalarscKsdS(sSubtracts arguments element-wise. The storage type of ``elemwise_sub`` output depends on storage types of inputs - elemwise_sub(row_sparse, row_sparse) = row_sparse - elemwise_sub(csr, csr) = csr - elemwise_sub(default, csr) = default - elemwise_sub(csr, default) = default - elemwise_sub(default, rsp) = default - elemwise_sub(rsp, default) = default - otherwise, ``elemwise_sub`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_Minus,scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _MinusScalarLscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_Mod`scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _ModScalartscKsdS(sMultiplies arguments element-wise. The storage type of ``elemwise_mul`` output depends on storage types of inputs - elemwise_mul(default, default) = default - elemwise_mul(row_sparse, row_sparse) = row_sparse - elemwise_mul(default, row_sparse) = row_sparse - elemwise_mul(row_sparse, default) = row_sparse - elemwise_mul(csr, csr) = csr - otherwise, ``elemwise_mul`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_MulscKsdS(snMultiply an array with a scalar. ``_mul_scalar`` only operates on data array of input if input is sparse. For example, if input of shape (100, 100) has only 2 non zero elements, i.e. input.data = [5, 6], scalar = nan, it will result output.data = [nan, nan] instead of 10000 nans. Defined in src/operator/tensor/elemwise_binary_scalar_op_basic.cc:L149 Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _MulScalarscOsdS(sWStub for implementing an operator implemented in native frontend language with ndarray. Parameters ---------- data : Symbol[] Input data for the custom operator. info : ptr, required name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_NDArrayscOsdS(sStub for implementing an operator implemented in native frontend language. Parameters ---------- data : Symbol[] Input data for the custom operator. info : ptr, required need_top_grad : boolean, optional, default=1 Whether this layer needs out grad for backward. Should be false for loss layers. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_NativescKsdS(sPlace holder for variable who cannot perform gradient Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _NoGradientscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_NotEqualScalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _Not_EqualscKsdS(sAdds arguments element-wise. The storage type of ``elemwise_add`` output depends on storage types of inputs - elemwise_add(row_sparse, row_sparse) = row_sparse - elemwise_add(csr, csr) = csr - elemwise_add(default, csr) = default - elemwise_add(csr, default) = default - elemwise_add(default, rsp) = default - elemwise_add(rsp, default) = default - otherwise, ``elemwise_add`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_Plus&scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _PlusScalarFscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_PowerZscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _PowerScalarnscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _RDivScalarscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _RMinusScalarscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _RModScalarscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _RPowerScalarscKsdS(sUpdate function for AdamW optimizer. AdamW is seen as a modification of Adam by decoupling the weight decay from the optimization steps taken w.r.t. the loss function. Adam update consists of the following steps, where g represents gradient and m, v are 1st and 2nd order moment estimates (mean and variance). .. math:: g_t = \nabla J(W_{t-1})\\ m_t = \beta_1 m_{t-1} + (1 - \beta_1) g_t\\ v_t = \beta_2 v_{t-1} + (1 - \beta_2) g_t^2\\ W_t = W_{t-1} - \eta_t (\alpha \frac{ m_t }{ \sqrt{ v_t } + \epsilon } + wd W_{t-1}) It updates the weights using:: m = beta1*m + (1-beta1)*grad v = beta2*v + (1-beta2)*(grad**2) w -= eta * (learning_rate * m / (sqrt(v) + epsilon) + w * wd) Note that gradient is rescaled to grad = rescale_grad * grad. If rescale_grad is NaN, Inf, or 0, the update is skipped. Defined in src/operator/contrib/adamw.cc:L120 Parameters ---------- weight : Symbol Weight grad : Symbol Gradient mean : Symbol Moving mean var : Symbol Moving variance rescale_grad : Symbol Rescale gradient to rescale_grad * grad. If NaN, Inf, or 0, the update is skipped. lr : float, required Learning rate beta1 : float, optional, default=0.899999976 The decay rate for the 1st moment estimates. beta2 : float, optional, default=0.999000013 The decay rate for the 2nd moment estimates. epsilon : float, optional, default=9.99999994e-09 A small constant for numerical stability. wd : float, optional, default=0 Weight decay augments the objective function with a regularization term that penalizes large weights. The penalty scales with the square of the magnitude of each weight. eta : float, required Learning rate schedule multiplier clip_gradient : float, optional, default=-1 Clip gradient to the range of [-clip_gradient, clip_gradient] If clip_gradient <= 0, gradient clipping is turned off. grad = max(min(grad, clip_gradient), -clip_gradient). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tweighttgradtmeantvart rescale_gradtlrtbeta1tbeta2tepsilontwdtetat clip_gradientRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _adamw_updates=cKsdS(sAdds arguments element-wise. The storage type of ``elemwise_add`` output depends on storage types of inputs - elemwise_add(row_sparse, row_sparse) = row_sparse - elemwise_add(csr, csr) = csr - elemwise_add(default, csr) = default - elemwise_add(csr, default) = default - elemwise_add(default, rsp) = default - elemwise_add(rsp, default) = default - otherwise, ``elemwise_add`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_addsc KsdS(sReturn evenly spaced values within a given interval. Similar to Numpy Parameters ---------- start : double, required Start of interval. The interval includes this value. The default start value is 0. stop : double or None, optional, default=None End of interval. The interval does not include this value, except in some cases where step is not an integer and floating point round-off affects the length of out. step : double, optional, default=1 Spacing between values. repeat : int, optional, default='1' The repeating time of all elements. E.g repeat=3, the element a will be repeated three times --> a, a, a. infer_range : boolean, optional, default=0 When set to True, infer the stop position from the start, step, repeat, and output tensor size. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tstarttstoptsteptrepeatt infer_rangetctxtdtypeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_arange1scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ActivationOscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_BatchNorm`scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_BatchNorm_v1qscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_BilinearSamplerscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_CachedOpscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ConcatscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ConvolutionscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_Convolution_v1scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_CorrelationscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_CropscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_CustomscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_CustomFunction scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_DeconvolutionscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_Dropout,scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_Embedding=scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_FullyConnectedNscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_GridGenerator_scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt#_backward_IdentityAttachKLSparseRegpscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_InstanceNormscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_L2NormalizationscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_LRNscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_LayerNormscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_LeakyReLUscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_MakeLossscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_PadscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_PoolingscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_Pooling_v1 scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_RNNscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ROIAlign+scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ROIPooling<scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SVMOutputMscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SequenceLast^scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SequenceMaskoscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SequenceReversescKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SliceChannelscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SoftmaxActivationscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SoftmaxOutputscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SparseEmbeddingscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SpatialTransformerscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_SwapAxisscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_UpSamplingscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__CrossDeviceCopyscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__NDArrayscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__Native*scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt(_backward__contrib_DeformableConvolution;scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt)_backward__contrib_DeformablePSROIPoolingLscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt$_backward__contrib_MultiBoxDetection]scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward__contrib_MultiBoxPriornscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt!_backward__contrib_MultiBoxTargetscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward__contrib_MultiProposalscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__contrib_PSROIPoolingscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__contrib_ProposalscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward__contrib_SyncBatchNormscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__contrib_count_sketchscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__contrib_fftscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward__contrib_ifftscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_absscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_addscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_amp_cast,scOsdS(s3 Parameters ---------- grad : Symbol[] Gradients num_outputs : int, required Number of input/output pairs to be casted to the widest type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R9R((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_amp_multicast=scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arccosQscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arccoshescKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arcsinyscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arcsinhscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arctanscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_arctanhscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_batch_dotscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_addscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_divscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_hypotscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_maximum scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_minimum scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_mod/ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_mul@ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_powerQ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_broadcast_subb scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_casts scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_cbrt scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_clip scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_cond scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt&_backward_contrib_AdaptiveAvgPooling2D scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt"_backward_contrib_BilinearResize2D scKsdS(s' Parameters ---------- is_ascend : boolean, optional, default=0 Use ascend order for scores instead of descending. Please set threshold accordingly. threshold : float, required Ignore matching when score < thresh, if is_ascend=false, or ignore score > thresh, if is_ascend=true. topk : int, optional, default='-1' Limit the number of matches to topk, set -1 for no limit name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((t is_ascendt thresholdttopkRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt$_backward_contrib_bipartite_matching scKsdS(s Parameters ---------- axis : int, optional, default='0' An integer that represents the axis in NDArray to mask from. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((taxisRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_contrib_boolean_mask scKsdS(s Parameters ---------- format : {'center', 'corner'},optional, default='corner' The box encoding type. "corner" means boxes are encoded as [xmin, ymin, xmax, ymax], "center" means boxes are encodes as [x, y, width, height]. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tformatRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_contrib_box_iou sc KsdS(s( Parameters ---------- overlap_thresh : float, optional, default=0.5 Overlapping(IoU) threshold to suppress object with smaller score. valid_thresh : float, optional, default=0 Filter input boxes to those whose scores greater than valid_thresh. topk : int, optional, default='-1' Apply nms to topk boxes with descending scores, -1 to no restriction. coord_start : int, optional, default='2' Start index of the consecutive 4 coordinates. score_index : int, optional, default='1' Index of the scores/confidence of boxes. id_index : int, optional, default='-1' Optional, index of the class categories, -1 to disable. background_id : int, optional, default='-1' Optional, id of the background class which will be ignored in nms. force_suppress : boolean, optional, default=0 Optional, if set false and id_index is provided, nms will only apply to boxes belongs to the same category in_format : {'center', 'corner'},optional, default='corner' The input box encoding type. "corner" means boxes are encoded as [xmin, ymin, xmax, ymax], "center" means boxes are encodes as [x, y, width, height]. out_format : {'center', 'corner'},optional, default='corner' The output box encoding type. "corner" means boxes are encoded as [xmin, ymin, xmax, ymax], "center" means boxes are encodes as [x, y, width, height]. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((toverlap_thresht valid_threshRt coord_startt score_indextid_indext background_idtforce_suppresst in_formatt out_formatRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_contrib_box_nms s$cKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_copy= scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_cosN scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_coshb scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_ctc_lossv scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_degrees scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_diag scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_div scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_div_scalar scKsdS(s Parameters ---------- transpose_a : boolean, optional, default=0 If true then transpose the first input before dot. transpose_b : boolean, optional, default=0 If true then transpose the second input before dot. forward_stype : {None, 'csr', 'default', 'row_sparse'},optional, default='None' The desired storage type of the forward output given by user, if thecombination of input storage types and this hint does not matchany implemented ones, the dot operator will perform fallback operationand still produce an output of the desired storage type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((t transpose_at transpose_bt forward_stypeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_dot scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_erf scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_erfinv scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_expm1 scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_foreach# scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_gamma4 scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_gammalnH scKsdS(sAccumulates data according to indices and get the result. It's the backward of `gather_nd`. Given `data` with shape `(Y_0, ..., Y_{K-1}, X_M, ..., X_{N-1})` and indices with shape `(M, Y_0, ..., Y_{K-1})`, the output will have shape `(X_0, X_1, ..., X_{N-1})`, where `M <= N`. If `M == N`, data shape should simply be `(Y_0, ..., Y_{K-1})`. The elements in output is defined as follows:: output[indices[0, y_0, ..., y_{K-1}], ..., indices[M-1, y_0, ..., y_{K-1}], x_M, ..., x_{N-1}] += data[y_0, ..., y_{K-1}, x_M, ..., x_{N-1}] all other entries in output are 0 or the original value if AddTo is triggered. Examples:: data = [2, 3, 0] indices = [[1, 1, 0], [0, 1, 0]] shape = (2, 2) _backward_gather_nd(data, indices, shape) = [[0, 0], [2, 3]] # Same as scatter_nd # The difference between scatter_nd and scatter_nd_acc is the latter will accumulate # the values that point to the same index. data = [2, 3, 0] indices = [[1, 1, 0], [1, 1, 0]] shape = (2, 2) _backward_gather_nd(data, indices, shape) = [[0, 0], [0, 5]] Parameters ---------- data : Symbol data indices : Symbol indices shape : Shape(tuple), required Shape of output. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RtindicestshapeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_gather_nd\ s3cKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_hard_sigmoid scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_hypot scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_hypot_scalar scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_image_crop scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_image_normalize scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_extractdiag scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_extracttrian scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_gelqf scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_gemm scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_gemm2/ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_inverse@ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_makediagQ scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_maketrianb scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_potrfs scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_potri scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_sumlogdiag scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_syevd scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_syrk scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_trmm scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linalg_trsm scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_linear_reg_out scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_log scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_log10 scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_log1p# scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_log27 scOsdS(s Parameters ---------- args : Symbol[] Positional input arguments name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((targsR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_log_softmaxK scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_logistic_reg_out] scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_mae_reg_outn scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_max scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_maximum scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_maximum_scalar scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_mean scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_min scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_minimum scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_minimum_scalar scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_modscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_mod_scalarscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_moments'scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_mul8scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_mul_scalarIscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_nanprod]scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_nansumnscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_normscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_pickscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_powerscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_power_scalarscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_prodscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_radiansscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_rcbrtscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_rdiv_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_reciprocalscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_relu+scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_repeat?scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_reshapePscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_reverseascKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_rmod_scalarrscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input scalar : float scalar value name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_rpower_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_rsqrtscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_sample_multinomialscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_sigmoidscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_signscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_sinscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_sinhscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_slicescKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_slice_axis$scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_slice_like5scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_smooth_l1FscOsdS(s Parameters ---------- args : Symbol[] Positional input arguments name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_softmaxZscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_softmax_cross_entropylscOsdS(s Parameters ---------- args : Symbol[] Positional input arguments name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_softmin}scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_softsignscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_sparse_retainscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_sqrtscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_squarescKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_square_sumscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_squeezescKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_stackscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_subscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_sum scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_take1scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _backward_tanBscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_tanhVscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_tilejscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_topk{scKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_wherescKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_backward_while_loopscKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_broadcast_backwardscOsdS(sRun a if-then-else using user-defined condition and computation From:src/operator/control_flow.cc:1212 This function support variable length of positional input. Parameters ---------- cond : Symbol Input graph for the condition. then_branch : Symbol Input graph for the then branch. else_branch : Symbol Input graph for the else branch. data : Symbol[] The input arrays that include data arrays and states. num_outputs : int, required The number of outputs of the subgraph. cond_input_locs : tuple of <>, required The locations of cond's inputs in the given inputs. then_input_locs : tuple of <>, required The locations of then's inputs in the given inputs. else_input_locs : tuple of <>, required The locations of else's inputs in the given inputs. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_conds!cKsdS(s+Returns a copy of the input. From:src/operator/tensor/elemwise_unary_op_basic.cc:218 Parameters ---------- data : Symbol The input array. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_copyscKsdS(s Parameters ---------- data : NDArray input data name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_copytosc KsdS(sBAssign the rhs to a cropped subset of lhs. Requirements ------------ - output should be explicitly given and be the same as lhs. - lhs and rhs are of the same data type, and on the same device. From:src/operator/tensor/matrix_op.cc:537 Parameters ---------- lhs : Symbol Source input rhs : Symbol value to assign begin : Shape(tuple), required starting indices for the slice operation, supports negative indices. end : Shape(tuple), required ending indices for the slice operation, supports negative indices. step : Shape(tuple), optional, default=[] step for the slice operation, supports negative values. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( R R tbegintendRHRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _crop_assigns c KsdS(s7(Assign the scalar to a cropped subset of the input. Requirements ------------ - output should be explicitly given and be the same as input ) From:src/operator/tensor/matrix_op.cc:562 Parameters ---------- data : Symbol Source input scalar : double, optional, default=0 The scalar value for assignment. begin : Shape(tuple), required starting indices for the slice operation, supports negative indices. end : Shape(tuple), required ending indices for the slice operation, supports negative indices. step : Shape(tuple), optional, default=[] step for the slice operation, supports negative values. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( RR R"R#RHRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_crop_assign_scalar*sc KsdS(sPad image border with OpenCV. Parameters ---------- src : NDArray source image top : int, required Top margin. bot : int, required Bottom margin. left : int, required Left margin. right : int, required Right margin. type : int, optional, default='0' Filling type (default=cv2.BORDER_CONSTANT). value : double, optional, default=0 (Deprecated! Use ``values`` instead.) Fill with single value. values : tuple of , optional, default=[] Fill with value(RGB[A] or gray), up to 4 channels. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tsrcttoptbottlefttrightttypetvaluetvaluesRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_cvcopyMakeBorderKscKsdS(sDDecode image with OpenCV. Note: return image in RGB by default, instead of OpenCV's default BGR. Parameters ---------- buf : NDArray Buffer containing binary encoded image flag : int, optional, default='1' Convert decoded image to grayscale (0) or color (1). to_rgb : boolean, optional, default=1 Whether to convert decoded image to mxnet's default RGB format (instead of opencv's default BGR). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tbuftflagtto_rgbRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _cvimdecodelscKsdS(sYRead and decode image with OpenCV. Note: return image in RGB by default, instead of OpenCV's default BGR. Parameters ---------- filename : string, required Name of the image file to be loaded. flag : int, optional, default='1' Convert decoded image to grayscale (0) or color (1). to_rgb : boolean, optional, default=1 Whether to convert decoded image to mxnet's default RGB format (instead of opencv's default BGR). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tfilenameR0R1RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _cvimreadscKsdS(sResize image with OpenCV. Parameters ---------- src : NDArray source image w : int, required Width of resized image. h : int, required Height of resized image. interp : int, optional, default='1' Interpolation method (default=cv2.INTER_LINEAR). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R&twthtinterpRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _cvimresizescKsdS(sTDivides arguments element-wise. The storage type of ``elemwise_div`` output is always dense Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_divscKsdS(slDivide an array with a scalar. ``_div_scalar`` only operates on data array of input if input is sparse. For example, if input of shape (100, 100) has only 2 non zero elements, i.e. input.data = [5, 6], scalar = nan, it will result output.data = [nan, nan] instead of 10000 nans. Defined in src/operator/tensor/elemwise_binary_scalar_op_basic.cc:L171 Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _div_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_equalscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _equal_scalarsc KsdS(sCReturn a 2-D array with ones on the diagonal and zeros elsewhere. Parameters ---------- N : , required Number of rows in the output. M : , optional, default=0 Number of columns in the output. If 0, defaults to N k : , optional, default=0 Index of the diagonal. 0 (the default) refers to the main diagonal.A positive value refers to an upper diagonal.A negative value to a lower diagonal. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( tNtMtkRKRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_eyescOsdS(sRun a for loop over an NDArray with user-defined computation From:src/operator/control_flow.cc:1090 This function support variable length of positional input. Parameters ---------- fn : Symbol Input graph. data : Symbol[] The input arrays that include data arrays and states. num_outputs : int, required The number of outputs of the subgraph. num_out_data : int, required The number of output data of the subgraph. in_state_locs : tuple of <>, required The locations of loop states among the inputs. in_data_locs : tuple of <>, required The locations of input data among the inputs. remain_locs : tuple of <>, required The locations of remaining data among the inputs. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_foreach+scKsdS(sufill target with a scalar value Parameters ---------- shape : Shape(tuple), optional, default=None The shape of the output ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. value : double, required Value with which to fill newly created tensor name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRKRLR,RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_fullLscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _grad_adddscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_greaterxscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_greater_equalscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_greater_equal_scalarscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_greater_scalarscKsdS(sThis operators implements the histogram function. Example:: x = [[0, 1], [2, 2], [3, 4]] histo, bin_edges = histogram(data=x, bin_bounds=[], bin_cnt=5, range=(0,5)) histo = [1, 1, 2, 1, 1] bin_edges = [0., 1., 2., 3., 4.] histo, bin_edges = histogram(data=x, bin_bounds=[0., 2.1, 3.]) histo = [4, 1] Defined in src/operator/tensor/histogram.cc:L136 Parameters ---------- data : Symbol Input ndarray bins : Symbol Input ndarray bin_cnt : int or None, optional, default='None' Number of bins for uniform case range : , optional, default=None The lower and upper range of the bins. if not provided, range is simply (a.min(), a.max()). values outside the range are ignored. the first element of the range must be less than or equal to the second. range affects the automatic bin computation as well. while bin width is computed to be optimal based on the actual data within range, the bin count will fill the entire range including portions containing no data. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((Rtbinstbin_cnttrangeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _histograms"cKsdS(swGiven the "legs" of a right triangle, return its hypotenuse. Defined in src/operator/tensor/elemwise_binary_op_extended.cc:L79 Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_hypotscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _hypot_scalarscKsdS(s Parameters ---------- lhs : Symbol First input. rhs : Symbol Second input. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_identity_with_attr_like_rhssc KsdS(sDecode an image, clip to (x0, y0, x1, y1), subtract mean, and write to buffer Parameters ---------- mean : Symbol image mean index : int buffer position for output x0 : int x0 y0 : int y0 x1 : int x1 y1 : int y1 c : int channel size : int length of str_img name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( R:tindextx0ty0tx1ty1tctsizeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _imdecode,scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_lesserLscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _lesser_equal`scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_lesser_equal_scalartscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_lesser_scalarsc KsdS(sReturn evenly spaced numbers over a specified interval. Similar to Numpy Parameters ---------- start : double, required Start of interval. The interval includes this value. The default start value is 0. stop : double or None, optional, default=None End of interval. The interval does not include this value, except in some cases where step is not an integer and floating point round-off affects the length of out. step : double, optional, default=1 Spacing between values. repeat : int, optional, default='1' The repeating time of all elements. E.g repeat=3, the element a will be repeated three times --> a, a, a. infer_range : boolean, optional, default=0 When set to True, infer the stop position from the start, step, repeat, and output tensor size. ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( RFRGRHRIRJRKRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _linspacescKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _logical_andscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_logical_and_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _logical_orscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_logical_or_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _logical_xor scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_logical_xor_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_maximum2scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_maximum_scalarFscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_minimumZscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_minimum_scalarnscKsdS(sSubtracts arguments element-wise. The storage type of ``elemwise_sub`` output depends on storage types of inputs - elemwise_sub(row_sparse, row_sparse) = row_sparse - elemwise_sub(csr, csr) = csr - elemwise_sub(default, csr) = default - elemwise_sub(csr, default) = default - elemwise_sub(default, rsp) = default - elemwise_sub(rsp, default) = default - otherwise, ``elemwise_sub`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_minusscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _minus_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_modscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _mod_scalarscKsdS(sUpdate function for multi-precision AdamW optimizer. AdamW is seen as a modification of Adam by decoupling the weight decay from the optimization steps taken w.r.t. the loss function. Adam update consists of the following steps, where g represents gradient and m, v are 1st and 2nd order moment estimates (mean and variance). .. math:: g_t = \nabla J(W_{t-1})\\ m_t = \beta_1 m_{t-1} + (1 - \beta_1) g_t\\ v_t = \beta_2 v_{t-1} + (1 - \beta_2) g_t^2\\ W_t = W_{t-1} - \eta_t (\alpha \frac{ m_t }{ \sqrt{ v_t } + \epsilon } + wd W_{t-1}) It updates the weights using:: m = beta1*m + (1-beta1)*grad v = beta2*v + (1-beta2)*(grad**2) w -= eta * (learning_rate * m / (sqrt(v) + epsilon) + w * wd) Note that gradient is rescaled to grad = rescale_grad * grad. If rescale_grad is NaN, Inf, or 0, the update is skipped. Defined in src/operator/contrib/adamw.cc:L77 Parameters ---------- weight : Symbol Weight grad : Symbol Gradient mean : Symbol Moving mean var : Symbol Moving variance weight32 : Symbol Weight32 rescale_grad : Symbol Rescale gradient to rescale_grad * grad. If NaN, Inf, or 0, the update is skipped. lr : float, required Learning rate beta1 : float, optional, default=0.899999976 The decay rate for the 1st moment estimates. beta2 : float, optional, default=0.999000013 The decay rate for the 2nd moment estimates. epsilon : float, optional, default=9.99999994e-09 A small constant for numerical stability. wd : float, optional, default=0 Weight decay augments the objective function with a regularization term that penalizes large weights. The penalty scales with the square of the magnitude of each weight. eta : float, required Learning rate schedule multiplier clip_gradient : float, optional, default=-1 Clip gradient to the range of [-clip_gradient, clip_gradient] If clip_gradient <= 0, gradient clipping is turned off. grad = max(min(grad, clip_gradient), -clip_gradient). name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R8R9R:R;tweight32R<R=R>R?R@RARBRCRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_mp_adamw_updatesAcKsdS(sMultiplies arguments element-wise. The storage type of ``elemwise_mul`` output depends on storage types of inputs - elemwise_mul(default, default) = default - elemwise_mul(row_sparse, row_sparse) = row_sparse - elemwise_mul(default, row_sparse) = row_sparse - elemwise_mul(row_sparse, default) = row_sparse - elemwise_mul(csr, csr) = csr - otherwise, ``elemwise_mul`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_mul!scKsdS(snMultiply an array with a scalar. ``_mul_scalar`` only operates on data array of input if input is sparse. For example, if input of shape (100, 100) has only 2 non zero elements, i.e. input.data = [5, 6], scalar = nan, it will result output.data = [nan, nan] instead of 10000 nans. Defined in src/operator/tensor/elemwise_binary_scalar_op_basic.cc:L149 Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _mul_scalar@scKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _not_equal^scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_not_equal_scalarrscKsdS(s Parameters ---------- lhs : NDArray Left operand to the function. rhs : NDArray Right operand to the function. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_onehot_encodescKsdS(sfill target with ones Parameters ---------- shape : Shape(tuple), optional, default=[] The shape of the output ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRKRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_onesscKsdS(sAdds arguments element-wise. The storage type of ``elemwise_add`` output depends on storage types of inputs - elemwise_add(row_sparse, row_sparse) = row_sparse - elemwise_add(csr, csr) = csr - elemwise_add(default, csr) = default - elemwise_add(csr, default) = default - elemwise_add(default, rsp) = default - elemwise_add(rsp, default) = default - otherwise, ``elemwise_add`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_plusscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _plus_scalarscKsdS(s Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_powerscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _power_scalarscKsdS(sConverts a batch of index arrays into an array of flat indices. The operator follows numpy conventions so a single multi index is given by a column of the input matrix. The leading dimension may be left unspecified by using -1 as placeholder. Examples:: A = [[3,6,6],[4,5,1]] ravel(A, shape=(7,6)) = [22,41,37] ravel(A, shape=(-1,6)) = [22,41,37] Defined in src/operator/tensor/ravel.cc:L42 Parameters ---------- data : Symbol Batch of multi-indices shape : Shape(tuple), optional, default=None Shape of the array into which the multi-indices apply. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_ravel_multi_index scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _rdiv_scalar*scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_rminus_scalar>scKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _rmod_scalarRscOsdS(sk This function support variable length of positional input. Parameters ---------- data : Symbol[] List of arrays to concatenate dim : int, optional, default='1' the dimension to be concated. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_rnn_param_concatfscKsdS(s Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_rpower_scalar{scKsdS(s Concurrent sampling from multiple exponential distributions with parameters lambda (rate). The parameters of the distributions are provided as an input array. Let *[s]* be the shape of the input array, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input array, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input value at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input array. Examples:: lam = [ 1.0, 8.5 ] // Draw a single sample for each distribution sample_exponential(lam) = [ 0.51837951, 0.09994757] // Draw a vector containing two samples for each distribution sample_exponential(lam, shape=(2)) = [[ 0.51837951, 0.19866663], [ 0.09994757, 0.50447971]] Defined in src/operator/random/multisample_op.cc:L284 Parameters ---------- lam : Symbol Lambda (rate) parameters of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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((tlamRRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_exponentials.cKsdS(sConcurrent sampling from multiple gamma distributions with parameters *alpha* (shape) and *beta* (scale). The parameters of the distributions are provided as input arrays. Let *[s]* be the shape of the input arrays, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input arrays, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input values at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input arrays. Examples:: alpha = [ 0.0, 2.5 ] beta = [ 1.0, 0.7 ] // Draw a single sample for each distribution sample_gamma(alpha, beta) = [ 0. , 2.25797319] // Draw a vector containing two samples for each distribution sample_gamma(alpha, beta, shape=(2)) = [[ 0. , 0. ], [ 2.25797319, 1.70734084]] Defined in src/operator/random/multisample_op.cc:L282 Parameters ---------- alpha : Symbol Alpha (shape) parameters of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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). beta : Symbol Beta (scale) parameters of the distributions. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((talphatbetaRRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _sample_gammas1cKsdS(sConcurrent sampling from multiple generalized negative binomial distributions with parameters *mu* (mean) and *alpha* (dispersion). The parameters of the distributions are provided as input arrays. Let *[s]* be the shape of the input arrays, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input arrays, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input values at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input arrays. Samples will always be returned as a floating point data type. Examples:: mu = [ 2.0, 2.5 ] alpha = [ 1.0, 0.1 ] // Draw a single sample for each distribution sample_generalized_negative_binomial(mu, alpha) = [ 0., 3.] // Draw a vector containing two samples for each distribution sample_generalized_negative_binomial(mu, alpha, shape=(2)) = [[ 0., 3.], [ 3., 1.]] Defined in src/operator/random/multisample_op.cc:L293 Parameters ---------- mu : Symbol Means of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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). alpha : Symbol Alpha (dispersion) parameters of the distributions. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tmuR~RRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt%_sample_generalized_negative_binomials3cKsdS(s|Concurrent sampling from multiple multinomial distributions. *data* is an *n* dimensional array whose last dimension has length *k*, where *k* is the number of possible outcomes of each multinomial distribution. This operator will draw *shape* samples from each distribution. If shape is empty one sample will be drawn from each distribution. If *get_prob* is true, a second array containing log likelihood of the drawn samples will also be returned. This is usually used for reinforcement learning where you can provide reward as head gradient for this array to estimate gradient. Note that the input distribution must be normalized, i.e. *data* must sum to 1 along its last axis. Examples:: probs = [[0, 0.1, 0.2, 0.3, 0.4], [0.4, 0.3, 0.2, 0.1, 0]] // Draw a single sample for each distribution sample_multinomial(probs) = [3, 0] // Draw a vector containing two samples for each distribution sample_multinomial(probs, shape=(2)) = [[4, 2], [0, 0]] // requests log likelihood sample_multinomial(probs, get_prob=True) = [2, 1], [0.2, 0.3] Parameters ---------- data : Symbol Distribution probabilities. Must sum to one on the last axis. shape : Shape(tuple), optional, default=[] Shape to be sampled from each random distribution. get_prob : boolean, optional, default=0 Whether to also return the log probability of sampled result. This is usually used for differentiating through stochastic variables, e.g. in reinforcement learning. dtype : {'float16', 'float32', 'float64', 'int32', 'uint8'},optional, default='int32' DType of the output in case this can't be inferred. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRtget_probRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_multinomial's2cKsdS(sConcurrent sampling from multiple negative binomial distributions with parameters *k* (failure limit) and *p* (failure probability). The parameters of the distributions are provided as input arrays. Let *[s]* be the shape of the input arrays, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input arrays, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input values at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input arrays. Samples will always be returned as a floating point data type. Examples:: k = [ 20, 49 ] p = [ 0.4 , 0.77 ] // Draw a single sample for each distribution sample_negative_binomial(k, p) = [ 15., 16.] // Draw a vector containing two samples for each distribution sample_negative_binomial(k, p, shape=(2)) = [[ 15., 50.], [ 16., 12.]] Defined in src/operator/random/multisample_op.cc:L289 Parameters ---------- k : Symbol Limits of unsuccessful experiments. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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). p : Symbol Failure probabilities in each experiment. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R?tpRRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_negative_binomial[s3cKsdS(suConcurrent sampling from multiple normal distributions with parameters *mu* (mean) and *sigma* (standard deviation). The parameters of the distributions are provided as input arrays. Let *[s]* be the shape of the input arrays, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input arrays, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input values at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input arrays. Examples:: mu = [ 0.0, 2.5 ] sigma = [ 1.0, 3.7 ] // Draw a single sample for each distribution sample_normal(mu, sigma) = [-0.56410581, 0.95934606] // Draw a vector containing two samples for each distribution sample_normal(mu, sigma, shape=(2)) = [[-0.56410581, 0.2928229 ], [ 0.95934606, 4.48287058]] Defined in src/operator/random/multisample_op.cc:L279 Parameters ---------- mu : Symbol Means of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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). sigma : Symbol Standard deviations of the distributions. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RtsigmaRRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_normals1cKsdS(sConcurrent sampling from multiple Poisson distributions with parameters lambda (rate). The parameters of the distributions are provided as an input array. Let *[s]* be the shape of the input array, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input array, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input value at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input array. Samples will always be returned as a floating point data type. Examples:: lam = [ 1.0, 8.5 ] // Draw a single sample for each distribution sample_poisson(lam) = [ 0., 13.] // Draw a vector containing two samples for each distribution sample_poisson(lam, shape=(2)) = [[ 0., 4.], [ 13., 8.]] Defined in src/operator/random/multisample_op.cc:L286 Parameters ---------- lam : Symbol Lambda (rate) parameters of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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((R|RRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_poissons0cKsdS(scConcurrent sampling from multiple uniform distributions on the intervals given by *[low,high)*. The parameters of the distributions are provided as input arrays. Let *[s]* be the shape of the input arrays, *n* be the dimension of *[s]*, *[t]* be the shape specified as the parameter of the operator, and *m* be the dimension of *[t]*. Then the output will be a *(n+m)*-dimensional array with shape *[s]x[t]*. For any valid *n*-dimensional index *i* with respect to the input arrays, *output[i]* will be an *m*-dimensional array that holds randomly drawn samples from the distribution which is parameterized by the input values at index *i*. If the shape parameter of the operator is not set, then one sample will be drawn per distribution and the output array has the same shape as the input arrays. Examples:: low = [ 0.0, 2.5 ] high = [ 1.0, 3.7 ] // Draw a single sample for each distribution sample_uniform(low, high) = [ 0.40451524, 3.18687344] // Draw a vector containing two samples for each distribution sample_uniform(low, high, shape=(2)) = [[ 0.40451524, 0.18017688], [ 3.18687344, 3.68352246]] Defined in src/operator/random/multisample_op.cc:L277 Parameters ---------- low : Symbol Lower bounds of the distributions. shape : Shape(tuple), optional, default=None Shape to be sampled from each random distribution. 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). high : Symbol Upper bounds of the distributions. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((tlowthighRRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_uniforms1cKsdS(sLDraw random samples from an an approximately log-uniform or Zipfian distribution without replacement. This operation takes a 2-D shape `(batch_size, num_sampled)`, and randomly generates *num_sampled* samples from the range of integers [0, range_max) for each instance in the batch. The elements in each instance are drawn without replacement from the base distribution. The base distribution for this operator is an approximately log-uniform or Zipfian distribution: P(class) = (log(class + 2) - log(class + 1)) / log(range_max + 1) Additionaly, it also returns the number of trials used to obtain `num_sampled` samples for each instance in the batch. Example:: samples, trials = _sample_unique_zipfian(750000, shape=(4, 8192)) unique(samples[0]) = 8192 unique(samples[3]) = 8192 trials[0] = 16435 Defined in src/operator/random/unique_sample_op.cc:L66 Parameters ---------- range_max : int, required The number of possible classes. shape : Shape(tuple), optional, default=None 2-D shape of the output, where shape[0] is the batch size, and shape[1] is the number of candidates to sample for each batch. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((t range_maxRRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_sample_unique_zipfian(s*cKsdS(sIDivides arguments element-wise. If the left-hand-side input is 'row_sparse', then only the values which exist in the left-hand sparse array are computed. The 'missing' values are ignored. The storage type of ``_scatter_elemwise_div`` output depends on storage types of inputs - _scatter_elemwise_div(row_sparse, row_sparse) = row_sparse - _scatter_elemwise_div(row_sparse, dense) = row_sparse - _scatter_elemwise_div(row_sparse, csr) = row_sparse - otherwise, ``_scatter_elemwise_div`` behaves exactly like elemwise_div and generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_scatter_elemwise_divTscKsdS(sSubtracts a scalar to a tensor element-wise. If the left-hand-side input is 'row_sparse' or 'csr', then only the values which exist in the left-hand sparse array are computed. The 'missing' values are ignored. The storage type of ``_scatter_minus_scalar`` output depends on storage types of inputs - _scatter_minus_scalar(row_sparse, scalar) = row_sparse - _scatter_minus_scalar(csr, scalar) = csr - otherwise, ``_scatter_minus_scalar`` behaves exactly like _minus_scalar and generates output with default storage Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_scatter_minus_scalartscKsdS(sAdds a scalar to a tensor element-wise. If the left-hand-side input is 'row_sparse' or 'csr', then only the values which exist in the left-hand sparse array are computed. The 'missing' values are ignored. The storage type of ``_scatter_plus_scalar`` output depends on storage types of inputs - _scatter_plus_scalar(row_sparse, scalar) = row_sparse - _scatter_plus_scalar(csr, scalar) = csr - otherwise, ``_scatter_plus_scalar`` behaves exactly like _plus_scalar and generates output with default storage Parameters ---------- data : Symbol source input scalar : float scalar input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_scatter_plus_scalarscKsdS(sIThis operator has the same functionality as scatter_nd except that it does not reset the elements not indexed by the input index `NDArray` in the input data `NDArray`. output should be explicitly given and be the same as lhs. .. note:: This operator is for internal use only. Examples:: data = [2, 3, 0] indices = [[1, 1, 0], [0, 1, 0]] out = [[1, 1], [1, 1]] _scatter_set_nd(lhs=out, rhs=data, indices=indices, out=out) out = [[0, 1], [2, 3]] Parameters ---------- lhs : Symbol source input rhs : Symbol value to assign indices : Symbol indices shape : Shape(tuple), required Shape of output. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_scatter_set_nds%cKsdS(s Parameters ---------- src : real_t Source input to the function. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R&RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _set_valuescKsdS(sRandomly shuffle the elements. This shuffles the array along the first axis. The order of the elements in each subarray does not change. For example, if a 2D array is given, the order of the rows randomly changes, but the order of the elements in each row does not change. Parameters ---------- data : Symbol Data to be shuffled. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_shufflesc KsdS(sBAssign the rhs to a cropped subset of lhs. Requirements ------------ - output should be explicitly given and be the same as lhs. - lhs and rhs are of the same data type, and on the same device. From:src/operator/tensor/matrix_op.cc:537 Parameters ---------- lhs : Symbol Source input rhs : Symbol value to assign begin : Shape(tuple), required starting indices for the slice operation, supports negative indices. end : Shape(tuple), required ending indices for the slice operation, supports negative indices. step : Shape(tuple), optional, default=[] step for the slice operation, supports negative values. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( R R R"R#RHRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _slice_assigns c KsdS(s7(Assign the scalar to a cropped subset of the input. Requirements ------------ - output should be explicitly given and be the same as input ) From:src/operator/tensor/matrix_op.cc:562 Parameters ---------- data : Symbol Source input scalar : double, optional, default=0 The scalar value for assignment. begin : Shape(tuple), required starting indices for the slice operation, supports negative indices. end : Shape(tuple), required ending indices for the slice operation, supports negative indices. step : Shape(tuple), optional, default=[] step for the slice operation, supports negative values. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( RR R"R#RHRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_slice_assign_scalar%sc KsdS(s Splits an array along a particular axis into multiple sub-arrays. Example:: x = [[[ 1.] [ 2.]] [[ 3.] [ 4.]] [[ 5.] [ 6.]]] x.shape = (3, 2, 1) y = split_v2(x, axis=1, indices_or_sections=2) // a list of 2 arrays with shape (3, 1, 1) y = [[[ 1.]] [[ 3.]] [[ 5.]]] [[[ 2.]] [[ 4.]] [[ 6.]]] y[0].shape = (3, 1, 1) z = split_v2(x, axis=0, indices_or_sections=3) // a list of 3 arrays with shape (1, 2, 1) z = [[[ 1.] [ 2.]]] [[[ 3.] [ 4.]]] [[[ 5.] [ 6.]]] z[0].shape = (1, 2, 1) w = split_v2(x, axis=0, indices_or_sections=(1,)) // a list of 2 arrays with shape [(1, 2, 1), (2, 2, 1)] w = [[[ 1.] [ 2.]]] [[[3.] [4.]] [[5.] [6.]]] w[0].shape = (1, 2, 1) w[1].shape = (2, 2, 1) `squeeze_axis=True` removes the axis with length 1 from the shapes of the output arrays. **Note** that setting `squeeze_axis` to ``1`` removes axis with length 1 only along the `axis` which it is split. Also `squeeze_axis` can be set to true only if ``input.shape[axis] == indices_or_sections``. Example:: z = split_v2(x, axis=0, indices_or_sections=3, squeeze_axis=1) // a list of 3 arrays with shape (2, 1) z = [[ 1.] [ 2.]] [[ 3.] [ 4.]] [[ 5.] [ 6.]] z[0].shape = (2, 1) Defined in src/operator/tensor/matrix_op.cc:L1192 Parameters ---------- data : Symbol The input indices : Shape(tuple), required Indices of splits. The elements should denote the boundaries of at which split is performed along the `axis`. axis : int, optional, default='1' Axis along which to split. squeeze_axis : boolean, optional, default=0 If true, Removes the axis with length 1 from the shapes of the output arrays. **Note** that setting `squeeze_axis` to ``true`` removes axis with length 1 only along the `axis` which it is split. Also `squeeze_axis` can be set to ``true`` only if ``input.shape[axis] == num_outputs``. sections : int, optional, default='0' Number of sections if equally splitted. Default to 0 which means split by indices. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i(( RRRt squeeze_axistsectionsRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _split_v2Fs\cKsdS(s Parameters ---------- name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_split_v2_backwardscKsdS(shComputes the square sum of array elements over a given axis for row-sparse matrix. This is a temporary solution for fusing ops square and sum together for row-sparse matrix to save memory for storing gradients. It will become deprecated once the functionality of fusing operators is finished in the future. Example:: dns = mx.nd.array([[0, 0], [1, 2], [0, 0], [3, 4], [0, 0]]) rsp = dns.tostype('row_sparse') sum = mx.nd._internal._square_sum(rsp, axis=1) sum = [0, 5, 0, 25, 0] Defined in src/operator/tensor/square_sum.cc:L63 Parameters ---------- data : Symbol The input axis : Shape or None, optional, default=None The axis or axes along which to perform the reduction. The default, `axis=()`, will compute over all elements into a scalar array with shape `(1,)`. If `axis` is int, a reduction is performed on a particular axis. If `axis` is a tuple of ints, a reduction is performed on all the axes specified in the tuple. If `exclude` is true, reduction will be performed on the axes that are NOT in axis instead. Negative values means indexing from right to left. keepdims : boolean, optional, default=0 If this is set to `True`, the reduced axes are left in the result as dimension with size one. exclude : boolean, optional, default=0 Whether to perform reduction on axis that are NOT in axis instead. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRtkeepdimstexcludeRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _square_sums1cKsdS(sSubtracts arguments element-wise. The storage type of ``elemwise_sub`` output depends on storage types of inputs - elemwise_sub(row_sparse, row_sparse) = row_sparse - elemwise_sub(csr, csr) = csr - elemwise_sub(default, csr) = default - elemwise_sub(csr, default) = default - elemwise_sub(default, rsp) = default - elemwise_sub(rsp, default) = default - otherwise, ``elemwise_sub`` generates output with default storage Parameters ---------- lhs : Symbol first input rhs : Symbol second input name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((R R RRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_subscKsdS(sConverts an array of flat indices into a batch of index arrays. The operator follows numpy conventions so a single multi index is given by a column of the output matrix. The leading dimension may be left unspecified by using -1 as placeholder. Examples:: A = [22,41,37] unravel(A, shape=(7,6)) = [[3,6,6],[4,5,1]] unravel(A, shape=(-1,6)) = [[3,6,6],[4,5,1]] Defined in src/operator/tensor/ravel.cc:L67 Parameters ---------- data : Symbol Array of flat indices shape : Shape(tuple), optional, default=None Shape of the array into which the multi-indices apply. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_unravel_indexscOsdS(s=Run a while loop over with user-defined condition and computation From:src/operator/control_flow.cc:1151 This function support variable length of positional input. Parameters ---------- cond : Symbol Input graph for the loop condition. func : Symbol Input graph for the loop body. data : Symbol[] The input arrays that include data arrays and states. num_outputs : int, required The number of outputs of the subgraph. num_out_data : int, required The number of outputs from the function body. max_iterations : int, required Maximum number of iterations. cond_input_locs : tuple of <>, required The locations of cond's inputs in the given inputs. func_input_locs : tuple of <>, required The locations of func's inputs in the given inputs. func_var_locs : tuple of <>, required The locations of loop_vars among func's inputs. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt _while_loop&s#cKsdS(sfill target with zeros Parameters ---------- shape : Shape(tuple), optional, default=[] The shape of the output ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : {'float16', 'float32', 'float64', 'int32', 'int64', 'int8', 'uint8'},optional, default='float32' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRKRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_zerosKscKsdS(sfill target with zeros without default dtype Parameters ---------- shape : Shape(tuple), optional, default=None The shape of the output ctx : string, optional, default='' Context of output, in format [cpu|gpu|cpu_pinned](n).Only used for imperative calls. dtype : int, optional, default='-1' Target data type. name : string, optional. Name of the resulting symbol. Returns ------- Symbol The result symbol. i(i((RRKRLRRRR((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyt_zeros_without_dtypeasRRR R RRRRRRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6R7RDRERMRNRORPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR R R R R RRRRRRRRRRRRRRRRRRR R!R$R%R.R2R4R8R9R:R;R<R@RARBRCRDRERFRGRKRLRMRNRVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R}RRRRRRRRRRRRRRRRRRRRRRRRN(Kt _internalRtbaseRRtNoneRR R RRRRRRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6R7RDRERMRNRORPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR R R R R RRRRRRRRRRRRRRRRRRR R!R$R%R.R2R4R8R9R:R;R<R@RARBRCRDRERFRGRKRLRMRNRVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R}RRRRRRRRRRRRRRRRRRRRRRRRt__all__(((s;/tmp/pip-install-Qvdv_2/mxnet/mxnet/symbol/gen__internal.pyts     6? ' 0&5    #!"!!*!! !$* ' 9C  03545323, '!"!!!^3  %