code: def sample_clamp(x, clip_min, clip_max):
      new_x = torch.maximum(x, clip_min)
      new_x = torch.minimum(new_x, clip_max)
      return new_x
  
file_path: advertorch/advertorch/attacks/blackbox/utils.py
imports: from math import inf
  from operator import mul
  from functools import reduce
  import numpy
  import torch
  from advertorch.utils import batch_clamp
label_desc: Use image node_id 4 for calling a global function with example usage: sample_clamp(x, clip_min, clip_max) and returns: new_x