class_docstr: Base class for testing TFRecord-based features.
code: def _verify_records(
      self,
      batch_size,
      file_index=None,
      num_epochs=1,
      label_key_provided=False,
      interleave_cycle_length=1,
  ):
      if file_index is not None:
          file_indices = [file_index]
      else:
          file_indices = range(self._num_files)
  
      for expected_batch in self._next_expected_batch(
          file_indices,
          batch_size,
          num_epochs,
          cycle_length=interleave_cycle_length,
      ):
          actual_batch = self._next_actual_batch(
              label_key_provided=label_key_provided
          )
          for i in range(len(expected_batch)):
              self.assertAllEqual(expected_batch[i], actual_batch[i])
  
imports: import os
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
  from tensorflow.python.data.experimental.ops import readers
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import dtypes
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import parsing_ops
  from tensorflow.python.util import compat
label_desc: Use image node_id 11 for calling the FeaturesTestBase obj's underlying member method code with example usage: obj._verify_records(batch_size, file_index, num_epochs, label_key_provided, interleave_cycle_length) without return types