code: def clip(value, type=None):
      try:
          info = np.iinfo(type)
          return np.clip(value, info.min, info.max)
      except AttributeError:
          return value
  
file_path: DALI/dali/test/python/operator_1/test_coord_transform.py
imports: import random
  import numpy
  import nvidia.dali
  import nvidia.dali.fn
  from test_utils import check_batch, dali_type
  from sequences_test_utils import ArgData, ArgDesc, sequence_suite_helper, ArgCb
label_desc: Use image node_id 2 for calling a global function with example usage: clip(value, type) and returns: np, value