code: def build_feature_desc(header):
      """Build feature_desc dictionary for the tensors in the dataset. This will be used to reconstruct Examples
      from the tfrecords file.
  
      Assumes FixedLenFeatures.
      If you got VarLenFeatures I feel bad for you son,
      I got 115 problems but a VarLenFeature ain't one."""
      feature_desc = {}
      for key, params in header.items():
          feature_desc[key] = tf.io.FixedLenFeature(
              shape=params["shape"],
              dtype=base_type(int(params["dtype"])),
          )
  
      return feature_desc
  
file_path: io/tensorflow_io/python/experimental/serial_ops.py
imports: import functools
  import os
  import tempfile
  import numpy
  import tensorflow
label_desc: Use image node_id 7 for calling a global function with example usage: build_feature_desc(header) and returns: feature_desc