class_docstr: Dataset from the INaturalist Competition 2017.
code: def _split_generators(self, dl_manager):
      output_files = dl_manager.download_and_extract(
          {
              "trainval_images": tfds.download.Resource(
                  url=urllib.parse.urljoin(
                      _URL, "train_val_images.tar.gz"
                  ),
                  extract_method=tfds.download.ExtractMethod.NO_EXTRACT,
              ),
              "trainval_annos": urllib.parse.urljoin(
                  _URL, "train_val2017.zip"
              ),
              "test_images": tfds.download.Resource(
                  url=urllib.parse.urljoin(_URL, "test2017.tar.gz"),
                  extract_method=tfds.download.ExtractMethod.NO_EXTRACT,
              ),
          }
      )
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs=dict(
                  images_archive=dl_manager.iter_archive(
                      output_files["trainval_images"]
                  ),
                  annon_file=os.path.join(
                      output_files["trainval_annos"], "train2017.json"
                  ),
              ),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs=dict(
                  images_archive=dl_manager.iter_archive(
                      output_files["trainval_images"]
                  ),
                  annon_file=os.path.join(
                      output_files["trainval_annos"], "val2017.json"
                  ),
              ),
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs=dict(
                  images_archive=dl_manager.iter_archive(
                      output_files["test_images"]
                  ),
                  annon_file=None,
              ),
          ),
      ]
  
file_path: datasets/tensorflow_datasets/image_classification/inaturalist.py
imports: import json
  import os
  import six.moves.urllib
  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 INaturalist2017 obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list