class_docstr: DatasetBuilder for robomimic datasets.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      # Machine generated datasets have an additional variant as they are trained
      # using dense rather than sparse rewards. We currently are only interested
      # in the sparse rewards, for consistency with the other datasets.
      ext = self.DATASET_FILE_EXTENSION
      filepath = (
          "http://downloads.cs.stanford.edu/downloads/rt_benchmark/"
          f"{self.builder_config.task}/{self.builder_config.dataset}/"
          f"{self.builder_config.filename}{ext}.hdf5"
      )
      path = dl_manager.download_and_extract({"file_path": filepath})
      return {
          "train": self._generate_examples(path),
      }
  
imports: import dataclasses
  import enum
  from typing import Any, Dict, List, Mapping
  from etils import epath
  import h5py
  import numpy
  import tensorflow_datasets.public_api
  import tree
label_desc: Use image node_id 4 for calling the RobomimicBuilder obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict