question: how to use pl to process tfrecords data?
context: how to use LightningDataModule  to process tfrecords data, anyone can give a Tutorial
answer: Depends on what data you have inside TFRecord, but you can see usage:
  https://github.com/vahidk/tfrecord#reading-tfexample-records-in-pytorch
  def train_dataloader():
      # index_path = None
      # tfrecord_path = "/tmp/data.tfrecord"
      # description = {"image": "byte", "label": "float"}
      dataset = TFRecordDataset(tfrecord_path, index_path, description)
      loader = torch.utils.data.DataLoader(dataset, batch_size=32)
      return loader
  also check how to work with dataset - https://discuss.pytorch.org/t/read-dataset-from-tfrecord-format/16409/15