class_docstr: Cassava leaf image dataset.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      path = dl_manager.download_and_extract(_BASE_URL)
      train_path = os.path.join(path, "cassavaleafdata/train")
      test_path = os.path.join(path, "cassavaleafdata/test")
      validation_path = os.path.join(path, "cassavaleafdata/validation")
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={"datapath": train_path},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={"datapath": test_path},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={"datapath": validation_path},
          ),
      ]
  
file_path: datasets/tensorflow_datasets/image_classification/cassava.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 Cassava obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list