class_docstr: TextIOLayerHelper
code: def check(self, images, predictions):
      f = tf.data.TextLineDataset(self._filename)
      lines = list(f)
      assert np.all(lines[5] == predictions[5].rstrip())
  
      assert len(lines) == len(images)
  
file_path: io/tests/test_io_layer.py
imports: import os
  import sys
  import time
  import tempfile
  import pytest
  import numpy
  import tensorflow
  import tensorflow_io
label_desc: Use image node_id 2 for calling the TextIOLayerHelper obj's underlying member method code with example usage: obj.check(images, predictions) without return types