code: def convert_sat(data, out_dtype):
      clipped = data
      if not np.issubdtype(out_dtype, np.floating):
          max_range = np.iinfo(out_dtype).max
          min_range = np.iinfo(out_dtype).min
          clipped = np.clip(clipped, min_range, max_range)
          clipped = np.round(clipped)
      return clipped.astype(out_dtype)
  
file_path: DALI/dali/test/python/operator_1/test_color_twist.py
imports: import math
  import numpy
  import nvidia.dali.fn
  import nvidia.dali.types
  import random
  from nvidia.dali import pipeline_def
  from sequences_test_utils import ArgCb, video_suite_helper
  from test_utils import RandomDataIterator
label_desc: Use image node_id 3 for calling a global function with example usage: convert_sat(data, out_dtype) and returns: clipped