code: def logits_to_pred_results_list(logits):
      """Convert logits to preds
      :param logits: np.ndarray (batch_size, 2, seq_len)
      :return: List[squad_utils.SquadResult]
      """
      return [
          squad_utils.SquadResult(
              unique_id=1000000000 + i,
              start_logits=logits[i, 0],
              end_logits=logits[i, 1],
          )
          for i in range(logits.shape[0])
      ]
  
imports: import json
  import numpy
  import torch
  from dataclasses import dataclass
  from typing import Union, List, Dict, Optional
  from transformers.models.bert.tokenization_bert import whitespace_tokenize
  from transformers.tokenization_utils_base import TruncationStrategy
  from jiant.tasks.lib.templates.squad_style import utils
  from jiant.shared.constants import PHASE
  from jiant.tasks.core import BaseExample, BaseDataRow, BatchMixin, Task, TaskTypes
  from jiant.utils.python.datastructures import ExtendedDataClassMixin
  from jiant.utils.display import maybe_tqdm
  import logging
label_desc: Use image node_id 6 for calling a global function with example usage: logits_to_pred_results_list(logits) and returns: unknown