def tan(data=None, out=None, name=None, **kwargs):
    """Computes the element-wise tangent of the input array.

    The input should be in radians (:math:`2\\pi` rad equals 360 degrees).

    .. math::
       tan([0, \\pi/4, \\pi/2]) = [0, 1, -inf]

    The storage type of ``tan`` output depends upon the input storage type:

       - tan(default) = default
       - tan(row_sparse) = row_sparse
       - tan(csr) = csr



    Defined in src/operator/tensor/elemwise_unary_op_trig.cc:L140

    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.
    """
    return 0,
