code: def bound_by_tanh(x, low, high):
      """Bound a given value into [low, high] by tanh.
  
      Args:
          x (chainer.Variable): value to bound
          low (numpy.ndarray): lower bound
          high (numpy.ndarray): upper bound
      Returns: chainer.Variable
      """
      assert isinstance(x, chainer.Variable)
      assert low is not None
      assert high is not None
      xp = cuda.get_array_module(x.array)
      x_scale = (high - low) / 2
      x_scale = xp.expand_dims(xp.asarray(x_scale), axis=0)
      x_mean = (high + low) / 2
      x_mean = xp.expand_dims(xp.asarray(x_mean), axis=0)
      return F.tanh(x) * x_scale + x_mean
  
label_desc: Use image node_id 1 for calling a global function with example usage: bound_by_tanh(x, low, high) and returns: unknown