class_docstr: Hyperbolic tangent function.
class_docstr_tok: ["Hyperbolic","tangent","function","."]
code: def forward_chainerx(self, x):
      return (chainerx.tanh(x[0]),)
  
imports: import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 2 for calling the Tanh obj's underlying member method code with example usage: obj.forward_chainerx(x) and returns: chainerx