code: def multi_argmax(
      values: np.ndarray, n_instances: int = 1
  ) -> np.ndarray:
      """
      return the indices and values of the n_instances highest values.
  
      Args:
          values: Contains the values to be selected from.
          n_instances: Specifies how many indices and values to return.
      Returns:
          The indices and values of the n_instances largest values.
      """
      assert (
          n_instances <= values.shape[0]
      ), "n_instances must be less or equal than the size of utility"
  
      max_idx = np.argpartition(-values, n_instances - 1, axis=0)[
          :n_instances
      ]
  
      return max_idx, values[max_idx]
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: multi_argmax(values, n_instances) and returns: max_idx,  values