class_docstr: Imagewang contains Imagenette and Imagewoof combined.
docstr: Returns SplitGenerators.
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      size = self.builder_config.size
      if size in _SIZES:
          size_str = "" if size == "full-size" else "-" + size[:-2]
          url = "/".join([_URL_PREFIX, "imagewang%s.tgz" % size_str])
          path = dl_manager.download_and_extract(url)
          train_path = os.path.join(
              path, _SIZE_TO_DIRNAME[size], "train"
          )
          val_path = os.path.join(path, _SIZE_TO_DIRNAME[size], "val")
      else:
          raise ValueError("size must be one of %s" % _SIZES)
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "datapath": train_path,
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={
                  "datapath": val_path,
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/imagewang/imagewang_dataset_builder.py
imports: 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