class_docstr: Configuration specifying the variant to use.
class_docstr_tok: ["Configuration","specifying","the","variant","to","use","."]
docstr: The parameters specifying how the dataset will be processed.
  
  The dataset comes in three different variants. Please refer to the paper
  on more details how they were collected.
  
  Args:
    variant: One of 'matched-frequency', 'threshold-0.7', or 'topimages'.
    **kwargs: Passed on to the constructor of `BuilderConfig`.
docstr_tok: ["The","parameters","specifying","how","the","dataset","will","be","processed",".","The","dataset","comes","in","three","different","variants",".","Please","refer","to","the","paper","on","more","details","how","they","were","collected",".","Args",":","variant",":","One","of","'matched-frequency","'",",","'threshold-0.7","'",",","or","'topimages","'",".","*","*","kwargs",":","Passed","on","to","the","constructor","of","`","BuilderConfig","`","."]
code: def __init__(self, *, variant, **kwargs):
      """The parameters specifying how the dataset will be processed.
  
      The dataset comes in three different variants. Please refer to the paper
      on more details how they were collected.
  
      Args:
        variant: One of 'matched-frequency', 'threshold-0.7', or 'topimages'.
        **kwargs: Passed on to the constructor of `BuilderConfig`.
      """
      super(ImagenetV2Config, self).__init__(**kwargs)
      if variant not in _IMAGENET_V2_URLS:
          raise ValueError(
              "Unknown split number {}, must be one of {}".format(
                  variant, list(_IMAGENET_V2_URLS)
              )
          )
      self.variant = variant
  
file_path: datasets/tensorflow_datasets/datasets/imagenet_v2/imagenet_v2_dataset_builder.py
imports: import os
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.datasets.imagenet2012 import imagenet_common
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new ImagenetV2Config object from inherited base classes: tfds.core with example: obj = ImagenetV2Config()