class_docstr: Dmlab dataset.
docstr: Parses single video from the input tfrecords.
  
  Args:
    example_proto: tfExample proto with a single video.
  
  Returns:
    dict with all frames, positions and actions.
code: def _parse_single_image(self, example_proto):
      """Parses single video from the input tfrecords.
  
      Args:
        example_proto: tfExample proto with a single video.
  
      Returns:
        dict with all frames, positions and actions.
      """
  
      feature_map = {
          "image": tf.io.FixedLenFeature(shape=[], dtype=tf.string),
          "filename": tf.io.FixedLenFeature(shape=[], dtype=tf.string),
          "label": tf.io.FixedLenFeature(shape=[], dtype=tf.int64),
      }
  
      parse_single = tf.io.parse_single_example(
          example_proto, feature_map
      )
  
      return parse_single
  
file_path: datasets/tensorflow_datasets/image_classification/dmlab.py
imports: from __future__ import annotations
  import io
  import os
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Dmlab obj's underlying member method code with example usage: obj._parse_single_image(example_proto) and returns: parse_single