code: def tanh(x):
      """Tanh activation function :math:`\\varphi(x) = \\tanh(x)`
  
      Parameters
      ----------
      x : float32
          The activation (the summed, weighted input of a neuron).
  
      Returns
      -------
      float32 in [-1, 1]
          The output of the tanh function applied to the activation.
      """
      return theano.tensor.tanh(x)
  
file_path: Lasagne/lasagne/nonlinearities.py
imports: import theano.tensor
label_desc: Use image node_id 3 for calling a global function with example usage: tanh(x) and returns: theano