iter_files

tfsnippet.utils.iter_files(root_dir, sep='/')

Iterate through all files in root_dir, returning the relative paths of each file. The sub-directories will not be yielded. :param root_dir: The root directory, from which to iterate. :type root_dir: str :param sep: The separator for the relative paths. :type sep: str

Yields:str – The relative paths of each file.