class_docstr: DatasetBuilder for the ProteinNet dataset.
class_docstr_tok: ["DatasetBuilder","for","the","ProteinNet","dataset","."]
docstr: Returns the dataset metadata.
docstr_tok: ["Returns","the","dataset","metadata","."]
code: def _info(self) -> tfds.core.DatasetInfo:
      """Returns the dataset metadata."""
      return self.dataset_info_from_configs(
          features=tfds.features.FeaturesDict(
              {
                  "id": tfds.features.Text(),
                  "primary": tfds.features.Sequence(
                      tfds.features.ClassLabel(names=self.AMINOACIDS)
                  ),
                  "evolutionary": tfds.features.Tensor(
                      shape=(None, 21), dtype=np.float32
                  ),
                  "tertiary": tfds.features.Tensor(
                      shape=(None, 3), dtype=np.float32
                  ),
                  "mask": tfds.features.Tensor(
                      shape=(None,), dtype=np.bool_
                  ),
                  "length": tfds.features.Tensor(
                      shape=(), dtype=np.int32
                  ),
              }
          ),
          supervised_keys=("primary", "tertiary"),
          homepage=_PROTEINNET_HOMEPAGE,
      )
  
file_path: datasets/tensorflow_datasets/datasets/protein_net/protein_net_dataset_builder.py
imports: from __future__ import annotations
  import os
  from typing import Dict, Iterator, List, Optional, Sequence, Tuple, Union
  import urllib
  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 Builder obj's underlying member method code with example usage: obj._info() and returns: self