class_docstr: DatasetBuilder for davis dataset.
class_docstr_tok: ["DatasetBuilder","for","davis","dataset","."]
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(
      self, dl_manager: tfds.download.DownloadManager
  ):
      """Returns SplitGenerators."""
  
      if self.builder_config.full_resolution:
          trainval_data = dl_manager.download_and_extract(
              _URL + "DAVIS-2017-trainval-Full-Resolution.zip"
          )
      else:
          trainval_data = dl_manager.download_and_extract(
              _URL + "DAVIS-2017-trainval-480p.zip"
          )
  
      train_files = trainval_data / "DAVIS/ImageSets/2017/train.txt"
      val_files = trainval_data / "DAVIS/ImageSets/2017/val.txt"
  
      return {
          tfds.Split.TRAIN: self._generate_examples(train_files),
          tfds.Split.VALIDATION: self._generate_examples(val_files),
      }
  
file_path: datasets/tensorflow_datasets/video/davis/davis.py
imports: from __future__ import annotations
  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 Davis obj's underlying member method code with example usage: obj._split_generators(dl_manager) and returns: dict