class_docstr: DatasetBuilder for davis dataset.
class_docstr_tok: ["DatasetBuilder","for","davis","dataset","."]
docstr: Returns the dataset metadata.
docstr_tok: ["Returns","the","dataset","metadata","."]
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      # NOTE: Different videos have different resolutions.
      return tfds.core.DatasetInfo(
          builder=self,
          description=_DESCRIPTION,
          features=tfds.features.FeaturesDict(
              {
                  "video": tfds.features.Sequence(
                      {
                          "frames": tfds.features.Image(
                              shape=(None, None, 3)
                          ),
                          "segmentations": tfds.features.Image(
                              shape=(None, None, 1),
                              use_colormap=True,
                          ),
                      }
                  ),
                  "metadata": {
                      "num_frames": np.int64,
                      "video_name": np.str_,
                  },
              }
          ),
          supervised_keys=None,
          homepage="https://davischallenge.org/",
          citation=_CITATION,
      )
  
file_path: datasets/tensorflow_datasets/video/davis/davis.py
imports: from __future__ import annotations
  import numpy
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling the Davis obj's underlying member method code with example usage: obj._info() and returns: tfds