class_docstr: Downsampled Imagenet dataset.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
  
      train_url = _DL_URL + "train_" + self.builder_config.name + ".tar"
      valid_url = _DL_URL + "valid_" + self.builder_config.name + ".tar"
  
      train_path, valid_path = dl_manager.download(
          [
              train_url,
              valid_url,
          ]
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "archive": dl_manager.iter_archive(train_path),
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "archive": dl_manager.iter_archive(valid_path),
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/downsampled_imagenet/downsampled_imagenet_dataset_builder.py
imports: 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