class_docstr: Base class for generator of stats proto from TF data.
class_docstr_tok: ["Base","class","for","generator","of","stats","proto","from","TF","data","."]
docstr: Extracts TFRecord examples into a dictionary of feature values.
  
  Args:
    path: The path to the TFRecord file(s).
    max_entries: The maximum number of examples to load.
    is_sequence: True if the input data from 'path' are tf.SequenceExamples,
         False if tf.Examples. Defaults to false.
    iterator_options: Options to pass to the iterator that reads the examples.
        Defaults to None.
  
  Returns:
    A tuple with two elements:
        - A dictionary of all features parsed thus far and arrays of their
          values.
        - The number of examples parsed.
docstr_tok: ["Extracts","TFRecord","examples","into","a","dictionary","of","feature","values",".","Args",":","path",":","The","path","to","the","TFRecord","file","(","s",")",".","max_entries",":","The","maximum","number","of","examples","to","load",".","is_sequence",":","True","if","the","input","data","from","'path","'","are","tf.SequenceExamples",",","False","if","tf.Examples",".","Defaults","to","false",".","iterator_options",":","Options","to","pass","to","the","iterator","that","reads","the","examples",".","Defaults","to","None",".","Returns",":","A","tuple","with","two","elements",":","-","A","dictionary","of","all","features","parsed","thus","far","and","arrays","of","their","values",".","-","The","number","of","examples","parsed","."]
code: def _GetTfRecordEntries(
      self, path, max_entries, is_sequence, iterator_options
  ):
      """Extracts TFRecord examples into a dictionary of feature values.
  
      Args:
        path: The path to the TFRecord file(s).
        max_entries: The maximum number of examples to load.
        is_sequence: True if the input data from 'path' are tf.SequenceExamples,
             False if tf.Examples. Defaults to false.
        iterator_options: Options to pass to the iterator that reads the examples.
            Defaults to None.
  
      Returns:
        A tuple with two elements:
            - A dictionary of all features parsed thus far and arrays of their
              values.
            - The number of examples parsed.
      """
      return self._GetEntries(
          [path],
          max_entries,
          partial(
              tf.compat.v1.io.tf_record_iterator,
              options=iterator_options,
          ),
          is_sequence,
      )
  
file_path: facets/facets_overview/python/base_feature_statistics_generator.py
imports: from functools import partial
  import warnings
  from base_generic_feature_statistics_generator import BaseGenericFeatureStatisticsGenerator
  import tensorflow
label_desc: Use image node_id 5 for calling the BaseFeatureStatisticsGenerator obj's underlying member method code with example usage: obj._GetTfRecordEntries(path, max_entries, is_sequence, iterator_options) and returns: self