code: def clip_image(image, clip_min, clip_max):
      """Clip an image, or an image batch, with upper and lower threshold."""
      return np.minimum(np.maximum(clip_min, image), clip_max)
  
imports: import logging
  import numpy
  import tensorflow
  from warnings import warn
  from cleverhans.attacks import Attack
  from cleverhans.model import CallableModelWrapper, Model, wrapper_warning_logits
  from cleverhans import utils, utils_tf
label_desc: Use image node_id 3 for calling a global function with example usage: clip_image(image, clip_min, clip_max) and returns: np