v]cE@sddlmZddlmZdZdddZdddZdddddZdedddZ ddddd Z deddd Z ddddd Z deddd Z deddd ZdddddZdddddZdedddZdddddZdedddZdedddZdddddZdedddZdedddZdedddZdddddZdddddZdddddZdddddZdedddZdddddZdedddZdddddZ deddd Z!ddddd!Z"deddd"Z#ddddd#Z$deddd$Z%d%Z&d&Z'ddd'Z(deddd(Z)ddddd)Z*ddddd*Z+deddd+Z,ddddd,Z-deddd-Z.deddd.Z/deddd/Z0deddd0Z1deddd1Z2dddddeeeeeeeddd2Z3ddddd3Z4eeeeeeeddd4 Z5ddd5Z6ddd6Z7ddd7Z8ddd8Z9ddd9Z:ddd:Z;ddd;Z<ddd<Z=ddd=Z>ddd>Z?ddd?Z@ddd@ZAdddAZBdddBZCdddCZDdddDZEdddEZFdddFZGdddGZHdddHZIdddIZJdddJZKdddKZLdddLZMdddMZNdddNZOdddOZPdddPZQdddQZRdddRZSdddSZTdddTZUdddUZVdddVZWdddWZXdddXZYdddYZZdddZZ[ddd[Z\ddd\Z]ddd]Z^ddd^Z_ddd_Z`ddd`ZadddaZbdddbZcdddcZdddddZedddeZfdddfZgdddgZhdddhZidddiZjdddjZkdddkZldddlZmdddddmZndddnZodddoZpdpZqdddddqZrdddddrZsdddddsZtdddddtZuddddduZvdddddvZwdddwZxdddxZydddyZzdddzZ{ddd{Z|ddd|Z}ddd}Z~ddd~ZdddZdddZdddZdddddZdddZdddZdddZdddZeeedddZedddZedddZeeeeeeeeeeddd ZdddZdddddZdddddZdddZdddddZdddZdddZdedddZeeedddZdddddZdddddZdddddZdddZdddddZdddddZddedddZdddZdddZddedddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddZdddddZdddddZdddddZdddddZdZdddZdddZdddZdddZddedddZdddZdddZdddZddedddZdddZddedddZdddZdddZdedddZdddZdddZdddZdddZdddZddedddZdddZdddddZdddddZddedddZdddddZdddddZdddZdddZdddZddedddZddedddZdddddZdddZdddddZdddddZdddddZdddddZdddZdddZdddZdddddZdZdddZdZdddddZdddZdddddZdddddZdddZdddZdddZdddZdddZdddZdddddZdddddZdddZdddZdddZdddZdddZdZddddZddddZddeeedddZdeeeedddZdeeeeeeeddd ZdeedddZeeedddZdeeedddZdddddZdedddZdddddZdedddZeeeeedddZdZeeeedddZdddddZdddddZdddddZdedddZdedddZddeedddZdddddZ deddd Z ddddd Z deeeeeeeddd  Z ddddd Z ddddd ZdedddZdedddZeeeeeeeddd ZdddddZdedddZdddddZdedddZdddddZdedddZdddddZdedddZdddddZdedddZdddddZdedddZdddddZdedddZddddddeeeeeeedddZ ddddd Z!deddd!Z"ddddd"Z#deddd#Z$ddddd$Z%eeeddd%Z&ddddd&Z'deddd'Z(ddddd(Z)deddd)Z*deddd*Z+deddd+Z,deddd,Z-deddd-Z.d.Z/deddd/Z0deeddd0Z1ddeeddd1Z2ddeeddd2Z3deeeddd3Z4ddeeddd4Z5ddeeddd5Z6deeddd6Z7ddeeddd7Z8eeddd8Z9ddddd9Z:deddd:Z;deddd;Z<dddeddd<Z=eddd=Z>dddd>Z?ddeeeddd?Z@deeeeddd@ZAdeeeedddAZBdddBZCdeeedddCZDdddddDZEdedddEZFdFZGeeedddGZHeeedddHZIdIdJdKdLdMdNdOdPdQdRdSdTdUdVdWdXdYdZd[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 NDArrayBasei(t_NullcOsdS(s Parameters ---------- data : NDArray[] input data list out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tdatatkwargs((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _CachedOpscKsdS(sSpecial op to copy data cross device Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((touttnameR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_CrossDeviceCopyscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_CustomFunction)scKsdS(sDivides arguments element-wise. The storage type of ``elemwise_div`` output is always dense Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tlhstrhsRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_Div:scKsdS(sDivide 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RtscalarRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _DivScalarRscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_EqualpscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _EqualScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_GreaterscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_GreaterEqualScalarscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_GreaterScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_Greater_EqualscKsdS(sGiven the "legs" of a right triangle, return its hypotenuse. Defined in src/operator/tensor/elemwise_binary_op_extended.cc:L79 Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_HypotscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _HypotScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_LesserscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_LesserEqualScalar(scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _LesserScalar<scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _Lesser_EqualPscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_LogicalAndScalardscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_LogicalOrScalarxscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_LogicalXorScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _Logical_AndscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _Logical_OrscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _Logical_XorscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_MaximumscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_MaximumScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_MinimumscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_Minus,scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _MinusScalarLscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_Mod`scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_MulscKsdS(sMultiply 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _MulScalarscOsdS(sStub for implementing an operator implemented in native frontend language with ndarray. Parameters ---------- data : NDArray[] Input data for the custom operator. info : ptr, required out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_NDArrayscOsdS(sStub for implementing an operator implemented in native frontend language. Parameters ---------- data : NDArray[] 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_NativescKsdS(s Place holder for variable who cannot perform gradient Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _NoGradientscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_NotEqualScalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_Plus&scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _PlusScalarFscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_PowerZscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _PowerScalarnscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _RDivScalarscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _RMinusScalarscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _RModScalarscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray Weight grad : NDArray Gradient mean : NDArray Moving mean var : NDArray Moving variance rescale_grad : NDArray 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tweighttgradtmeantvart rescale_gradtlrtbeta1tbeta2tepsilontwdtetat clip_gradientRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i(( tstarttstoptsteptrepeatt infer_rangetctxtdtypeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_arange1scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ActivationOscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_BatchNorm`scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_BatchNorm_v1qscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_BilinearSamplerscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_CachedOpscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ConcatscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ConvolutionscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_Convolution_v1scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_CorrelationscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_CropscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_CustomscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_CustomFunction scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_DeconvolutionscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_Dropout,scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_Embedding=scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_FullyConnectedNscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_GridGenerator_scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt#_backward_IdentityAttachKLSparseRegpscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_InstanceNormscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_L2NormalizationscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_LRNscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_LayerNormscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_LeakyReLUscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_MakeLossscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_PadscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_PoolingscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_Pooling_v1 scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_RNNscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ROIAlign+scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ROIPooling<scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SVMOutputMscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SequenceLast^scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SequenceMaskoscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SequenceReversescKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SliceChannelscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SoftmaxActivationscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SoftmaxOutputscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SparseEmbeddingscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SpatialTransformerscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_SwapAxisscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_UpSamplingscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__CrossDeviceCopyscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__NDArrayscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__Native*scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt(_backward__contrib_DeformableConvolution;scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt)_backward__contrib_DeformablePSROIPoolingLscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt$_backward__contrib_MultiBoxDetection]scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward__contrib_MultiBoxPriornscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt!_backward__contrib_MultiBoxTargetscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward__contrib_MultiProposalscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__contrib_PSROIPoolingscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__contrib_ProposalscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward__contrib_SyncBatchNormscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__contrib_count_sketchscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__contrib_fftscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward__contrib_ifftscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_absscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_addscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_amp_cast,scOsdS(sa Parameters ---------- grad : NDArray[] Gradients num_outputs : int, required Number of input/output pairs to be casted to the widest type. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R8R((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_amp_multicast=scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arccosQscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arccoshescKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arcsinyscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arcsinhscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arctanscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_arctanhscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_batch_dotscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_addscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_divscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_hypotscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_maximum scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_minimum scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_mod/ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_mul@ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_powerQ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_broadcast_subb scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_casts scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_cbrt scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_clip scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_cond scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt&_backward_contrib_AdaptiveAvgPooling2D scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt"_backward_contrib_BilinearResize2D scKsdS(sT 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 out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((t is_ascendt thresholdttopkRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((taxisRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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]. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tformatRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_contrib_box_iou sc KsdS(sU 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]. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i(( toverlap_thresht valid_threshRt coord_startt score_indextid_indext background_idtforce_suppresst in_formatt out_formatRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_contrib_box_nms s$cKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_copy= scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_cosN scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_coshb scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_ctc_lossv scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_degrees scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_diag scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_div scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((t transpose_at transpose_bt forward_stypeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_dot scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_erf scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_erfinv scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_expm1 scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_foreach# scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_gamma4 scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray data indices : NDArray indices shape : Shape(tuple), required Shape of output. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RtindicestshapeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_gather_nd\ s3cKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_hard_sigmoid scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_hypot scKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_hypot_scalar scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_image_crop scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_image_normalize scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_extractdiag scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_extracttrian scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_gelqf scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_gemm scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_gemm2/ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_inverse@ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_makediagQ scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_maketrianb scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_potrfs scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_potri scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_sumlogdiag scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_syevd scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_syrk scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_trmm scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linalg_trsm scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_linear_reg_out scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_log scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_log10 scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_log1p# scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_log27 scOsdS(s  Parameters ---------- args : NDArray[] Positional input arguments out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((targsR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_log_softmaxK scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_logistic_reg_out] scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_mae_reg_outn scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_max scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_maximum scKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_maximum_scalar scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_mean scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_min scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_minimum scKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_minimum_scalar scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_modscKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_mod_scalarscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_moments'scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_mul8scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_mul_scalarIscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_nanprod]scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_nansumnscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_normscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_pickscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_powerscKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_power_scalarscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_prodscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_radiansscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_rcbrtscKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_rdiv_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_reciprocalscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_relu+scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_repeat?scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_reshapePscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_reverseascKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_rmod_scalarrscKsdS(sI Parameters ---------- lhs : NDArray first input rhs : NDArray second input scalar : float scalar value out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_rpower_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_rsqrtscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_sample_multinomialscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_sigmoidscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_signscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_sinscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_sinhscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_slicescKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_slice_axis$scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_slice_like5scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_smooth_l1FscOsdS(s  Parameters ---------- args : NDArray[] Positional input arguments out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_softmaxZscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_softmax_cross_entropylscOsdS(s  Parameters ---------- args : NDArray[] Positional input arguments out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_softmin}scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_softsignscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_sparse_retainscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_sqrtscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_squarescKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_square_sumscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_squeezescKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_stackscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_subscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_sum scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_take1scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _backward_tanBscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_tanhVscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_tilejscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_topk{scKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_wherescKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_backward_while_loopscKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_broadcast_backwardscOsdS(sRun a if-then-else using user-defined condition and computation From:src/operator/control_flow.cc:1212 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 : NDArray[] 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_conds cKsdS(sYReturns a copy of the input. From:src/operator/tensor/elemwise_unary_op_basic.cc:218 Parameters ---------- data : NDArray The input array. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_copyscKsdS(s Parameters ---------- data : NDArray input data out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_copytoscKsdS(sqAssign 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 : NDArray Source input rhs : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R tbegintendRGRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _crop_assigns cKsdS(se(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 : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR R!R"RGRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_crop_assign_scalar)sc KsdS(s Pad 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i(( tsrcttoptbottlefttrightttypetvaluetvaluesRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_cvcopyMakeBorderJscKsdS(sqDecode 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tbuftflagtto_rgbRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _cvimdecodekscKsdS(sRead 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tfilenameR/R0RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R%twthtinterpRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _cvimresizescKsdS(sDivides arguments element-wise. The storage type of ``elemwise_div`` output is always dense Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_divscKsdS(sDivide 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _div_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_equalscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _equal_scalarscKsdS(spReturn 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tNtMtkRJRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_eyescOsdS(syRun a for loop over an NDArray with user-defined computation From:src/operator/control_flow.cc:1090 Parameters ---------- fn : Symbol Input graph. data : NDArray[] 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_foreach*scKsdS(sfill 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 out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRJRKR+RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_fullJscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _grad_addbscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_greatervscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_greater_equalscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_greater_equal_scalarscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray Input ndarray bins : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((Rtbinstbin_cnttrangeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _histograms"cKsdS(sGiven the "legs" of a right triangle, return its hypotenuse. Defined in src/operator/tensor/elemwise_binary_op_extended.cc:L79 Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_hypotscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _hypot_scalarscKsdS(s# Parameters ---------- lhs : NDArray First input. rhs : NDArray Second input. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray 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 out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i(( R9tindextx0ty0tx1ty1tctsizeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _imdecode*scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_lesserJscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _lesser_equal^scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_lesser_equal_scalarrscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i(( RERFRGRHRIRJRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _linspacescKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _logical_andscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_logical_and_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _logical_orscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_logical_or_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _logical_xorscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_logical_xor_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_maximum0scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_maximum_scalarDscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_minimumXscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_minimum_scalarlscKsdS(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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_minusscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _minus_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_modscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _mod_scalarscKsdS(s Update 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 : NDArray Weight grad : NDArray Gradient mean : NDArray Moving mean var : NDArray Moving variance weight32 : NDArray Weight32 rescale_grad : NDArray 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R7R8R9R:tweight32R;R<R=R>R?R@RARBRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_mulscKsdS(sMultiply 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _mul_scalar>scKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _not_equal\scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_not_equal_scalarpscKsdS(sE Parameters ---------- lhs : NDArray Left operand to the function. rhs : NDArray Right operand to the function. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_onehot_encodescKsdS(sCfill 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRJRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_plusscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _plus_scalarscKsdS(s! Parameters ---------- lhs : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_powerscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _power_scalarscKsdS(s#Converts 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 : NDArray Batch of multi-indices shape : Shape(tuple), optional, default=None Shape of the array into which the multi-indices apply. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_ravel_multi_index scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _rdiv_scalar(scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_rminus_scalar<scKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _rmod_scalarPscOsdS(sZ Parameters ---------- data : NDArray[] List of arrays to concatenate dim : int, optional, default='1' the dimension to be concated. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_rnn_param_concatdscKsdS(s$ Parameters ---------- data : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_rpower_scalarxscKsdS(s8Concurrent 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 : NDArray 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tlamRRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray 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 : NDArray Beta (scale) parameters of the distributions. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((talphatbetaRRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray 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 : NDArray Alpha (dispersion) parameters of the distributions. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tmuR}RRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt%_sample_generalized_negative_binomials3cKsdS(sConcurrent 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 : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRtget_probRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray 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 : NDArray Failure probabilities in each experiment. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R>tpRRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_sample_negative_binomialXs3cKsdS(sConcurrent 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 : NDArray 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 : NDArray Standard deviations of the distributions. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RtsigmaRRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_sample_normals1cKsdS(sBConcurrent 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 : NDArray 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). out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R{RRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_sample_poissons0cKsdS(sConcurrent 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 : NDArray 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 : NDArray Upper bounds of the distributions. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((tlowthighRRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_sample_uniforms1cKsdS(syDraw 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((t range_maxRRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_sample_unique_zipfian%s*cKsdS(sxDivides 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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_scatter_elemwise_divQscKsdS(sFSubtracts 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_scatter_minus_scalarqscKsdS(s<Adds 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 : NDArray source input scalar : float scalar input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_scatter_plus_scalarscKsdS(syThis 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 : NDArray source input rhs : NDArray value to assign indices : NDArray indices shape : Shape(tuple), required Shape of output. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_scatter_set_nds%cKsdS(s  Parameters ---------- src : real_t Source input to the function. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R%RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _set_valuescKsdS(s&Randomly 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 : NDArray Data to be shuffled. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_shufflescKsdS(sqAssign 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 : NDArray Source input rhs : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R R!R"RGRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _slice_assigns cKsdS(se(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 : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR R!R"RGRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_slice_assign_scalar"scKsdS(s3 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 : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRt squeeze_axistsectionsRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _split_v2Cs\cKsdS(s Parameters ---------- out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_split_v2_backwardscKsdS(sComputes 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 : NDArray 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRtkeepdimstexcludeRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/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 : NDArray first input rhs : NDArray second input out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((R R RRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_subscKsdS(s+Converts 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 : NDArray Array of flat indices shape : Shape(tuple), optional, default=None Shape of the array into which the multi-indices apply. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_unravel_indexscOsdS(s,Run a while loop over with user-defined condition and computation From:src/operator/control_flow.cc:1151 Parameters ---------- cond : Symbol Input graph for the loop condition. func : Symbol Input graph for the loop body. data : NDArray[] 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt _while_loop#s"cKsdS(sDfill 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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRJRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_zerosGscKsdS(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. out : NDArray, optional The output NDArray to hold the result. Returns ------- out : NDArray or list of NDArrays The output of this function. i(i((RRJRKRRR((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyt_zeros_without_dtype]sRRRR R RRRRRRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6RCRDRLRMRNRORPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR R R R R RRRRRRRRRRRRRRRRRRR R#R$R-R1R3R7R8R9R:R;R?R@RARBRCRDRERFRJRKRLRMRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR|RRRRRRRRRRRRRRRRRRRRRRRRN(Kt _internalRtbaseRRtNoneRRR R RRRRRRRRRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6RCRDRLRMRNRORPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R~RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR R R R R RRRRRRRRRRRRRRRRRRR R#R$R-R1R3R7R8R9R:R;R?R@RARBRCRDRERFRJRKRLRMRURVRWRXRYRZR[R\R]R^R_R`RaRbRcRdReRfRgRhRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR|RRRRRRRRRRRRRRRRRRRRRRRRt__all__(((s</tmp/pip-install-Qvdv_2/mxnet/mxnet/ndarray/gen__internal.pyts     3? $ -&5    ""!'! $' $ 6C  03545323, '"!^3  $