code: def clip_tanh(x, clip_min, clip_max):
      return ((tf.tanh(x) + 1) / 2) * (clip_max - clip_min) + clip_min
  
file_path: cleverhans/cleverhans/tf2/attacks/carlini_wagner_l2.py
imports: import numpy
  import tensorflow
  from cleverhans.tf2.utils import get_or_guess_labels, set_with_mask
label_desc: Use image node_id 4 for calling a global function with example usage: clip_tanh(x, clip_min, clip_max) and returns: unknown