class_docstr: Visual Domain Decathlon Datasets.
code: def _split_generators(self, dl_manager):
      if self.builder_config.name == "imagenet12":
          devkit_path, images_archive = dl_manager.download_and_extract(
              [
                  _URL_PREFIX_VGG + "decathlon-1.0-devkit.tar.gz",
                  tfds.download.Resource(
                      url=_URL_PREFIX_IMAGENET
                      + "decathlon-1.0-data-imagenet.tar",
                      extract_method=tfds.download.ExtractMethod.NO_EXTRACT,
                  ),
              ]
          )
      else:
          devkit_path, data_path = dl_manager.download_and_extract(
              [
                  _URL_PREFIX_VGG + "decathlon-1.0-devkit.tar.gz",
                  _URL_PREFIX_VGG + "decathlon-1.0-data.tar.gz",
              ]
          )
          images_archive = os.path.join(
              data_path, self.builder_config.name + ".tar"
          )
      annotations_path = os.path.join(
          devkit_path, "decathlon-1.0", "annotations"
      )
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs=dict(
                  images_archive=images_archive,
                  annotations_path=annotations_path,
                  split="train",
              ),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs=dict(
                  images_archive=images_archive,
                  annotations_path=annotations_path,
                  split="test",
              ),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs=dict(
                  images_archive=images_archive,
                  annotations_path=annotations_path,
                  split="val",
              ),
          ),
      ]
  
file_path: datasets/tensorflow_datasets/image_classification/visual_domain_decathlon.py
imports: import json
  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 VisualDomainDecathlon obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list