code: def preprocessing_fn(inputs):
      """tf.transform's callback function for preprocessing inputs.
  
      Args:
        inputs: map from feature keys to raw not-yet-transformed features.
  
      Returns:
        Map from string feature key to transformed feature operations.
      """
      return {
          _transformed_name(_LABEL_KEY): inputs[_LABEL_KEY],
          _transformed_name(_FEATURE_KEY, True): _tokenize_review(
              inputs[_FEATURE_KEY]
          ),
      }
  
file_path: tfx/tfx/examples/imdb/imdb_utils_native_keras.py
imports: from typing import List
  import absl
  import tensorflow
  from tensorflow import keras
  import tensorflow_transform
  from tfx.components.trainer.fn_args_utils import DataAccessor
  from tfx.components.trainer.fn_args_utils import FnArgs
  from tfx_bsl.tfxio import dataset_options
label_desc: Use image node_id 3 for calling a global function with example usage: preprocessing_fn(inputs) and returns: dict