class_docstr: Starcraft video datasets.
class_docstr_tok: ["Starcraft","video","datasets","."]
code: def _split_generators(self, dl_manager):
      url = DATA_URL_DIR + "%s_%dx%d_png/" % (
          self.builder_config.map_name,
          self.builder_config.resolution,
          self.builder_config.resolution,
      )
  
      urls_to_download = {
          "train_%d" % i: url + "train-0000%d-of-00010.tfrecords" % i
          for i in range(10)
      }
      urls_to_download["valid"] = url + "valid-00000-of-00001.tfrecords"
      urls_to_download["test"] = url + "test-00000-of-00001.tfrecords"
  
      downloaded_urls = dl_manager.download_and_extract(
          urls_to_download
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "files": [
                      download
                      for name, download in downloaded_urls.items()
                      if "train" in name
                  ]
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={"files": [downloaded_urls["test"]]},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={"files": [downloaded_urls["valid"]]},
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/starcraft_video/starcraft_video_dataset_builder.py
imports: from __future__ import annotations
  import os
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 2 for calling the Builder obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list