code: def testTFRecordDatasetIgnoreError(self):
      filenames = []
      for i in range(5):
          fn = os.path.join(self.get_temp_dir(), "tf_record.%d.txt" % i)
          filenames.append(fn)
          writer = python_io.TFRecordWriter(fn)
          for _ in range(10):
              writer.write(b"record")
          writer.close()
          # Append corrupted data
          with open(fn, "a") as f:
              f.write("corrupted data")
  
      dataset = readers.TFRecordDataset(filenames).ignore_errors()
      get_next = self.getNext(dataset)
  
      # All of the files are present.
      for _ in filenames:
          for _ in range(10):
              self.assertEqual(b"record", self.evaluate(get_next()))
      with self.assertRaises(errors.OutOfRangeError):
          self.evaluate(get_next())
  
imports: import os
  import sys
  from absl.testing import parameterized
  import numpy
  from tensorflow.python.data.kernel_tests import checkpoint_test_base
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.data.ops import readers
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import python_io
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import test
  from tensorflow.python.util import compat
label_desc: Use image node_id 5 for calling the IgnoreErrorsTest obj's underlying member method code with example usage: obj.testTFRecordDatasetIgnoreError() without return types