class_docstr: DeepWeeds Image Dataset Class.
docstr: Define Splits.
docstr_tok: ["Define","Splits","."]
code: def _split_generators(self, dl_manager):
      """Define Splits."""
      paths = dl_manager.download_and_extract(
          {"image": _URL, "label": _URL_LABELS}
      )
  
      return [
          tfds.core.SplitGenerator(
              name="train",
              gen_kwargs={
                  "data_dir_path": paths["image"],
                  "label_path": paths["label"],
              },
          ),
      ]
  
file_path: datasets/tensorflow_datasets/image_classification/deep_weeds.py
imports: import csv
  import os
  from etils import epath
  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 DeepWeeds obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: list