class_docstr: DatasetBuilder for iNaturalist 2021 Competition dataset.
docstr: Returns the dataset metadata.
docstr_tok: ["Returns","the","dataset","metadata","."]
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      return tfds.core.DatasetInfo(
          builder=self,
          description=_DESCRIPTION,
          features=tfds.features.FeaturesDict(
              {
                  "id": tfds.features.Scalar(dtype=np.int64),
                  "file_id": tfds.features.Text(),
                  "image": tfds.features.Image(shape=(None, None, 3)),
                  "label": tfds.features.ClassLabel(
                      names_file=tfds.core.tfds_path(
                          os.path.join(
                              "image_classification",
                              "i_naturalist2021",
                              "i_naturalist2021_labels_ordered_by_json_id.txt",
                          )
                      )
                  ),
                  "supercategory": tfds.features.ClassLabel(
                      names_file=tfds.core.tfds_path(
                          os.path.join(
                              "image_classification",
                              "i_naturalist2021",
                              "i_naturalist2021_supercategories.txt",
                          )
                      )
                  ),
              }
          ),
          supervised_keys=("image", "label"),
          homepage=_HOMEPAGE,
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/image_classification/i_naturalist2021/i_naturalist2021.py
imports: import json
  import os
  from etils import epath
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the INaturalist2021 obj's underlying member method code with example usage: obj._info() and returns: tfds