code: def test(directory):
      """tf.data.Dataset object for MNIST test data."""
      return dataset(
          directory, "t10k-images-idx3-ubyte", "t10k-labels-idx1-ubyte"
      )
  
file_path: tensorflow-upstream/tensorflow/lite/tutorials/dataset.py
imports: import gzip
  import os
  import shutil
  import tempfile
  import urllib
  import numpy
  import tensorflow
label_desc: Use image node_id 7 for calling a global function with example usage: test(directory) and returns: dataset