def identity(x):
    """The identity function

    :math:`y=x`

    Args:
        x (:py:class:`dynet.Expression`): Input expression

    Returns:
        :py:class:`dynet.Expression`: :math:`x`
    """
    return x
