class_docstr: Food-101 Images dataset.
docstr: Define Dataset Info.
docstr_tok: ["Define","Dataset","Info","."]
code: def _info(self):
      """Define Dataset Info."""
  
      names_file = tfds.core.tfds_path(_LABELS_FNAME)
      features_dict = {
          "image": tfds.features.Image(),
          "label": tfds.features.ClassLabel(names_file=names_file),
      }
      if self.version > "2.0.0":
          features_dict["id"] = tfds.features.Text()
      return tfds.core.DatasetInfo(
          builder=self,
          description=(_DESCRIPTION),
          features=tfds.features.FeaturesDict(features_dict),
          supervised_keys=("image", "label"),
          homepage="https://data.vision.ee.ethz.ch/cvl/datasets_extra/food-101/",
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/image_classification/food101.py
imports: import json
  import os
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Food101 obj's underlying member method code with example usage: obj._info() and returns: tfds