class_docstr: DatasetBuilder for domainnet dataset.
docstr: Returns SplitGenerators.
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      img_download_url = (
          f"{self._BASE_URL}/{self.builder_config.img_url}"
      )
      self.img_path = dl_manager.download_and_extract(img_download_url)
  
      domain = self.builder_config.name
      train_split_url = (
          f"{self._BASE_URL}/domainnet/txt/{domain}_train.txt"
      )
      test_split_url = (
          f"{self._BASE_URL}/domainnet/txt/{domain}_test.txt"
      )
  
      self.splits = dl_manager.download(
          {"train": train_split_url, "test": test_split_url}
      )
  
      return {
          "train": self._generate_examples(split="train"),
          "test": self._generate_examples(split="test"),
      }
  
file_path: datasets/tensorflow_datasets/image_classification/domainnet/domainnet.py
imports: import dataclasses
  import os
  from typing import Any, Dict, Iterator, Optional, Text, Tuple
  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 Domainnet obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict