def round(
        self,
        decimals: int = 0,
        out: ndarray | None = None,
    ) -> ndarray:
        """a.round(decimals=0, out=None)

        Return a with each element rounded to the given number of decimals.

        Refer to :func:`cupynumeric.round` for full documentation.

        Availability
        --------
        Multiple GPUs, Multiple CPUs

        """
        extra_args = (
            Scalar(decimals, ty.int64),
            Scalar(10 ** abs(decimals), ty.int64),
        )
        return perform_unary_op(
            UnaryOpCode.ROUND, self, out=out, extra_args=extra_args
        )
a.round(decimals=0, out=None)

        Return a with each element rounded to the given number of decimals.

        Refer to :func:`cupynumeric.round` for full documentation.

        Availability
        --------
        Multiple GPUs, Multiple CPUs

        
cupynumeric/_array/array.py