code: def Tanh():
      r"""Returns a layer that computes the hyperbolic tangent function.
  
      .. math::
          f(x) = \frac{e^x - e^{-x}}{e^x + e^{-x}}
      """
      return Fn("Tanh", lambda x: jnp.tanh(x))
  
imports: from trax import fastmath
  from trax.fastmath import numpy
  from trax.layers import base
  from trax.layers.assert_shape import assert_shape
  from trax.layers.base import Fn
label_desc: Use image node_id 9 for calling a global function with example usage: Tanh() and returns: Fn