code: def ctc_data_transform(labels, logits, blank_index):
      """
      data transform according blank_index
      """
      logits = ctc_utils.logits_blankid_to_last(
          logits=logits, blank_index=blank_index
      )
  
      num_class = logits.shape[2]
      labels = ctc_utils.labels_blankid_to_last(
          labels=labels, blank_index=blank_index, num_class=num_class
      )
      return labels, logits
  
file_path: delta/delta/utils/loss/loss_utils.py
imports: import math
  import delta.compat
  import tensorflow_addons
  from delta import utils
  from delta.utils import ctc_utils
label_desc: Use image node_id 3 for calling a global function with example usage: ctc_data_transform(labels, logits, blank_index) and returns: labels,  logits