code: def attr_readers(root_path):
      """Returns an iterator that yields (dir, reader) tuples.
  
      `reader` is an instance of AttrReader that can be used to read
      logged attributes in dir.
      """
      _ensure_tb_logging_patched()
      for subdir_path in _tfevent_subdirs(root_path):
          yield subdir_path, AttrReader(subdir_path)
  
imports: import glob
  import hashlib
  import logging
  import os
  from guild import tensorboard_util
label_desc: Use image node_id 17 for calling a global function with example usage: attr_readers(root_path) without return types