code: def read_tfrecords(path: str) -> Dataset:
      return ray.data.read_tfrecords(paths=path).materialize()
  
file_path: ray/release/nightly_tests/dataset/read_tfrecords_benchmark.py
imports: import random
  import shutil
  import tempfile
  from typing import List, Tuple
  import ray
  from ray.data.dataset import Dataset
  from benchmark import Benchmark
  from read_images_benchmark import generate_images
  import pyarrow
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: read_tfrecords(path) and returns: ray