class_docstr: LFW Builder class.
docstr: Returns all images within path as tuples (label, path).
docstr_tok: ["Returns","all","images","within","path","as","tuples","(","label",",","path",")","."]
code: def path_maker(self, path):
      """Returns all images within path as tuples (label, path)."""
      path_list = []
      dir_list = tf.io.gfile.listdir(path)
      for directory in dir_list:
          img_dir_path = os.path.join(path, directory)
          if tf.io.gfile.isdir(img_dir_path):
              img_list = tf.io.gfile.listdir(img_dir_path)
              for img in img_list:
                  img_path = os.path.join(img_dir_path, img)
                  path_list.append([directory, img_path])
      return path_list
  
file_path: datasets/tensorflow_datasets/datasets/lfw/lfw_dataset_builder.py
imports: import os
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 4 for calling the Builder obj's underlying member method code with example usage: obj.path_maker(path) and returns: path_list