src/transformers/models/tapas/modeling_tf_tapas.py/reduce_min
def reduce_min(values, index, name="segmented_reduce_min"):
    """Computes the minimum over segments."""
    return _segment_reduce(values, index, tf.math.unsorted_segment_min, name)