class_docstr: BuilderConfig for Voc.
code: def __init__(
      self,
      year=None,
      filenames=None,
      has_test_annotations=True,
      **kwargs,
  ):
      self.year = year
      self.filenames = filenames
      self.has_test_annotations = has_test_annotations
      super(VocConfig, self).__init__(
          name=year,
          # Version history:
          # 4.0.0: Added BuildConfig and 2012 version support, deprecate Voc2007.
          # 3.0.0: S3 with new hashing function (different shuffle).
          # 2.0.0: S3 (new shuffling, sharding and slicing mechanism).
          version=tfds.core.Version("4.0.0"),
          **kwargs,
      )
  
file_path: datasets/tensorflow_datasets/object_detection/voc.py
imports: from __future__ import annotations
  import os
  import xml.etree.ElementTree
  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 VocConfig object from inherited base classes: tfds.core with example: obj = VocConfig(year, filenames, has_test_annotations)