class_docstr: DatasetBuilder for gref dataset.
docstr: Returns the dataset metadata.
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      return tfds.core.DatasetInfo(
          builder=self,
          # Description and homepage used for documentation
          description=_DESCRIPTION,
          homepage="https://github.com/mjhucla/Google_Refexp_toolbox",
          features=tfds.features.FeaturesDict(
              {
                  "image": tfds.features.Image(encoding_format="jpeg"),
                  "image/id": np.int64,
                  "objects": tfds.features.Sequence(
                      {
                          "id": np.int64,
                          "area": np.int64,
                          "bbox": tfds.features.BBoxFeature(),
                          "label": np.int64,
                          "label_name": tfds.features.ClassLabel(
                              num_classes=80
                          ),
                          "refexp": tfds.features.Sequence(
                              {
                                  "refexp_id": np.int64,
                                  "tokens": tfds.features.Sequence(
                                      tfds.features.Text()
                                  ),
                                  "referent": tfds.features.Text(),
                                  "raw": tfds.features.Text(),
                              }
                          ),
                      }
                  ),
              }
          ),
          # If there's a common `(input, target)` tuple from the features,
          # specify them here. They'll be used if as_supervised=True in
          # builder.as_dataset.
          supervised_keys=None,
          # Bibtex citation for the dataset
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/vision_language/gref/gref.py
imports: from __future__ import annotations
  import collections
  import json
  import numpy
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Gref obj's underlying member method code with example usage: obj._info() and returns: tfds