code: def _create_lookup_table_from_file(filename):
      initializer = tf.lookup.TextFileInitializer(
          filename,
          key_dtype=tf.string,
          key_index=tf.lookup.TextFileIndex.WHOLE_LINE,
          value_dtype=tf.int64,
          value_index=tf.lookup.TextFileIndex.LINE_NUMBER,
      )
      return tf.lookup.StaticHashTable(initializer, default_value=-1)
  
imports: import abc
  import os
  import tempfile
  import tensorflow
  from tensorflow_transform import graph_tools
  from tensorflow_transform import test_case
  from tfx_bsl.types import tfx_namedtuple
  from tensorflow.python.ops import control_flow_ops
label_desc: Use image node_id 1 for calling a global function with example usage: _create_lookup_table_from_file(filename) and returns: tf