def _evaluate_objective_multiple(objective_function, arg_batch,
                                 batch_evaluate_objective):
  """
  """
  n_points = tf.shape(input=arg_batch)[0]
  if batch_evaluate_objective:
    return objective_function(arg_batch), n_points
  return tf.map_fn(objective_function, arg_batch), n_points