code: def _yield_lines_from_file(txt_file):
      with tf.io.gfile.GFile(txt_file, "rb") as f:
          for line in f:
              yield tf.compat.as_text(line)
  
imports: from __future__ import unicode_literals
  import os
  from absl.testing import parameterized
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.deprecated.text import subword_text_encoder
  from tensorflow_datasets.core.deprecated.text import text_encoder
label_desc: Use image node_id 1 for calling a global function with example usage: _yield_lines_from_file(txt_file) without return types