Skip to content

daft.functions.tanh#

tanh #

tanh(expr: Expression) -> Expression

The elementwise hyperbolic tangent of a numeric expression.

Source code in daft/functions/numeric.py
115
116
117
def tanh(expr: Expression) -> Expression:
    """The elementwise hyperbolic tangent of a numeric expression."""
    return Expression._call_builtin_scalar_fn("tanh", expr)