code: def unsorted_segment_min(
      data: np.ndarray,
      segment_ids: np.ndarray,
      num_segments: int,
  ) -> np.ndarray:
      ivy.utils.assertions.check_unsorted_segment_valid_params(
          data, segment_ids, num_segments
      )
  
      if data.dtype in [np.float32, np.float64]:
          init_val = np.finfo(data.dtype).max
      elif data.dtype in [
          np.int32,
          np.int64,
          np.int8,
          np.int16,
          np.uint8,
      ]:
          init_val = np.iinfo(data.dtype).max
      else:
          raise TypeError("Unsupported data type")
  
      res = np.full(
          (num_segments,) + data.shape[1:], init_val, dtype=data.dtype
      )
  
      for i in range(num_segments):
          mask_index = segment_ids == i
          if np.any(mask_index):
              res[i] = np.min(data[mask_index], axis=0)
  
      return res
  
file_path: ivy/ivy/functional/backends/numpy/experimental/creation.py
imports: from typing import Optional, Tuple, Sequence, Union
  import numpy
  import ivy
label_desc: Use image node_id 6 for calling a global function with example usage: unsorted_segment_min(data, segment_ids, num_segments) and returns: res