parameters: (x, out=None, **kwargs)
return_statement: return _unary_func_helper(x, _npi.tanh, _np.tanh, out=out, **kwargs)
docstring: Compute hyperbolic tangent element-wise.
      Equivalent to ``np.sinh(x)/np.cosh(x)``.
  
      Parameters
      ----------
      x : _Symbol
          Input array.
      out : _Symbol or None
            Dummy parameter to keep the consistency with the ndarray counterpart.
  
      Returns
      -------
      y : _Symbol
          The corresponding hyperbolic tangent values.
  
      Notes
      -----
      If `out` is provided, the function writes the result into it,
      and returns a reference to `out`.  (See Examples)
      - input x does not support complex computation (like imaginary number)
      >>> np.tanh(np.pi*1j)
      TypeError: type <type 'complex'> not supported
  
      Examples
      --------
      >>> np.tanh(np.array[0, np.pi]))
      array([0.       , 0.9962721])
      >>> np.tanh(np.pi)
      0.99627207622075
      >>> # Example of providing the optional output parameter illustrating
      >>> # that what is returned is a reference to said parameter
      >>> out1 = np.array(1)
      >>> out2 = np.tanh(np.array(0.1), out1)
      >>> out2 is out1
      True
      >>> # Example of ValueError due to provision of shape mis-matched `out`
      >>> np.tanh(np.zeros((3,3)),np.zeros((2,2)))
      mxnet.base.MXNetError:
      [07:17:36] ../src/ndarray/./../operator/tensor/../elemwise_op_common.h:135:
      Check failed: assign(&dattr, vec.at(i)): Incompatible attr in node
      at 0-th output: expected [3,3], got [2,2]
docstring_summary: Compute hyperbolic tangent element-wise.
      Equivalent to ``np.sinh(x)/np.cosh(x)``.
docstring_tokens: Compute hyperbolic tangent element - wise . Equivalent to np . sinh ( x ) / np . cosh ( x ) .
function: def tanh(x, out=None, **kwargs):
      """
      Compute hyperbolic tangent element-wise.
      Equivalent to ``np.sinh(x)/np.cosh(x)``.
  
      Parameters
      ----------
      x : _Symbol
          Input array.
      out : _Symbol or None
            Dummy parameter to keep the consistency with the ndarray counterpart.
  
      Returns
      -------
      y : _Symbol
          The corresponding hyperbolic tangent values.
  
      Notes
      -----
      If `out` is provided, the function writes the result into it,
      and returns a reference to `out`.  (See Examples)
      - input x does not support complex computation (like imaginary number)
      >>> np.tanh(np.pi*1j)
      TypeError: type <type 'complex'> not supported
  
      Examples
      --------
      >>> np.tanh(np.array[0, np.pi]))
      array([0.       , 0.9962721])
      >>> np.tanh(np.pi)
      0.99627207622075
      >>> # Example of providing the optional output parameter illustrating
      >>> # that what is returned is a reference to said parameter
      >>> out1 = np.array(1)
      >>> out2 = np.tanh(np.array(0.1), out1)
      >>> out2 is out1
      True
      >>> # Example of ValueError due to provision of shape mis-matched `out`
      >>> np.tanh(np.zeros((3,3)),np.zeros((2,2)))
      mxnet.base.MXNetError:
      [07:17:36] ../src/ndarray/./../operator/tensor/../elemwise_op_common.h:135:
      Check failed: assign(&dattr, vec.at(i)): Incompatible attr in node
      at 0-th output: expected [3,3], got [2,2]
      """
      return _unary_func_helper(x, _npi.tanh, _np.tanh, out=out, **kwargs)
function_tokens: def tanh ( x , out = None , * * kwargs ) : return _unary_func_helper ( x , _npi . tanh , _np . tanh , out = out , * * kwargs )