code: def rename(d, f, t):
      d[t] = d[f]
      del d[f]
  
file_path: calamari/calamari_ocr/ocr/savedmodel/migrations/version3_4to5.py
imports: import logging
  import os
  from tensorflow import keras
  from tfaip.util.tfaipargparse import post_init
  from calamari_ocr.ocr.scenario import CalamariScenario
  from calamari_ocr.ocr.training.params import TrainerParams
label_desc: Use image node_id 2 for calling a global function with example usage: rename(d, f, t) without return types