class_docstr: BuilderConfig for Imagenet2012Corrupted.
class_docstr_tok: ["BuilderConfig","for","Imagenet2012Corrupted","."]
docstr: BuilderConfig for Imagenet2012Corrupted.
  
  Args:
    corruption_type: string, must be one of the items in BENCHMARK_CORRUPTIONS
      + EXTRA_CORRUPTIONS.
    severity: integer, bewteen 1 and 5.
    **kwargs: keyword arguments forwarded to super.
docstr_tok: ["BuilderConfig","for","Imagenet2012Corrupted",".","Args",":","corruption_type",":","string",",","must","be","one","of","the","items","in","BENCHMARK_CORRUPTIONS","+","EXTRA_CORRUPTIONS",".","severity",":","integer",",","bewteen","1","and","5",".","*","*","kwargs",":","keyword","arguments","forwarded","to","super","."]
code: def __init__(self, *, corruption_type=None, severity=1, **kwargs):
      """BuilderConfig for Imagenet2012Corrupted.
  
      Args:
        corruption_type: string, must be one of the items in BENCHMARK_CORRUPTIONS
          + EXTRA_CORRUPTIONS.
        severity: integer, bewteen 1 and 5.
        **kwargs: keyword arguments forwarded to super.
      """
      super(Imagenet2012CorruptedConfig, self).__init__(**kwargs)
      self.corruption_type = corruption_type
      self.severity = severity
  
file_path: datasets/tensorflow_datasets/datasets/imagenet2012_corrupted/imagenet2012_corrupted_dataset_builder.py
imports: from absl import logging
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  from tensorflow_datasets.datasets.imagenet2012 import imagenet2012_dataset_builder
  from tensorflow_datasets.datasets.imagenet2012 import imagenet_common
  from tensorflow_datasets.image_classification import corruptions
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 to create a new Imagenet2012CorruptedConfig object from inherited base classes: tfds.core with example: obj = Imagenet2012CorruptedConfig()