code: def softmin1d(
      scores: np.ndarray, temperature: float = 0.99, axis: int = 0
  ) -> float:
      """Returns softmin of passed in scores."""
      scores = np.array(scores)
      softmax_scores = softmax(
          x=-1 * scores, temperature=temperature, axis=axis, shift=True
      )
      return np.dot(softmax_scores, scores)
  
imports: from typing import Any, Dict, List, Optional
  import numpy
  from cleanlab.internal.numerics import softmax
label_desc: Use image node_id 2 for calling a global function with example usage: softmin1d(scores, temperature, axis) and returns: np