code: def _pct(val):
      return "N/A" if val is None else f"{val:.2%}"
  
file_path: doctr/scripts/evaluate.py
imports: import os
  import numpy
  from tqdm import tqdm
  from doctr import datasets
  from doctr.file_utils import is_tf_available
  from doctr.models import ocr_predictor
  from doctr.utils.geometry import extract_crops, extract_rcrops
  from doctr.utils.metrics import LocalizationConfusion, OCRMetric, TextMatch
label_desc: Use image node_id 1 for calling a global function with example usage: _pct(val) and returns: unknown