class_docstr: Reddit TIFU Dataset.
docstr: Returns SplitGenerators.
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      if self.builder_config.name == "long_split":
          paths = dl_manager.download_and_extract(
              {"data": _URL, "split": _LONG_SPLIT}
          )
          dl_path = paths["data"]
          split_path = paths["split"]
          return [
              tfds.core.SplitGenerator(
                  name=tfds.Split.TRAIN,
                  gen_kwargs={
                      "path": dl_path,
                      "split_path": split_path,
                      "split": "train",
                  },
              ),
              tfds.core.SplitGenerator(
                  name=tfds.Split.TEST,
                  gen_kwargs={
                      "path": dl_path,
                      "split_path": split_path,
                      "split": "test",
                  },
              ),
              tfds.core.SplitGenerator(
                  name=tfds.Split.VALIDATION,
                  gen_kwargs={
                      "path": dl_path,
                      "split_path": split_path,
                      "split": "validation",
                  },
              ),
          ]
      else:
          dl_path = dl_manager.download_and_extract(_URL)
          return [
              tfds.core.SplitGenerator(
                  name=tfds.Split.TRAIN,
                  gen_kwargs={"path": dl_path},
              )
          ]
  
file_path: datasets/tensorflow_datasets/datasets/reddit_tifu/reddit_tifu_dataset_builder.py
imports: import json
  import numpy
  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, list