class_docstr: Curated Breast Imaging Subset of DDSM.
class_docstr_tok: ["Curated","Breast","Imaging","Subset","of","DDSM","."]
code: def _split_generators_original(self, dl_manager):
      if self.builder_config.name == "original-calc":
          test_url = _CALC_TEST_CSV_URL
          train_url = _CALC_TRAIN_CSV_URL
      elif self.builder_config.name == "original-mass":
          test_url = _MASS_TEST_CSV_URL
          train_url = _MASS_TRAIN_CSV_URL
      else:
          raise ValueError(
              "Builder config named {} not supported!".format(
                  self.builder_config.name
              )
          )
  
      resources = {"test": test_url, "train": train_url}
      resource_paths = dl_manager.download_and_extract(resources)
      patients_data = _load_csv_files(
          dl_manager.manual_dir, resource_paths
      )
  
      return [
          tfds.core.SplitGenerator(
              name=tfds.Split.TRAIN,
              gen_kwargs={
                  "generate_fn": self._generate_examples_original,
                  "patients_data": patients_data,
                  "yield_from_train_csv": True,  # Yield train examples.
              },
          ),
          tfds.core.SplitGenerator(
              name=tfds.Split.TEST,
              gen_kwargs={
                  "generate_fn": self._generate_examples_original,
                  "patients_data": patients_data,
                  "yield_from_train_csv": False,  # Yield test examples.
              },
          ),
      ]
  
imports: import csv
  import os
  import re
  from absl import logging
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 7 for calling the CuratedBreastImagingDDSM obj's underlying member method code with example usage: obj._split_generators_original(dl_manager) and returns: list