code: def get_bounds(tune_params):
      
      bounds = []
      for values in tune_params.values():
          sorted_values = numpy.sort(values)
          bounds.append((sorted_values[0], sorted_values[-1]))
      return bounds
docs: create a bounds array from the tunable parameters