code: def parse_tfrecord_tf(record):
      features = tf.parse_single_example(
          record,
          features={
              "shape": tf.FixedLenFeature([3], tf.int64),
              "data": tf.FixedLenFeature([], tf.string),
          },
      )
      data = tf.decode_raw(features["data"], tf.uint8)
      return tf.reshape(data, features["shape"])
  
file_path: insightface/reconstruction/ostec/external/stylegan2/training/dataset.py
imports: import os
  import glob
  import numpy
  import tensorflow
  import dnnlib
  import dnnlib.tflib
label_desc: Use image node_id 8 for calling the TFRecordDataset obj's underlying member method code with example usage: obj.parse_tfrecord_tf(record) and returns: tf