code: def _make_builder_configs():
      """Construct a list of BuilderConfigs.
  
      Construct a list of 95 Imagenet2012CorruptedConfig objects, corresponding to
      the 15 + 4 corruption types, with each type having 5 severities.
  
      Returns:
        A list of 95 Imagenet2012CorruptedConfig objects.
      """
      config_list = []
      for each_corruption in BENCHMARK_CORRUPTIONS + EXTRA_CORRUPTIONS:
          for each_severity in range(1, 6):
              name_str = each_corruption + "_" + str(each_severity)
              description_str = (
                  "corruption type = "
                  + each_corruption
                  + ", severity = "
              )
              description_str += str(each_severity)
              config_list.append(
                  Imagenet2012CorruptedConfig(
                      name=name_str,
                      version=_VERSION,
                      release_notes=_RELEASE_NOTES,
                      description=description_str,
                      corruption_type=each_corruption,
                      severity=each_severity,
                  )
              )
      return config_list
  
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 for calling a global function with example usage: _make_builder_configs() and returns: config_list