class_docstr: The audio part of SAVEE dataset for emotion recognition.
docstr: Returns SplitGenerators.
docstr_tok: ["Returns","SplitGenerators","."]
code: def _split_generators(self, dl_manager):
      """Returns SplitGenerators."""
      zip_path = os.path.join(dl_manager.manual_dir, "AudioData.zip")
      if not tf.io.gfile.exists(zip_path):
          raise AssertionError(
              "SAVEE requires manual download of the data. Please download "
              "the audio data and place it into: {}".format(zip_path)
          )
      # Need to extract instead of reading directly from archive since reading
      # audio files from zip archive is not supported.
      extract_path = dl_manager.extract(zip_path)
  
      items_and_groups = []
      for fname in tf.io.gfile.glob(
          "{}/AudioData/*/*.wav".format(extract_path)
      ):
          folder, _ = os.path.split(fname)
          _, speaker_id = os.path.split(folder)
          items_and_groups.append((fname, speaker_id))
  
      split_probs = [("train", 0.6), ("validation", 0.2), ("test", 0.2)]
      splits = _get_inter_splits_by_group(
          items_and_groups, split_probs, 0
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={"file_names": splits["train"]},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.VALIDATION,
              gen_kwargs={"file_names": splits["validation"]},
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={"file_names": splits["test"]},
          ),
      ]
  
file_path: datasets/tensorflow_datasets/datasets/savee/savee_dataset_builder.py
imports: from __future__ import annotations
  import collections
  import os
  import re
  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