code: def preprocess_example(example, dtype=tf.float32):
      """Preprocesses the given image.
  
      Args:
        example: dict; Example that has an 'image' and a 'label'.
        dtype: Tensorflow data type; Data type of the image.
  
      Returns:
        A preprocessed image `Tensor`.
      """
      image = dataset_utils.normalize(example["image"], dtype)
      return {"inputs": image, "label": example["label"]}
  
file_path: scenic/scenic/dataset_lib/mnist_dataset.py
imports: import functools
  from typing import Optional
  from absl import logging
  import jax.numpy
  from scenic.dataset_lib import dataset_utils
  from scenic.dataset_lib import datasets
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: preprocess_example(example, dtype) and returns: dict