Backends/SiaNet.Backend.MxNet/NDArrayOps.cs
/// <summary>
/// Returns element-wise rounded value to the nearest integer of the input... note::   - For input ``n.5`` ``rint`` returns ``n`` while ``round`` returns ``n+1``.   - For input ``-n.5`` both ``rint`` and ``round`` returns ``-n-1``.Example::   rint([-1.5, 1.5, -1.9, 1.9, 2.1]) = [-2.,  1., -2.,  2.,  2.]The storage type of ``rint`` output depends upon the input storage type:   - rint(default) = default   - rint(row_sparse) = row_sparseDefined in G:\deeplearn\mxnet\src\operator\tensor\elemwise_unary_op.cc:L352
/// </summary>
/// <param name="@out">output NDArray</param>
/// <param name="data">The input array.</param>
/// <returns>returns new symbol</returns>
Returns element-wise rounded value to the nearest integer of the input...
Returns element - wise rounded value to the nearest integer of the input ...
public static NDArray Rint(NDArray @out,
        NDArray data)
        {
            return new Operator("rint")
            .SetInput("data", data)
            .Invoke(@out);
        }
public static NDArray Rint ( NDArray @out , NDArray data ) { return new Operator ( " " ) . SetInput ( " " , data ) . Invoke ( @out ) ; }
Returns element-wise rounded value to the nearest integer of the input... note::   - For input ``n.5`` ``rint`` returns ``n`` while ``round`` returns ``n+1``.
Returns element - wise rounded value to the nearest integer of the input ... note :: - For input ` ` n . 5 ` ` ` ` rint ` ` returns ` ` n ` ` while ` ` round ` ` returns ` ` n + 1 ` ` .
returns new symbol
returns new symbol
@out
NDArray
None
data
NDArray
The input array.
The input array .