code: def tanh(x):
      """Hyperbolic tangent activation function.
  
      It is defined as:
      `tanh(x) = sinh(x) / cosh(x)`, i.e.
      `tanh(x) = ((exp(x) - exp(-x)) / (exp(x) + exp(-x)))`.
  
      Args:
          x: Input tensor.
      """
      return ops.tanh(x)
  
imports: from keras import backend
  from keras import ops
  from keras.api_export import keras_export
label_desc: Use image node_id 11 for calling a global function with example usage: tanh(x) and returns: ops