class_docstr: A GenomicsReader that reads protocol buffers from a TFRecord file.
  
  Example usage:
    reader = TFRecordReader('/tmp/my_file.tfrecords.gz',
                            proto=tensorflow.Example)
    for example in reader:
      process(example)
  
  Note that TFRecord files do not have headers, and do not need
  to be wrapped in a "with" block.
class_docstr_tok: ["A","GenomicsReader","that","reads","protocol","buffers","from","a","TFRecord","file",".","Example","usage",":","reader","=","TFRecordReader","(","'\/tmp\/my_file.tfrecords.gz","'",",","proto=tensorflow.Example",")","for","example","in","reader",":","process","(","example",")","Note","that","TFRecord","files","do","not","have","headers",",","and","do","not","need","to","be","wrapped","in","a","``","with","''","block","."]
docstr: Returns an iterator for going through the records in the region.
  
  NOTE: This function is not currently implemented by TFRecordReader as the
  TFRecord format does not provide a general mechanism for fast random access
  to elements in genome order.
docstr_tok: ["Returns","an","iterator","for","going","through","the","records","in","the","region",".","NOTE",":","This","function","is","not","currently","implemented","by","TFRecordReader","as","the","TFRecord","format","does","not","provide","a","general","mechanism","for","fast","random","access","to","elements","in","genome","order","."]
code: def query(self, region):
      """Returns an iterator for going through the records in the region.
  
      NOTE: This function is not currently implemented by TFRecordReader as the
      TFRecord format does not provide a general mechanism for fast random access
      to elements in genome order.
      """
      raise NotImplementedError("Can not query TFRecord file")
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import errno
  from absl import logging
  import six
  from third_party.nucleus.io.python import tfrecord_reader
label_desc: Use image node_id 3 for calling the TFRecordReader obj's underlying member method code with example usage: obj.query(region) without return types