class_docstr: DatasetBuilder for the ProteinNet dataset.
class_docstr_tok: ["DatasetBuilder","for","the","ProteinNet","dataset","."]
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, filename: str) -> _ExampleIterator:
      """Yields examples."""
      with tf.io.gfile.GFile(filename, mode="r") as fin:
          while True:
              example = _read_entry(fin)
              if example is None:
                  break
              yield example
  
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 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(filename) without return types