code: def read_tfrecord(format, path, *args, **kwargs):
      """
      Read TFRecords files
  
      Args:
      format: String. Support "imagenet" format.
      path: String. TFRecords files path.
  
      """
      supported_format = {"imagenet"}
      if format not in supported_format:
          raise ValueError(
              format + " is not supported, should be 'imagenet'. "
          )
  
      format_to_function = {
          "imagenet": (read_imagenet, ["is_training"])
      }
      func, required_args = format_to_function[format]
      _check_arguments(format, kwargs, required_args)
      return func(path=path, *args, **kwargs)
  
file_path: analytics-zoo/pyzoo/zoo/orca/data/image/tfrecord_dataset.py
imports: import os
  import tensorflow
  from zoo.orca.data.image.imagenet_dataset import *
  from zoo.orca.data.image.parquet_dataset import _check_arguments
label_desc: Use image node_id 5 for calling a global function with example usage: read_tfrecord(format, path) and returns: func