code: def _tfevent_subdirs(dir):
      for root, dirs, files in os.walk(dir, followlinks=True):
          _del_non_run_linked_dirs(dirs, root)
          if any(_is_event_file(name) for name in files):
              yield root
  
imports: import glob
  import hashlib
  import logging
  import os
  from guild import tensorboard_util
label_desc: Use image node_id 6 for calling a global function with example usage: _tfevent_subdirs(dir) without return types