class_docstr: Corrupted ImageNet2012 dataset.
class_docstr_tok: ["Corrupted","ImageNet2012","dataset","."]
docstr: Basic information of the dataset.
  
  Returns:
    tfds.core.DatasetInfo.
docstr_tok: ["Basic","information","of","the","dataset",".","Returns",":","tfds.core.DatasetInfo","."]
code: def _info(self):
      """Basic information of the dataset.
  
      Returns:
        tfds.core.DatasetInfo.
      """
      names_file = imagenet_common.label_names_file()
      return self.dataset_info_from_configs(
          features=tfds.features.FeaturesDict(
              {
                  "image": tfds.features.Image(
                      shape=(_IMAGE_SIZE, _IMAGE_SIZE, 3),
                      encoding_format="jpeg",
                  ),
                  "label": tfds.features.ClassLabel(
                      names_file=names_file
                  ),
                  "file_name": tfds.features.Text(),  # Eg: 'n15075141_54.JPEG'
              }
          ),
          supervised_keys=("image", "label"),
          homepage="https://openreview.net/forum?id=HJz6tiCqYm",
      )
  
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 the Builder obj's underlying member method code with example usage: obj._info() and returns: self