code: def tanh_rescale(x, x_min=-1.0, x_max=1.0):
      return (torch.tanh(x)) * 0.5 * (x_max - x_min) + (
          x_max + x_min
      ) * 0.5
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import torch
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 8 for calling a global function with example usage: tanh_rescale(x, x_min, x_max) and returns: unknown