class_docstr: BuilderConfig for CocoConfig.
class_docstr_tok: ["BuilderConfig","for","CocoConfig","."]
code: def __init__(self, splits=None, has_panoptic=False, **kwargs):
      super(CocoConfig, self).__init__(
          version=tfds.core.Version("1.1.0"), **kwargs
      )
      self.splits = splits
      self.has_panoptic = has_panoptic
  
imports: from __future__ import annotations
  import collections
  import json
  import os
  from absl import logging
  from etils import epath
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new CocoConfig object from inherited base classes: tfds.core with example: obj = CocoConfig(splits, has_panoptic)