code: def segment_min(
      data: ragged_tensor.RaggedOrDense,
      segment_ids: ragged_tensor.RaggedOrDense,
      num_segments,
      name=None,
  ):
      # For docs, see: _RAGGED_SEGMENT_DOCSTRING
      return _ragged_segment_aggregate(
          math_ops.unsorted_segment_min,
          data=data,
          segment_ids=segment_ids,
          num_segments=num_segments,
          name=(name or "RaggedSegmentMin"),
      )
  
imports: import functools
  import typing
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import check_ops
  from tensorflow.python.ops import gen_ragged_math_ops
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops.ragged import ragged_functional_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.ops.ragged import segment_id_ops
  from tensorflow.python.util import dispatch
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 6 for calling a global function with example usage: segment_min(data, segment_ids, num_segments, name) and returns: _ragged_segment_aggregate