class_docstr: Long-tailed version of the ImageNet2012 dataset.
class_docstr_tok: ["Long-tailed","version","of","the","ImageNet2012","dataset","."]
docstr: Define the dataset info.
docstr_tok: ["Define","the","dataset","info","."]
code: def _info(self):
      """Define the dataset info."""
      names_file = imagenet_common.label_names_file()
      return self.dataset_info_from_configs(
          features=tfds.features.FeaturesDict(
              {
                  "image": tfds.features.Image(),
                  "label": tfds.features.ClassLabel(
                      names_file=names_file
                  ),
                  "file_name": tfds.features.Text(),  # Eg: 'n15075141_54.JPEG'
              }
          ),
          supervised_keys=("image", "label"),
          homepage="https://github.com/zhmiao/OpenLongTailRecognition-OLTR",
      )
  
file_path: datasets/tensorflow_datasets/datasets/imagenet_lt/imagenet_lt_dataset_builder.py
imports: import io
  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 for calling the Builder obj's underlying member method code with example usage: obj._info() and returns: self