code: def get_token_targets_with_confidence(
      hyp: Hypothesis,
  ) -> List[Tuple[str, float]]:
      return [
          (y, c) for y, c in zip(hyp.y_sequence, hyp.token_confidence)
      ]
  
file_path: NeMo/nemo/collections/asr/parts/utils/asr_confidence_benchmarking_utils.py
imports: import contextlib
  import copy
  import os
  from pathlib import Path
  from typing import List, Optional, Tuple, Union
  import numpy
  import texterrors
  import torch
  from omegaconf import open_dict
  from nemo.collections.asr.models import ASRModel, EncDecRNNTModel
  from nemo.collections.asr.parts.utils.confidence_metrics import auc_nt, auc_pr, auc_roc, auc_yc, ece, nce, save_confidence_hist, save_custom_confidence_curve, save_nt_curve, save_pr_curve, save_roc_curve
  from nemo.collections.asr.parts.utils.rnnt_utils import Hypothesis
label_desc: Use image node_id 2 for calling a global function with example usage: get_token_targets_with_confidence(hyp) and returns: unknown