class_docstr: DatasetBuilder for RefCoco datasets.
class_docstr_tok: ["DatasetBuilder","for","RefCoco","datasets","."]
code: def _split_generators(self, dl_manager):
      allowed_splits = {
          ("refcoco", "google"): [
              tfds.Split.TRAIN,
              tfds.Split.VALIDATION,
              tfds.Split.TEST,
          ],
          ("refcoco", "unc"): [
              tfds.Split.TRAIN,
              tfds.Split.VALIDATION,
              "testA",
              "testB",
          ],
          ("refcocoplus", "unc"): [
              tfds.Split.TRAIN,
              tfds.Split.VALIDATION,
              "testA",
              "testB",
          ],
          ("refcocog", "google"): [
              tfds.Split.TRAIN,
              tfds.Split.VALIDATION,
          ],
          ("refcocog", "umd"): [
              tfds.Split.TRAIN,
              tfds.Split.VALIDATION,
              tfds.Split.TEST,
          ],
      }
      bc = self.builder_config
      splits = allowed_splits[(bc.dataset, bc.dataset_partition)]
  
      return {
          split: self._generate_examples(
              bc.dataset, bc.dataset_partition, split, dl_manager
          )
          for split in splits
      }
  
file_path: datasets/tensorflow_datasets/datasets/ref_coco/ref_coco_dataset_builder.py
imports: from __future__ import annotations
  import collections
  import json
  import operator
  import numpy
  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: unknown