class_docstr: DatasetBuilder for istella dataset.
class_docstr_tok: ["DatasetBuilder","for","istella","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
      path = dl_manager.download_and_extract(
          _URLS[self.builder_config.name]
      )
  
      # For some dataset configs, the data is in a subdirectory.
      if self.builder_config.subdirectory is not None:
          path = path / self.builder_config.subdirectory
  
      splits = {
          "train": self._generate_examples(path / "train.txt"),
          "test": self._generate_examples(path / "test.txt"),
      }
  
      # For some dataset configs, there is an additional validation split.
      if self.builder_config.has_vali:
          splits["vali"] = self._generate_examples(path / "vali.txt")
  
      return splits
  
file_path: datasets/tensorflow_datasets/ranking/istella/istella.py
imports: import dataclasses
  from typing import Optional
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
  from tensorflow_datasets.ranking.libsvm_ranking_parser import LibSVMRankingParser
label_desc: Use image node_id 2 for calling the Istella obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: splits