docstr: Just a bunch of read and compares of all values to the expected values for their types
  and shapes
docstr_tok: ["Just","a","bunch","of","read","and","compares","of","all","values","to","the","expected","values","for","their","types","and","shapes"]
code: def test_simple_read_tf(self):
      """Just a bunch of read and compares of all values to the expected values for their types
      and shapes"""
      reader_tensors = tf_tensors(self.reader)._asdict()
  
      for schema_field in TestSchema.fields.values():
          self.assertEqual(
              reader_tensors[schema_field.name].dtype,
              _numpy_to_tf_dtypes(schema_field.numpy_dtype),
          )
          self.assertEqual(
              len(reader_tensors[schema_field.name].shape),
              len(schema_field.shape),
          )
  
      # Read a bunch of entries from the dataset and compare the data to reference
      with tf.Session() as sess:
          for _ in range(10):
              sess.run(reader_tensors)
  
      self.reader.stop()
      self.reader.join()
  
file_path: petastorm/petastorm/tests/test_reader_mock.py
imports: import unittest
  from decimal import Decimal
  import pytest
  import tensorflow.compat.v1
  from petastorm.test_util.reader_mock import ReaderMock, schema_data_generator_example
  from petastorm.tests.test_end_to_end import TestSchema
  from petastorm.tf_utils import tf_tensors, _numpy_to_tf_dtypes
  from petastorm.tests.test_tf_utils import create_tf_graph
label_desc: Use image node_id 3 for calling the ReaderMockTest obj's underlying member method code with example usage: obj.test_simple_read_tf() without return types