Returns the input unchanged. Used as a no-op transformation in contexts that accept an arbitrary transformation function.
This is base::identity() under a name that does not mask it. The two are
interchangeable everywhere, including under exact differentiation
(deriv_method = "exact"), since returning the argument untouched also
returns any tangent it carries. identity_transform() exists so that code
translated from Python delicatessen, where the function is called
identity(), can keep its shape. In R code, prefer identity().
See also
base::identity(), which does the same thing and is the idiomatic
choice in R. inverse_logit() has the full list of deli utilities and
their base R counterparts.