code: def _get_preprocessing_fn_non_asset_table(asset_file):
      del asset_file
  
      def preprocessing_fn(inputs):
          initializer = tf.lookup.KeyValueTensorInitializer(
              keys=["foo", "bar", "baz"],
              values=tf.cast(tf.range(3), tf.int64),
              key_dtype=tf.string,
              value_dtype=tf.int64,
          )
          table = tf.lookup.StaticHashTable(
              initializer, default_value=12
          )
          return {
              "output": table.lookup(inputs["input"]),
          }
  
      return preprocessing_fn
  
imports: import os
  import shutil
  import tempfile
  import numpy
  import tensorflow
  from tensorflow_transform import graph_context
  from tensorflow_transform import impl_helper
  from tensorflow_transform import tf_utils
  from tensorflow_transform import test_case
  from tensorflow_transform.py_func.api import apply_pyfunc
  from tensorflow_transform.saved import constants
  from tensorflow_transform.saved import saved_transform_io
  from tensorflow_transform.saved import saved_transform_io_v2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.ops import script_ops
label_desc: Use image node_id 2 for calling a global function with example usage: _get_preprocessing_fn_non_asset_table(asset_file) and returns: preprocessing_fn, dict