parameters: (a)
return_statement: return _unary_operation(_ti_core.expr_tanh, math.tanh, a)
docstring: The hyperbolic tangent function.
  
      Args:
          a (Union[:class:`~taichi.lang.expr.Expr`, :class:`~taichi.lang.matrix.Matrix`]): A number or a matrix.
  
      Returns:
          `(e**x - e**(-x)) / (e**x + e**(-x))`.
docstring_summary: The hyperbolic tangent function.
docstring_tokens: The hyperbolic tangent function .
function: def tanh(a):
      """The hyperbolic tangent function.
  
      Args:
          a (Union[:class:`~taichi.lang.expr.Expr`, :class:`~taichi.lang.matrix.Matrix`]): A number or a matrix.
  
      Returns:
          `(e**x - e**(-x)) / (e**x + e**(-x))`.
      """
      return _unary_operation(_ti_core.expr_tanh, math.tanh, a)
function_tokens: def tanh ( a ) : return _unary_operation ( _ti_core . expr_tanh , math . tanh , a )