code: def tokenize_label(label, maxlen, label_vocab_file_path, pad_id):
      """Tokenize labels"""
      vocabs = read_lines_from_text_file(label_vocab_file_path)
      label_id, _ = py_x_ops.sentence_to_ids(
          label,
          maxlen=maxlen,
          use_vocab_file=False,
          vocab=vocabs,
          load_token_ids_from_vocab=True,
          pad_id=pad_id,
          check_tokens=False,
      )
      return label_id
  
file_path: delta/delta/data/preprocess/text_ops.py
imports: import delta.compat
  from absl import logging
  from delta import utils
  from core.ops import py_x_ops
  from delta.data.utils import read_lines_from_text_file
label_desc: Use image node_id 1 for calling a global function with example usage: tokenize_label(label, maxlen, label_vocab_file_path, pad_id) and returns: label_id