code: def _two_phases_preprocessing_fn(inputs):
      x = inputs["x"]
      x_mean = analyzers.mean(x)
      x_square_deviations = tf.square(x - x_mean)
      x_var = analyzers.mean(
          x_square_deviations + analyzers.mean(inputs["y"])
      )
      x_normalized = (x - x_mean) / tf.sqrt(x_var)
      return {
          "x_normalized": x_normalized,
          "s_id": mappers.compute_and_apply_vocabulary(inputs["s"]),
      }
  
file_path: transform/tensorflow_transform/inspect_preprocessing_fn_test.py
imports: import tensorflow
  from tensorflow_transform import analyzers
  from tensorflow_transform import inspect_preprocessing_fn
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 7 for calling a global function with example usage: _two_phases_preprocessing_fn(inputs) and returns: dict