def identity(x):
    """The identity activation function.
    Shortcut is ``linear``.

    Parameters
    ----------
    x : Tensor
        input.

    Returns
    -------
    Tensor
        A ``Tensor`` in the same type as ``x``.

    """
    return x